summaryrefslogtreecommitdiff
path: root/media-plugins/caps-plugins
diff options
context:
space:
mode:
Diffstat (limited to 'media-plugins/caps-plugins')
-rw-r--r--media-plugins/caps-plugins/Manifest14
-rw-r--r--media-plugins/caps-plugins/caps-plugins-0.4.5-r1.ebuild42
-rw-r--r--media-plugins/caps-plugins/caps-plugins-0.4.5-r2.ebuild48
-rw-r--r--media-plugins/caps-plugins/caps-plugins-0.9.15-r1.ebuild51
-rw-r--r--media-plugins/caps-plugins/caps-plugins-0.9.15.ebuild48
-rw-r--r--media-plugins/caps-plugins/caps-plugins-0.9.24.ebuild48
-rw-r--r--media-plugins/caps-plugins/files/caps-plugins-0.4.5-double-free-corruption.patch16
-rw-r--r--media-plugins/caps-plugins/files/caps-plugins-0.9.15-fix-c++14.patch23
-rw-r--r--media-plugins/caps-plugins/metadata.xml9
9 files changed, 299 insertions, 0 deletions
diff --git a/media-plugins/caps-plugins/Manifest b/media-plugins/caps-plugins/Manifest
new file mode 100644
index 000000000000..98bb64721173
--- /dev/null
+++ b/media-plugins/caps-plugins/Manifest
@@ -0,0 +1,14 @@
+AUX caps-plugins-0.4.5-double-free-corruption.patch 434 SHA256 9fb2a58a414bab875bd277bdfd8a9624934d5e1528e515736ad0fc6e3cb3d24c SHA512 5984966a52278c6bfc892824bbac8d1946d1eb92e76ab136a11ee14d074fdfb7260b71367400e7fd016fdc645a2cb02d16564d40081990799b1dfb83c8e35bf1 WHIRLPOOL aae156bf579550e09e0039431f052baf19565c3588ad6101e59933f927d1bb286a44b9298865e6451e26c660ae7ca8e6ce25d301414f7d1928456837bc9be637
+AUX caps-plugins-0.9.15-fix-c++14.patch 629 SHA256 5e71875dd8976efede46a3e0aa08ccf14a25a838454e1ae2473c4eed7c5937ac SHA512 f99ca7fb9244e0050b70df06103eda150a44d0e2a605642482afbbbfa3a2c06ea435a0289d08e533c27bb4be215b627e93566aa7b1d28d78b0d108aa42b5efc1 WHIRLPOOL f02d8a57d6cb3f880ac9c4f98de77f56850d3b724d79bbb528d8de1a03fc88a1431f803a1d8a761122f7e9c2905ecbbcffdc2b7097f584155928d2145d1d22b9
+DIST caps-doc_0.9.15.tar.bz2 795374 SHA256 7d6b471ef039de7d09df07c0692c3d17298e34a2a3b54325d2971526368c72fb SHA512 5fa72b6b057ceefda0695df9cf2e1866a4635bb757ed6e184fa3548f54eb0dc3a0ef3f65808819550e326f557d0de5614940c2f700d00a8ffa8d364026781f65 WHIRLPOOL ff3ef07e297fa86b8f17c5c88e7864b627612788055b0262be1b4e57232002e10d9be2a045cb4ba12fb0c07858aef84e9f549843cfaa3063f630c9232338043f
+DIST caps_0.4.5.tar.gz 790187 SHA256 cba5a7785ab5b1c596250fded999215906bc7eda7c8a688f677de15698e31616 SHA512 5ceaa43e40f3a5d746abc847b8c8e4a2aafe1569b3d370b32b09a64ac52e642b172cc6b944b495b902e5c2a81c538f3406e08124475a80cc143c6e33ee960f15 WHIRLPOOL c219010c7c28508ab5c5606742131369ba8c115f17775f61bdea4ccc06ba015014fb871bb3abc4b9896f3ca61f7345d0b829fde87be53772a2fe9d7dc62a8280
+DIST caps_0.9.15.tar.bz2 683218 SHA256 a4f0cd12bf4d8605adc94b1dfb23e38989c05bdbc71702f1cf3afd0928157995 SHA512 91984a80cd3e750fb995f9d7f7d4ea44cdfce1a6b49944ed4eb5c3ddbdf9abf87dfd3005ba5a94686d2320bea603f4faf177201e15e0eeafb6a0284f0cb368ae WHIRLPOOL 09afcc03aa1107aae82b22143fa228f93cc5087a4de3ce291c3ebf58ce13624954a74ac8c4ee7acc41aa136067c53da491265b4d19f540746122363f331201d1
+DIST caps_0.9.24.tar.bz2 181200 SHA256 f746feba57af316b159f0169de5d78b4fd1064c2c0c8017cb5856b2f22e83f20 SHA512 051d59c50302e45cec011a573385665e96b3bb0b6f0328e6b1e4f8fa26515d5cb4c2cc8230ea5bd242b1b8f62c86545997da2ab995e953a89d8de715807fc20d WHIRLPOOL af0fbf7acec322c5fa6ec498c8b35f04bab3453e0de24126c730c6cea47bd632aebe16b67ab93005c13ce039ec1a26a3219c977af797bbfc167b889e0ab5fcb8
+EBUILD caps-plugins-0.4.5-r1.ebuild 837 SHA256 26e2e5d9d22d5686e818543df37de2aef079f20b02f4867a8dc6ff578b0606fe SHA512 a50f909df71346a36298b7a7e66f820d31c0009e0141b30c5fd7536c0966922cb577dc35cd0787af7744ba12cb43f94b23ca3a7250db414b7558b6f10ddfd5b1 WHIRLPOOL a387571c05bd49e36f40ab04af22b8e3c2ac74534b5d808f25190bfc59aa38a13eda5122647ade009b6527677cfa6a68fe516c3fed1dea8cc40b76595a800421
+EBUILD caps-plugins-0.4.5-r2.ebuild 1069 SHA256 97093fb9db73ae22ecceb8f9e1688fa97bca7f5afd7a460fc5885a5464aa657c SHA512 b17487b286abfac6148641f3aee5027fdbf8a12da578afca197a8e913dfd44de5d1d9440219c242ca1e4044f7b1b4f3d5ee061ed6ee2bb2b7757f8957f27534e WHIRLPOOL d0fe4e15760c348a71d2cb07ba89fd8756da6753523dea6e84436da6a92e32a4c81d95edef179c31cfcc4d9b4f6512e4c7bf739e16bfc715d4af0702f5397ec8
+EBUILD caps-plugins-0.9.15-r1.ebuild 1011 SHA256 fb93935b49f425fbc6d21ebbb02cc22ff91cce4183a660651f5df2f88b27730e SHA512 0771427f4e46f3f207ecc9de30d93ffe268d3525e674f03a20c1ad203bf981145499b8256ec25fb482d8c052e7217b85d7be470d7569bb1bac91c20fa795834e WHIRLPOOL 704df55bc91e29d0690799caae29440aab3e4e0e6b83460871ecf039e07e624d356ff9e8adba9dade99d05a0e3e201e041b1d663ab36973d8edf6c22e06116ef
+EBUILD caps-plugins-0.9.15.ebuild 1097 SHA256 b7addc3faa94dda071d1ba6b0c44772ef85bb4f334f3fb85e539ac3711ec0219 SHA512 d93dd029180ee3356b45898051c9635014b9dfc831bfb37cb3922fbd1fe42e01fa696edfea9bfb54628f1251cd2f511b18739640df3d4d7c5518e62d3d7a0a22 WHIRLPOOL efea8fa6c5d646bbf78ab5886e6447e8c8eed1756d7cf127c5a700612d84673f9fc2218c71b21c3ede360ce1ea907b957c82ce204be3d26c412d2f6d16c22eef
+EBUILD caps-plugins-0.9.24.ebuild 884 SHA256 77ea3ace39c1f4726bf7d68a93d4daaf5628b6649f372cabfefffda64938ac36 SHA512 b75c4e5ce2559776dd4b644ebad51972b0acf326c484be7f41cd3e74f7f983694a21a1312cef19dfea2d0cdcbf04f6f641c1bc3f751d6881e2cbd3ecd6f8d349 WHIRLPOOL 6a78a1dea1184ce6777f8db0cd6768520502bf662ceb76de84120c42046702ecf3f460ec896dfcbeeedbf82f31418e8d66ac896e2389e6aff329eeb06360c79b
+MISC ChangeLog 3005 SHA256 e9e021d39136280a8c231ea11a72408dda1519016a062ab205c59f0da902b448 SHA512 3fa1019421d20f7c6d23d05c2818cc3aba0e0efd9fb474e73efac9f07deb5d8073e3f4dc3b06e1ecef234099d6268ecab7044cef87ce62cec5e1e5372f937eec WHIRLPOOL a23c931732829c4d915dee60b923fcc4b66c6d31e18e1ee5fab0320ff7eeb4a0bca80d9d109b0d24ff6eff0c4e4885e6ae9068b7029002cf7d885d4fa95a2829
+MISC ChangeLog-2015 5955 SHA256 cf0989428f0b86cd958ba5147d6e2dd75e6e89a02cef21ce02a9b9139949bffb SHA512 3ac9a2409a40b605b314691fd1e4a70f0671e8acad703068b96630e4cb713bb78283d76ae0cad035097db17a0f33a10ff3138df0fcee5096c38a693d7ab7d4e5 WHIRLPOOL 91bb0112fa9cdda70da34e8184e80cc532516602233622648fb7ef922e9893f4c9bf226c453e7a8a0ef2f3cfd94a3369b8c1dc5306e21917506267a518b4342f
+MISC metadata.xml 513 SHA256 6531be9c3989aa7cc81d689008bcf3903375a83348eb1b7ecbd3b3c3d0221a0f SHA512 d528c2eaf9dc0a9a243ed3ec6ceb80a1ce72f4d5f144c2b7c9917d3a84914e896926bdf2c443ae113ccec7c83f37e4c8b284db9af48962f82b7b67f0a95b272e WHIRLPOOL b96d39b0fc7fa61924e9ed087a6a061946d687f21186c1120c664803ef4ad20eb4076d4f46f2e1de94acf392cd03baf995efc188d3c1404e902908951c9874ae
diff --git a/media-plugins/caps-plugins/caps-plugins-0.4.5-r1.ebuild b/media-plugins/caps-plugins/caps-plugins-0.4.5-r1.ebuild
new file mode 100644
index 000000000000..6a1805fdbcb5
--- /dev/null
+++ b/media-plugins/caps-plugins/caps-plugins-0.4.5-r1.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=4
+
+inherit eutils toolchain-funcs multilib
+
+IUSE=""
+MY_P=caps-${PV}
+
+DESCRIPTION="The CAPS Audio Plugin Suite - LADSPA plugin suite"
+HOMEPAGE="http://quitte.de/dsp/caps.html"
+SRC_URI="http://quitte.de/dsp/caps_${PV}.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 x86"
+
+DEPEND="media-libs/ladspa-sdk"
+RDEPEND=""
+
+S="${WORKDIR}/${MY_P}"
+
+src_prepare() {
+ epatch "${FILESDIR}/${P}-double-free-corruption.patch"
+}
+
+src_compile() {
+ emake CFLAGS="${CXXFLAGS} -fPIC -DPIC" _LDFLAGS="-nostartfiles -shared ${LDFLAGS}" CC="$(tc-getCXX)" || die
+}
+
+src_install() {
+ dodoc README CHANGES
+ dohtml caps.html
+
+ insinto /usr/$(get_libdir)/ladspa
+ insopts -m0755
+ doins *.so
+
+ insinto /usr/share/ladspa/rdf
+ insopts -m0644
+ doins *.rdf
+}
diff --git a/media-plugins/caps-plugins/caps-plugins-0.4.5-r2.ebuild b/media-plugins/caps-plugins/caps-plugins-0.4.5-r2.ebuild
new file mode 100644
index 000000000000..de6dfbd6242c
--- /dev/null
+++ b/media-plugins/caps-plugins/caps-plugins-0.4.5-r2.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit eutils toolchain-funcs multilib multilib-minimal
+
+IUSE=""
+MY_P=caps-${PV}
+
+DESCRIPTION="The CAPS Audio Plugin Suite - LADSPA plugin suite"
+HOMEPAGE="http://quitte.de/dsp/caps.html"
+SRC_URI="http://quitte.de/dsp/caps_${PV}.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+DEPEND="media-libs/ladspa-sdk"
+RDEPEND="
+ abi_x86_32? ( !<=app-emulation/emul-linux-x86-soundlibs-20130224-r2
+ !app-emulation/emul-linux-x86-soundlibs[-abi_x86_32(-)] )"
+
+S="${WORKDIR}/${MY_P}"
+DOCS=( README CHANGES )
+
+src_prepare() {
+ epatch "${FILESDIR}/${P}-double-free-corruption.patch"
+ multilib_copy_sources
+}
+
+multilib_src_compile() {
+ emake CFLAGS="${CXXFLAGS} -fPIC -DPIC" _LDFLAGS="-nostartfiles -shared ${LDFLAGS}" CC="$(tc-getCXX)"
+}
+
+multilib_src_install() {
+ dohtml caps.html
+
+ insinto /usr/$(get_libdir)/ladspa
+ insopts -m0755
+ doins *.so
+}
+
+multilib_src_install_all() {
+ einstalldocs
+ insinto /usr/share/ladspa/rdf
+ insopts -m0644
+ doins *.rdf
+}
diff --git a/media-plugins/caps-plugins/caps-plugins-0.9.15-r1.ebuild b/media-plugins/caps-plugins/caps-plugins-0.9.15-r1.ebuild
new file mode 100644
index 000000000000..64f40121bb4c
--- /dev/null
+++ b/media-plugins/caps-plugins/caps-plugins-0.9.15-r1.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit toolchain-funcs multilib-minimal
+
+MY_P=caps-${PV}
+
+DESCRIPTION="The CAPS Audio Plugin Suite - LADSPA plugin suite"
+HOMEPAGE="http://quitte.de/dsp/caps.html"
+SRC_URI="http://quitte.de/dsp/caps_${PV}.tar.bz2
+ doc? ( http://quitte.de/dsp/caps-doc_${PV}.tar.bz2 )"
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc"
+
+DEPEND="media-libs/ladspa-sdk"
+RDEPEND=""
+
+S="${WORKDIR}/${MY_P}"
+PATCHES=( "${FILESDIR}/${PN}-0.9.15-fix-c++14.patch" )
+
+src_prepare() {
+ default
+ multilib_copy_sources
+}
+
+multilib_src_compile() {
+ emake \
+ ARCH="" \
+ CC="$(tc-getCXX)" \
+ CFLAGS="${CXXFLAGS} -fPIC -DPIC" \
+ _LDFLAGS="-shared ${LDFLAGS}"
+}
+
+multilib_src_install() {
+ insinto /usr/$(get_libdir)/ladspa
+ insopts -m0755
+ doins *.so
+}
+
+multilib_src_install_all() {
+ use doc && HTML_DOCS=( "${WORKDIR}/caps-doc-${PV}/." )
+ einstalldocs
+
+ insinto /usr/share/ladspa/rdf
+ insopts -m0644
+ doins *.rdf
+}
diff --git a/media-plugins/caps-plugins/caps-plugins-0.9.15.ebuild b/media-plugins/caps-plugins/caps-plugins-0.9.15.ebuild
new file mode 100644
index 000000000000..794811fe2fe5
--- /dev/null
+++ b/media-plugins/caps-plugins/caps-plugins-0.9.15.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit eutils toolchain-funcs multilib multilib-minimal
+
+IUSE="doc"
+MY_P=caps-${PV}
+
+DESCRIPTION="The CAPS Audio Plugin Suite - LADSPA plugin suite"
+HOMEPAGE="http://quitte.de/dsp/caps.html"
+SRC_URI="http://quitte.de/dsp/caps_${PV}.tar.bz2
+ doc? ( http://quitte.de/dsp/caps-doc_${PV}.tar.bz2 )"
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="amd64 x86"
+
+DEPEND="media-libs/ladspa-sdk"
+RDEPEND="
+ abi_x86_32? ( !<=app-emulation/emul-linux-x86-soundlibs-20130224-r2
+ !app-emulation/emul-linux-x86-soundlibs[-abi_x86_32(-)] )"
+
+S="${WORKDIR}/${MY_P}"
+DOCS=( README CHANGES )
+
+src_prepare() {
+ multilib_copy_sources
+}
+
+multilib_src_compile() {
+ emake CFLAGS="${CXXFLAGS} -fPIC -DPIC" ARCH="" _LDFLAGS="-shared ${LDFLAGS}" CC="$(tc-getCXX)"
+}
+
+multilib_src_install() {
+ insinto /usr/$(get_libdir)/ladspa
+ insopts -m0755
+ doins *.so
+}
+
+multilib_src_install_all() {
+ einstalldocs
+ insinto /usr/share/ladspa/rdf
+ insopts -m0644
+ doins *.rdf
+
+ use doc && dohtml -r "${WORKDIR}/caps-doc-${PV}/."
+}
diff --git a/media-plugins/caps-plugins/caps-plugins-0.9.24.ebuild b/media-plugins/caps-plugins/caps-plugins-0.9.24.ebuild
new file mode 100644
index 000000000000..e7d1db123cbd
--- /dev/null
+++ b/media-plugins/caps-plugins/caps-plugins-0.9.24.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit toolchain-funcs multilib-minimal
+
+MY_P=caps-${PV}
+
+DESCRIPTION="The CAPS Audio Plugin Suite - LADSPA plugin suite"
+HOMEPAGE="http://quitte.de/dsp/caps.html"
+SRC_URI="http://quitte.de/dsp/caps_${PV}.tar.bz2"
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="media-libs/ladspa-sdk"
+RDEPEND=""
+
+S="${WORKDIR}/${MY_P}"
+
+PATCHES=( "${FILESDIR}/${PN}-0.9.15-fix-c++14.patch" )
+
+src_prepare() {
+ default
+ multilib_copy_sources
+}
+
+multilib_src_compile() {
+ emake \
+ ARCH="" \
+ CC="$(tc-getCXX)" \
+ CFLAGS="${CXXFLAGS} -fPIC -DPIC" \
+ _LDFLAGS="-shared ${LDFLAGS}"
+}
+
+multilib_src_install() {
+ insinto /usr/$(get_libdir)/ladspa
+ insopts -m0755
+ doins *.so
+}
+
+multilib_src_install_all() {
+ insinto /usr/share/ladspa/rdf
+ insopts -m0644
+ doins *.rdf
+}
diff --git a/media-plugins/caps-plugins/files/caps-plugins-0.4.5-double-free-corruption.patch b/media-plugins/caps-plugins/files/caps-plugins-0.4.5-double-free-corruption.patch
new file mode 100644
index 000000000000..a85e41cd1f10
--- /dev/null
+++ b/media-plugins/caps-plugins/files/caps-plugins-0.4.5-double-free-corruption.patch
@@ -0,0 +1,16 @@
+https://bugs.gentoo.org/show_bug.cgi?id=418241
+
+--- interface.cc.orig 2012-08-11 07:35:45.723235289 -0300
++++ interface.cc 2012-08-11 07:36:46.656565620 -0300
+@@ -128,8 +128,10 @@
+ __attribute__ ((destructor))
+ void _fini()
+ {
+- for (ulong i = 0; i < N; ++i)
++ for (ulong i = 0; i < N; ++i) {
+ delete descriptors[i];
++ descriptors[i] = NULL;
++ }
+ }
+
+ /* /////////////////////////////////////////////////////////////////////// */
diff --git a/media-plugins/caps-plugins/files/caps-plugins-0.9.15-fix-c++14.patch b/media-plugins/caps-plugins/files/caps-plugins-0.9.15-fix-c++14.patch
new file mode 100644
index 000000000000..32de7c4dee4e
--- /dev/null
+++ b/media-plugins/caps-plugins/files/caps-plugins-0.9.15-fix-c++14.patch
@@ -0,0 +1,23 @@
+From: Felipe Sateler <fsateler@debian.org>
+Date: Fri, 1 Jul 2016 19:06:31 -0400
+Subject: Avoid ambiguity in div invocation
+
+Be specific and use int version.
+Fixes build failure with gcc >= 6
+---
+ AutoFilter.cc | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/AutoFilter.cc b/AutoFilter.cc
+index fc087d0..bd6b12f 100644
+--- a/AutoFilter.cc
++++ b/AutoFilter.cc
+@@ -69,7 +69,7 @@ AutoFilter::activate()
+ void
+ AutoFilter::cycle (uint frames)
+ {
+- div_t qr = div (frames, blocksize);
++ div_t qr = div ((int)frames, (int)blocksize);
+ int blocks = qr.quot;
+ if (qr.rem) ++blocks;
+ double over_blocks = 1./blocks;
diff --git a/media-plugins/caps-plugins/metadata.xml b/media-plugins/caps-plugins/metadata.xml
new file mode 100644
index 000000000000..62c18413024e
--- /dev/null
+++ b/media-plugins/caps-plugins/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>proaudio@gentoo.org</email>
+ <name>Gentoo ProAudio Project</name>
+</maintainer>
+<longdescription>The CAPS Audio Plugin Suite - LADSPA plugin suite which includes DSP units emulating instrument amplifiers, stomp-box classics, versatile 'virtual analogue' oscillators, fractal oscillation, reverb, equalization and others</longdescription>
+</pkgmetadata>