From c3ec7989e69f039bf44771a5a5c54ff2756216e6 Mon Sep 17 00:00:00 2001
From: Marek Szuba <marecki@gentoo.org>
Date: Mon, 19 Jul 2021 21:22:34 +0100
Subject: media-plugins/zam-plugins: use the virtual as JACK dependency

Signed-off-by: Marek Szuba <marecki@gentoo.org>
---
 .../zam-plugins/zam-plugins-3.14-r1.ebuild         | 66 ++++++++++++++++++++++
 media-plugins/zam-plugins/zam-plugins-3.14.ebuild  | 66 ----------------------
 2 files changed, 66 insertions(+), 66 deletions(-)
 create mode 100644 media-plugins/zam-plugins/zam-plugins-3.14-r1.ebuild
 delete mode 100644 media-plugins/zam-plugins/zam-plugins-3.14.ebuild

(limited to 'media-plugins/zam-plugins')

diff --git a/media-plugins/zam-plugins/zam-plugins-3.14-r1.ebuild b/media-plugins/zam-plugins/zam-plugins-3.14-r1.ebuild
new file mode 100644
index 000000000000..1c760fe76695
--- /dev/null
+++ b/media-plugins/zam-plugins/zam-plugins-3.14-r1.ebuild
@@ -0,0 +1,66 @@
+# Copyright 2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DPF_COMMIT="9243625aacb9fb8dd9fe4bd479b227149eb37959"
+DPF_P="DPF-${DPF_COMMIT}"
+
+DESCRIPTION="Collection of LV2/LADSPA/VST/JACK audio plugins for high quality processing"
+HOMEPAGE="http://www.zamaudio.com/ https://github.com/zamaudio/zam-plugins"
+SRC_URI="https://github.com/zamaudio/${PN}/archive/refs/tags/3.14.tar.gz -> ${P}.tar.gz
+	https://github.com/DISTRHO/DPF/archive/${DPF_COMMIT}.tar.gz -> ${DPF_P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="jack opengl"
+
+DEPEND="media-libs/ladspa-sdk
+	media-libs/liblo
+	media-libs/libsamplerate
+	media-libs/libsndfile
+	media-libs/lv2
+	media-libs/zita-convolver
+	sci-libs/fftw:3.0
+	x11-libs/libX11
+	jack? ( virtual/jack )
+	opengl? (
+		media-libs/libglvnd[X]
+		x11-libs/cairo[X]
+	)"
+RDEPEND="${DEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+src_prepare() {
+	default
+
+	rm -rf dpf
+	ln -s ../${DPF_P} dpf || die "Failed to create DPF symlink"
+
+	# To make absolutely sure we do not even accidentally use bundled libs
+	rm -rf lib
+}
+
+src_compile() {
+	emake PREFIX=/usr LIBDIR=$(get_libdir) VERBOSE=true \
+		BASE_OPTS="" SKIP_STRIPPING=true \
+		HAVE_ZITA_CONVOLVER=true \
+		HAVE_CAIRO=$(usex opengl true false) \
+		HAVE_DGL=$(usex opengl true false) \
+		HAVE_OPENGL=$(usex opengl true false) \
+		UI_TYPE=$(usex opengl "opengl" "none") \
+		HAVE_JACK=$(usex jack true false)
+}
+
+src_install() {
+	emake PREFIX=/usr LIBDIR=$(get_libdir) VERBOSE=true \
+		BASE_OPTS="" SKIP_STRIPPING=true \
+		HAVE_ZITA_CONVOLVER=true \
+		HAVE_CAIRO=$(usex opengl true false) \
+		HAVE_DGL=$(usex opengl true false) \
+		HAVE_OPENGL=$(usex opengl true false) \
+		UI_TYPE=$(usex opengl "opengl" "none") \
+		HAVE_JACK=$(usex jack true false) \
+		DESTDIR="${ED}" install
+}
diff --git a/media-plugins/zam-plugins/zam-plugins-3.14.ebuild b/media-plugins/zam-plugins/zam-plugins-3.14.ebuild
deleted file mode 100644
index f3d77dcc5a73..000000000000
--- a/media-plugins/zam-plugins/zam-plugins-3.14.ebuild
+++ /dev/null
@@ -1,66 +0,0 @@
-# Copyright 2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DPF_COMMIT="9243625aacb9fb8dd9fe4bd479b227149eb37959"
-DPF_P="DPF-${DPF_COMMIT}"
-
-DESCRIPTION="Collection of LV2/LADSPA/VST/JACK audio plugins for high quality processing"
-HOMEPAGE="http://www.zamaudio.com/ https://github.com/zamaudio/zam-plugins"
-SRC_URI="https://github.com/zamaudio/${PN}/archive/refs/tags/3.14.tar.gz -> ${P}.tar.gz
-	https://github.com/DISTRHO/DPF/archive/${DPF_COMMIT}.tar.gz -> ${DPF_P}.tar.gz"
-
-LICENSE="GPL-2+"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE="jack opengl" # FIXME: +opengl
-
-DEPEND="media-libs/ladspa-sdk
-	media-libs/liblo
-	media-libs/libsamplerate
-	media-libs/libsndfile
-	media-libs/lv2
-	media-libs/zita-convolver
-	sci-libs/fftw:3.0
-	x11-libs/libX11
-	jack? ( media-sound/jack-audio-connection-kit )
-	opengl? (
-		media-libs/libglvnd[X]
-		x11-libs/cairo[X]
-	)"
-RDEPEND="${DEPEND}"
-BDEPEND="virtual/pkgconfig"
-
-src_prepare() {
-	default
-
-	rm -rf dpf
-	ln -s ../${DPF_P} dpf || die "Failed to create DPF symlink"
-
-	# To make absolutely sure we do not even accidentally use bundled libs
-	rm -rf lib
-}
-
-src_compile() {
-	emake PREFIX=/usr LIBDIR=$(get_libdir) VERBOSE=true \
-		BASE_OPTS="" SKIP_STRIPPING=true \
-		HAVE_ZITA_CONVOLVER=true \
-		HAVE_CAIRO=$(usex opengl true false) \
-		HAVE_DGL=$(usex opengl true false) \
-		HAVE_OPENGL=$(usex opengl true false) \
-		UI_TYPE=$(usex opengl "opengl" "none") \
-		HAVE_JACK=$(usex jack true false)
-}
-
-src_install() {
-	emake PREFIX=/usr LIBDIR=$(get_libdir) VERBOSE=true \
-		BASE_OPTS="" SKIP_STRIPPING=true \
-		HAVE_ZITA_CONVOLVER=true \
-		HAVE_CAIRO=$(usex opengl true false) \
-		HAVE_DGL=$(usex opengl true false) \
-		HAVE_OPENGL=$(usex opengl true false) \
-		UI_TYPE=$(usex opengl "opengl" "none") \
-		HAVE_JACK=$(usex jack true false) \
-		DESTDIR="${ED}" install
-}
-- 
cgit v1.2.3-65-gdbad