summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Szuba <marecki@gentoo.org>2021-07-18 23:34:43 +0100
committerMarek Szuba <marecki@gentoo.org>2021-07-18 23:34:54 +0100
commitc4eb1b23be0ccf393aa13984fab4c6bfd456a011 (patch)
tree1ee8a6bde15be09c99d24914d5573fac393464be /media-plugins/zam-plugins
parentmedia-sound/zam-plugins: initial import (diff)
downloadgentoo-c4eb1b23be0ccf393aa13984fab4c6bfd456a011.tar.gz
gentoo-c4eb1b23be0ccf393aa13984fab4c6bfd456a011.tar.bz2
gentoo-c4eb1b23be0ccf393aa13984fab4c6bfd456a011.zip
media-plugins/zam-plugins: rename media-sound/zam-plugins
Serious brain fart, having put it in media-sound at first. D'oh. Signed-off-by: Marek Szuba <marecki@gentoo.org>
Diffstat (limited to 'media-plugins/zam-plugins')
-rw-r--r--media-plugins/zam-plugins/Manifest2
-rw-r--r--media-plugins/zam-plugins/metadata.xml11
-rw-r--r--media-plugins/zam-plugins/zam-plugins-3.14.ebuild57
3 files changed, 70 insertions, 0 deletions
diff --git a/media-plugins/zam-plugins/Manifest b/media-plugins/zam-plugins/Manifest
new file mode 100644
index 000000000000..63bd392defad
--- /dev/null
+++ b/media-plugins/zam-plugins/Manifest
@@ -0,0 +1,2 @@
+DIST DPF-9243625aacb9fb8dd9fe4bd479b227149eb37959.tar.gz 2114589 BLAKE2B c8f2cd92b47aa55a467ce14ef2adc8f776c6ce966df680b10c3efbd35ec45fd05ad3a7dee68788701a36a032d563ce2767236397daa0757095b653ecfefcb0fa SHA512 0eab116c5b57d44dc340400340d8fc8456045bdc7e8dbeaccb80f87c7c2e1784f2b24edb8e01e3b6e23807dec86f18caf7227db2c2fd491135b283e795701fb1
+DIST zam-plugins-3.14.tar.gz 23924833 BLAKE2B cdaa13d728cd7a9f7fa2ed53b04b76988bc88d0aa719c57913fd73be778186821d316add5eeea692dabfe1ca222c2f9aaf564abc1128f69da33b8aa592255eec SHA512 30c168ee855011b2f17fcc5e440039628399ab40b69bed9af284713df6155360b38d8249b3de1616e9a2f39885cff43c9e2505868aae891fd22bc92297c1962c
diff --git a/media-plugins/zam-plugins/metadata.xml b/media-plugins/zam-plugins/metadata.xml
new file mode 100644
index 000000000000..730ac64c63b4
--- /dev/null
+++ b/media-plugins/zam-plugins/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>marecki@gentoo.org</email>
+ <name>Marek Szuba</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">zamaudio/zam-plugins</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/media-plugins/zam-plugins/zam-plugins-3.14.ebuild b/media-plugins/zam-plugins/zam-plugins-3.14.ebuild
new file mode 100644
index 000000000000..0f61c014bc55
--- /dev/null
+++ b/media-plugins/zam-plugins/zam-plugins-3.14.ebuild
@@ -0,0 +1,57 @@
+# 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] )"
+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_DGL=$(usex opengl true false) \
+ 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_DGL=$(usex opengl true false) \
+ HAVE_JACK=$(usex jack true false) \
+ DESTDIR="${ED}" install
+}