summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Szuba <marecki@gentoo.org>2023-01-24 10:13:06 +0000
committerMarek Szuba <marecki@gentoo.org>2023-01-24 11:00:40 +0000
commitbbf74ba6eec13e5367745ef57d9ea144ce6bcf34 (patch)
tree2b50f345a83934ed08071201ceacd9740027aa3a /media-plugins/zam-plugins
parentsys-fs/ddrescue: add 1.27 (diff)
downloadgentoo-bbf74ba6eec13e5367745ef57d9ea144ce6bcf34.tar.gz
gentoo-bbf74ba6eec13e5367745ef57d9ea144ce6bcf34.tar.bz2
gentoo-bbf74ba6eec13e5367745ef57d9ea144ce6bcf34.zip
media-plugins/zam-plugins: add 4.1
Signed-off-by: Marek Szuba <marecki@gentoo.org>
Diffstat (limited to 'media-plugins/zam-plugins')
-rw-r--r--media-plugins/zam-plugins/Manifest3
-rw-r--r--media-plugins/zam-plugins/zam-plugins-4.1.ebuild68
2 files changed, 71 insertions, 0 deletions
diff --git a/media-plugins/zam-plugins/Manifest b/media-plugins/zam-plugins/Manifest
index 63bd392defad..20140b5fafa4 100644
--- a/media-plugins/zam-plugins/Manifest
+++ b/media-plugins/zam-plugins/Manifest
@@ -1,2 +1,5 @@
+DIST DPF-88180608a206b529fcb660d406ddf6f934002806.tar.gz 3473209 BLAKE2B 74d237a222d2f59e437f98da456a4fb8eb29ef4337054752ac28067cf054de971e600fc141eb2d9ede1d123cbcc94665c4abe005281f427b76c27c0846e91a41 SHA512 7ea26d27bfb17fe67d2c4c4077d203b447407986594b833ee545319221c9c08fb434c1ca11ad425a8d9369df41b331c1286ddd85aabdd7a8570ab7a25b88b0e7
DIST DPF-9243625aacb9fb8dd9fe4bd479b227149eb37959.tar.gz 2114589 BLAKE2B c8f2cd92b47aa55a467ce14ef2adc8f776c6ce966df680b10c3efbd35ec45fd05ad3a7dee68788701a36a032d563ce2767236397daa0757095b653ecfefcb0fa SHA512 0eab116c5b57d44dc340400340d8fc8456045bdc7e8dbeaccb80f87c7c2e1784f2b24edb8e01e3b6e23807dec86f18caf7227db2c2fd491135b283e795701fb1
+DIST pugl-844528e197c51603f6cef3238b4a48d23bf60eb7.tar.gz 214521 BLAKE2B 2f96fd3f97f3e1c56c06e6c1c08f7d585267b1006428925eeafe5250a9f6da489d4870bd4136ab6d3951f2984d631b5495816610774cad74e07ac8ba2622c2f9 SHA512 ad2eb02099d8539dfcffdda093cf4a8dcb1c959d8c4f860bba2a9777f0bfe3d4f2471ae56d5f7be779a8402c5b446e44c2c7aa66ff07bb87787cf0bd8add6772
DIST zam-plugins-3.14.tar.gz 23924833 BLAKE2B cdaa13d728cd7a9f7fa2ed53b04b76988bc88d0aa719c57913fd73be778186821d316add5eeea692dabfe1ca222c2f9aaf564abc1128f69da33b8aa592255eec SHA512 30c168ee855011b2f17fcc5e440039628399ab40b69bed9af284713df6155360b38d8249b3de1616e9a2f39885cff43c9e2505868aae891fd22bc92297c1962c
+DIST zam-plugins-4.1.tar.gz 23926863 BLAKE2B 6f503221801a5a40bc7f4e76f6ff5eceb15bac5a5bce3b8c48233143971b9af13d6420b6ba4c1ed679136f952166fc323de7a77a7c6d30761a91e6e1d2d2b04d SHA512 53ffd7f4cebbb65fcdaae53b7d0ad922dd2b1e76479da7caa2c4100d04b5258e0aec4bbfb3b8632b4198375e6677659139abb907bfe9fc11ded772c4e14d5e14
diff --git a/media-plugins/zam-plugins/zam-plugins-4.1.ebuild b/media-plugins/zam-plugins/zam-plugins-4.1.ebuild
new file mode 100644
index 000000000000..1b2bebf452e8
--- /dev/null
+++ b/media-plugins/zam-plugins/zam-plugins-4.1.ebuild
@@ -0,0 +1,68 @@
+# Copyright 2021-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DPF_COMMIT="88180608a206b529fcb660d406ddf6f934002806"
+PUGL_COMMIT="844528e197c51603f6cef3238b4a48d23bf60eb7"
+DPF_P="DPF-${DPF_COMMIT}"
+PUGL_P="pugl-${PUGL_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/${PV}.tar.gz -> ${P}.tar.gz
+ https://github.com/DISTRHO/DPF/archive/${DPF_COMMIT}.tar.gz -> ${DPF_P}.tar.gz
+ https://github.com/DISTRHO/pugl/archive/${PUGL_COMMIT}.tar.gz -> ${PUGL_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"
+
+zam_emake() {
+ 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_prepare() {
+ default
+
+ rm -rf dpf
+ ln -s "${WORKDIR}"/${DPF_P} dpf || die "Failed to create DPF symlink"
+ rm -rf dpf/dgl/src/pugl-upstream
+ ln -s "${WORKDIR}"/${PUGL_P} dpf/dgl/src/pugl-upstream || die "Failed to create pugl symlink"
+
+ # To make absolutely sure we do not even accidentally use bundled libs
+ rm -rf lib
+}
+
+src_compile() {
+ zam_emake
+}
+
+src_install() {
+ zam_emake DESTDIR="${ED}" install
+}