summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrank van de Pol <fvdpol@gentoo.org>2004-08-15 22:44:38 +0000
committerFrank van de Pol <fvdpol@gentoo.org>2004-08-15 22:44:38 +0000
commite6da462d7bc2c7e2e05454d2068bfbda21f57f82 (patch)
tree6e0d2c44e53b67134fb5c82c40c59efef98994d0 /media-libs/ladspa-sdk
parentInitial import. (Manifest recommit) (diff)
downloadgentoo-2-e6da462d7bc2c7e2e05454d2068bfbda21f57f82.tar.gz
gentoo-2-e6da462d7bc2c7e2e05454d2068bfbda21f57f82.tar.bz2
gentoo-2-e6da462d7bc2c7e2e05454d2068bfbda21f57f82.zip
Patched to make the maketest work. Closes bug #60159.
Diffstat (limited to 'media-libs/ladspa-sdk')
-rw-r--r--media-libs/ladspa-sdk/ChangeLog8
-rw-r--r--media-libs/ladspa-sdk/Manifest11
-rw-r--r--media-libs/ladspa-sdk/files/digest-ladspa-sdk-1.12-r21
-rw-r--r--media-libs/ladspa-sdk/files/ladspa-sdk-1.12-test.patch29
-rw-r--r--media-libs/ladspa-sdk/ladspa-sdk-1.12-r2.ebuild58
5 files changed, 102 insertions, 5 deletions
diff --git a/media-libs/ladspa-sdk/ChangeLog b/media-libs/ladspa-sdk/ChangeLog
index b8de2637d6f2..3be8429703f4 100644
--- a/media-libs/ladspa-sdk/ChangeLog
+++ b/media-libs/ladspa-sdk/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-libs/ladspa-sdk
# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/ladspa-sdk/ChangeLog,v 1.17 2004/07/18 14:21:25 aliz Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/ladspa-sdk/ChangeLog,v 1.18 2004/08/15 22:44:38 fvdpol Exp $
+
+*ladspa-sdk-1.12-r2 (16 Aug 2004)
+
+ 16 Aug 2004; <frank@gentoo.org> +files/ladspa-sdk-1.12-test.patch,
+ +ladspa-sdk-1.12-r2.ebuild:
+ Patched to make the maketest work. Closes bug #60159.
*ladspa-sdk-1.12-r1 (15 Jul 2004)
diff --git a/media-libs/ladspa-sdk/Manifest b/media-libs/ladspa-sdk/Manifest
index 4cb8b74104ae..9ce05147643c 100644
--- a/media-libs/ladspa-sdk/Manifest
+++ b/media-libs/ladspa-sdk/Manifest
@@ -1,8 +1,11 @@
-MD5 3342f96f62a628923754b3c0e47b1aae ladspa-sdk-1.12.ebuild 1092
-MD5 aa9d8b1954e9b12af610336b3a518509 ladspa-sdk-1.12-r1.ebuild 1203
MD5 dce5e9cdc6cdf0e833566c00599d7773 ChangeLog 2309
-MD5 a1eaeb2ae801daeb712c90c060e922dc metadata.xml 158
MD5 f02badc426c3a2728834bae1ff9bdcc9 ladspa-sdk-1.0.ebuild 878
-MD5 cac1ad9f78c8b6a13d80cd27413990c6 files/digest-ladspa-sdk-1.12 63
+MD5 3342f96f62a628923754b3c0e47b1aae ladspa-sdk-1.12.ebuild 1092
+MD5 a1eaeb2ae801daeb712c90c060e922dc metadata.xml 158
+MD5 aa9d8b1954e9b12af610336b3a518509 ladspa-sdk-1.12-r1.ebuild 1203
+MD5 109a6c326086b050af26a19ab6632903 ladspa-sdk-1.12-r2.ebuild 1370
MD5 66e1bf2c3d8f56ee85430ef5b52bb5ee files/digest-ladspa-sdk-1.0 58
+MD5 cac1ad9f78c8b6a13d80cd27413990c6 files/digest-ladspa-sdk-1.12 63
MD5 cac1ad9f78c8b6a13d80cd27413990c6 files/digest-ladspa-sdk-1.12-r1 63
+MD5 5e4df3cc34668d1ae00d1b0df109481c files/ladspa-sdk-1.12-test.patch 1024
+MD5 cac1ad9f78c8b6a13d80cd27413990c6 files/digest-ladspa-sdk-1.12-r2 63
diff --git a/media-libs/ladspa-sdk/files/digest-ladspa-sdk-1.12-r2 b/media-libs/ladspa-sdk/files/digest-ladspa-sdk-1.12-r2
new file mode 100644
index 000000000000..7ee5f9b8c87b
--- /dev/null
+++ b/media-libs/ladspa-sdk/files/digest-ladspa-sdk-1.12-r2
@@ -0,0 +1 @@
+MD5 dbd63dd701d80b152943073c84565c14 ladspa_sdk_1.12.tgz 71165
diff --git a/media-libs/ladspa-sdk/files/ladspa-sdk-1.12-test.patch b/media-libs/ladspa-sdk/files/ladspa-sdk-1.12-test.patch
new file mode 100644
index 000000000000..a1e547ebad3a
--- /dev/null
+++ b/media-libs/ladspa-sdk/files/ladspa-sdk-1.12-test.patch
@@ -0,0 +1,29 @@
+diff -ur ladspa_sdk_orig/src/makefile ladspa_sdk/src/makefile
+--- ladspa_sdk_orig/src/makefile 2004-08-15 23:32:53.516055360 +0200
++++ ladspa_sdk/src/makefile 2004-08-15 23:35:21.579546288 +0200
+@@ -48,6 +48,7 @@
+ #
+
+ test: /tmp/test.wav ../snd/noise.wav always
++ifeq ($(shell which play), /usr/bin/play)
+ @echo ---------------------------------------------
+ @echo First listen to the white noise input signal:
+ @echo ---------------------------------------------
+@@ -57,6 +58,7 @@
+ @echo -------------------------
+ @echo Should be a noise band around 6000Hz, repeated quietly after 1s.
+ play /tmp/test.wav
++endif
+
+ install: targets
+ mkdir -p $(INSTALL_PLUGINS_DIR) \
+@@ -74,7 +74,7 @@
+ echo ; ../bin/analyseplugin -l ../plugins/sine.so ; echo
+ ../bin/analyseplugin ../plugins/amp.so
+ ../bin/analyseplugin ../plugins/noise.so
+- time ../bin/applyplugin -s 1 \
++ ../bin/applyplugin -s 1 \
+ ../snd/noise.wav /tmp/test.wav \
+ ../plugins/filter.so lpf 500 \
+ ../plugins/filter.so lpf 500 \
+
diff --git a/media-libs/ladspa-sdk/ladspa-sdk-1.12-r2.ebuild b/media-libs/ladspa-sdk/ladspa-sdk-1.12-r2.ebuild
new file mode 100644
index 000000000000..04ea69dd527b
--- /dev/null
+++ b/media-libs/ladspa-sdk/ladspa-sdk-1.12-r2.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/ladspa-sdk/ladspa-sdk-1.12-r2.ebuild,v 1.1 2004/08/15 22:44:38 fvdpol Exp $
+
+inherit eutils
+
+IUSE=""
+
+MY_PN=${PN/-/_}
+MY_P=${MY_PN}_${PV}
+S=${WORKDIR}/${MY_PN}/src
+
+DESCRIPTION="The Linux Audio Developer's Simple Plugin API and some example plugins"
+SRC_URI="http://www.ladspa.org/download/${MY_P}.tgz"
+HOMEPAGE="http://www.ladspa.org/"
+
+SLOT="0"
+LICENSE="LGPL-2.1"
+KEYWORDS="~x86 ~ppc ~sparc ~alpha ~amd64"
+
+DEPEND="virtual/libc
+ >=sys-apps/sed-4"
+
+src_unpack() {
+ unpack ${A}
+ sed -i \
+ -e "/^CFLAGS/ s:-O3:${CFLAGS}:" ${S}/makefile || \
+ die "sed makefile failed (CFLAGS)"
+ sed -i s:-mkdirhier:mkdir\ -p:g ${S}/makefile || \
+ die "sed makefile failed (mkdirhier)"
+ epatch ${FILESDIR}/${P}-test.patch
+}
+
+src_compile() {
+ emake targets || die
+}
+
+src_test() {
+ # needed for sox to allow playback of the test sounds
+ addwrite /dev/dsp
+
+ emake test || die
+}
+
+src_install() {
+ make \
+ INSTALL_PLUGINS_DIR=${D}/usr/lib/ladspa \
+ INSTALL_INCLUDE_DIR=${D}/usr/include \
+ INSTALL_BINARY_DIR=${D}/usr/bin \
+ install || die "make install failed"
+
+ cd ../doc && \
+ dohtml *.html || die "dohtml failed"
+
+ # Needed for apps like rezound
+ dodir /etc/env.d
+ echo "LADSPA_PATH=/usr/lib/ladspa" > ${D}/etc/env.d/60ladspa
+}