summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2007-11-18 15:39:54 +0000
committerAlexis Ballier <aballier@gentoo.org>2007-11-18 15:39:54 +0000
commitc1b5f6e02509a11bbadb5e2a6b82c7c30d93e90d (patch)
tree78a418994a9c156550209aa93af9e59fd880dde6 /media-libs/ladspa-sdk
parentppc stable, bug #196481 (diff)
downloadgentoo-2-c1b5f6e02509a11bbadb5e2a6b82c7c30d93e90d.tar.gz
gentoo-2-c1b5f6e02509a11bbadb5e2a6b82c7c30d93e90d.tar.bz2
gentoo-2-c1b5f6e02509a11bbadb5e2a6b82c7c30d93e90d.zip
version bump
(Portage version: 2.1.3.19)
Diffstat (limited to 'media-libs/ladspa-sdk')
-rw-r--r--media-libs/ladspa-sdk/ChangeLog7
-rw-r--r--media-libs/ladspa-sdk/files/digest-ladspa-sdk-1.133
-rw-r--r--media-libs/ladspa-sdk/ladspa-sdk-1.13.ebuild53
3 files changed, 62 insertions, 1 deletions
diff --git a/media-libs/ladspa-sdk/ChangeLog b/media-libs/ladspa-sdk/ChangeLog
index 54d592845def..5afa26c8911c 100644
--- a/media-libs/ladspa-sdk/ChangeLog
+++ b/media-libs/ladspa-sdk/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-libs/ladspa-sdk
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/ladspa-sdk/ChangeLog,v 1.35 2007/11/11 15:34:26 grobian Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/ladspa-sdk/ChangeLog,v 1.36 2007/11/18 15:39:54 aballier Exp $
+
+*ladspa-sdk-1.13 (18 Nov 2007)
+
+ 18 Nov 2007; Alexis Ballier <aballier@gentoo.org> +ladspa-sdk-1.13.ebuild:
+ version bump
11 Nov 2007; Fabian Groffen <grobian@gentoo.org>
-files/ladspa-sdk-1.12-ppc-macos.patch, ladspa-sdk-1.12-r2.ebuild:
diff --git a/media-libs/ladspa-sdk/files/digest-ladspa-sdk-1.13 b/media-libs/ladspa-sdk/files/digest-ladspa-sdk-1.13
new file mode 100644
index 000000000000..754d2f0eed99
--- /dev/null
+++ b/media-libs/ladspa-sdk/files/digest-ladspa-sdk-1.13
@@ -0,0 +1,3 @@
+MD5 671be3e1021d0722cadc7fb27054628e ladspa_sdk_1.13.tgz 70540
+RMD160 e9eeae8edd24a6890fac3e34c4b55f844f44f8a0 ladspa_sdk_1.13.tgz 70540
+SHA256 b5ed3f4f253a0f6c1b7a1f4b8cf62376ca9f51d999650dd822650c43852d306b ladspa_sdk_1.13.tgz 70540
diff --git a/media-libs/ladspa-sdk/ladspa-sdk-1.13.ebuild b/media-libs/ladspa-sdk/ladspa-sdk-1.13.ebuild
new file mode 100644
index 000000000000..6406da21a062
--- /dev/null
+++ b/media-libs/ladspa-sdk/ladspa-sdk-1.13.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2007 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.13.ebuild,v 1.1 2007/11/18 15:39:54 aballier Exp $
+
+inherit eutils toolchain-funcs
+
+MY_PN=${PN/-/_}
+MY_P=${MY_PN}_${PV}
+
+DESCRIPTION="The Linux Audio Developer's Simple Plugin API"
+HOMEPAGE="http://www.ladspa.org/"
+SRC_URI="http://www.ladspa.org/download/${MY_P}.tgz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+IUSE=""
+
+RDEPEND=""
+DEPEND=">=sys-apps/sed-4"
+
+S="${WORKDIR}/${MY_PN}/src"
+
+src_unpack() {
+ unpack ${A}
+ epatch "${FILESDIR}/${PN}-1.12-fbsd.patch"
+ sed -i -e "/^CFLAGS/ s:-O3:${CFLAGS}:" \
+ "${S}/makefile" || die "sed makefile failed (CFLAGS)"
+ sed -i -e "s/^CXXFLAGS*/CXXFLAGS = ${CXXFLAGS} \$(INCLUDES) -Wall -fPIC\n#/" \
+ "${S}/makefile" || die "sed makefile failed (CXXFLAGS)"
+ sed -i -e 's:-mkdirhier:mkdir\ -p:g' \
+ "${S}/makefile" || die "sed makefile failed (mkdirhier)"
+ sed -i -e 's:-sndfile-play*:@echo Disabled \0:' \
+ "${S}/makefile" || die "sed makefile failed (sound playing tests)"
+}
+
+src_compile() {
+ emake targets CC=$(tc-getCC) CPP=$(tc-getCXX) || die
+}
+
+src_install() {
+ emake \
+ INSTALL_PLUGINS_DIR="${D}/usr/$(get_libdir)/ladspa" \
+ INSTALL_INCLUDE_DIR="${D}/usr/include" \
+ INSTALL_BINARY_DIR=$"${D}/usr/bin" \
+ install || die "make install failed"
+
+ dohtml ../doc/*.html || die "dohtml failed"
+
+ # Needed for apps like rezound
+ dodir /etc/env.d
+ echo "LADSPA_PATH=/usr/$(get_libdir)/ladspa" > "${D}/etc/env.d/60ladspa"
+}