diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2008-02-14 14:49:47 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2008-02-14 14:49:47 +0000 |
commit | 5b4b4e1d181c7df9b34a0f101b7dcef21cb180a9 (patch) | |
tree | 83521155602a1622250d67765f08cf6629c70e17 /media-libs/ladspa-sdk | |
parent | Remove, bug #203014 (diff) | |
download | historical-5b4b4e1d181c7df9b34a0f101b7dcef21cb180a9.tar.gz historical-5b4b4e1d181c7df9b34a0f101b7dcef21cb180a9.tar.bz2 historical-5b4b4e1d181c7df9b34a0f101b7dcef21cb180a9.zip |
Revision bump, use a new patch to handle the makefile, sent upstream hoping for it to be integrated in the next release. This also solves bug #209718 as it respect LDFLAGS (and also LD now).
Package-Manager: portage-2.1.4.4
Diffstat (limited to 'media-libs/ladspa-sdk')
-rw-r--r-- | media-libs/ladspa-sdk/ChangeLog | 10 | ||||
-rw-r--r-- | media-libs/ladspa-sdk/Manifest | 14 | ||||
-rw-r--r-- | media-libs/ladspa-sdk/files/ladspa-sdk-1.13-properbuild.patch | 92 | ||||
-rw-r--r-- | media-libs/ladspa-sdk/ladspa-sdk-1.13-r1.ebuild | 51 |
4 files changed, 165 insertions, 2 deletions
diff --git a/media-libs/ladspa-sdk/ChangeLog b/media-libs/ladspa-sdk/ChangeLog index 2f922cded1e9..d4be5cc85bd9 100644 --- a/media-libs/ladspa-sdk/ChangeLog +++ b/media-libs/ladspa-sdk/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for media-libs/ladspa-sdk # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/ladspa-sdk/ChangeLog,v 1.42 2008/01/31 15:28:57 nixnut Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/ladspa-sdk/ChangeLog,v 1.43 2008/02/14 14:49:46 flameeyes Exp $ + +*ladspa-sdk-1.13-r1 (14 Feb 2008) + + 14 Feb 2008; Diego Pettenò <flameeyes@gentoo.org> + +files/ladspa-sdk-1.13-properbuild.patch, +ladspa-sdk-1.13-r1.ebuild: + Revision bump, use a new patch to handle the makefile, sent upstream hoping + for it to be integrated in the next release. This also solves bug #209718 as + it respect LDFLAGS (and also LD now). 31 Jan 2008; nixnut <nixnut@gentoo.org> ladspa-sdk-1.13.ebuild: Stable on ppc wrt bug 208032 diff --git a/media-libs/ladspa-sdk/Manifest b/media-libs/ladspa-sdk/Manifest index 61b59ed40f8e..1c869f9c3e9c 100644 --- a/media-libs/ladspa-sdk/Manifest +++ b/media-libs/ladspa-sdk/Manifest @@ -1,9 +1,21 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + AUX ladspa-sdk-1.12-fbsd.patch 895 RMD160 4ba94766072abe0d42186362f9cb23a45ba087e5 SHA1 92f0976ac17794be166fefb18578d83505b89ca1 SHA256 58eb6255f3e204410075052d5ca3cfa5b6da9a33d4e2435d36665a50cf7a7afb AUX ladspa-sdk-1.12-gcc4.patch 968 RMD160 2bb125aa82309250710b47bd915718d5a96dd2ba SHA1 8587adb5149d2b895f1662bbd7ee4aa448254036 SHA256 e3048ed6944552d073a9237e6010e43477d2359b7ca98b8c39258865a005b37a AUX ladspa-sdk-1.12-test.patch 1024 RMD160 1677dff1da06aa283444b6bc0e2abcd5f9d5ab37 SHA1 74c78072279539c77490b9041118a30b3b12c808 SHA256 9e1171587422dc9e9e0a8ef086bf74f50e7bce7eaae74ef471d09e7dbdfbaaf8 +AUX ladspa-sdk-1.13-properbuild.patch 3020 RMD160 e9a344e42ae28bd1c25fca187b5750435fef158f SHA1 5066d6b2526e3678b7373df4b00bbb8e0a6cafd8 SHA256 a5bc7ec6643d47a8d57e4e27a5934949c55d9b1f8d2c98a60eca99ea558f24ef DIST ladspa_sdk_1.12.tgz 71165 RMD160 7967731c28785287691655d9346cf46654f4235b SHA1 36a3a7a00f96281ca443dcae15d33f462398c4d4 SHA256 66a5be1b0c54aba86dbb24a2e5e83604d0d7a8c0645fcb64579ec2966e25689c DIST ladspa_sdk_1.13.tgz 70540 RMD160 e9eeae8edd24a6890fac3e34c4b55f844f44f8a0 SHA1 2b69e28afb62c0d97943124f48ed82de796f83ed SHA256 b5ed3f4f253a0f6c1b7a1f4b8cf62376ca9f51d999650dd822650c43852d306b EBUILD ladspa-sdk-1.12-r2.ebuild 1627 RMD160 62754fe78c5934b3edb65064fa311003333b5d6c SHA1 758baf05f33095118b440165a9eb3e15143fc53b SHA256 7536fe76b6e9f8d7c369f72135a048f835b4a6ce58c24a7d8cd3df9adc00a50c +EBUILD ladspa-sdk-1.13-r1.ebuild 1384 RMD160 9cbb460136b3523263e2727bc9938d9ca4508bec SHA1 f37026ab41dcb706b5d2d70a878766aae19dbe57 SHA256 8b3070efada9794a8c73ced3c6cfc113369bd6b7ee90a3b7e60609fff2635509 EBUILD ladspa-sdk-1.13.ebuild 1586 RMD160 6e5e3234b09817d344084b6e8357f74340a2359e SHA1 89342308070d72dbd52e59181c99a3751a4f9c1a SHA256 ae137023b028a1dd83d5656b4ee98a13bb07dcc6b32aaee456a7e3f5d9c8d5f8 -MISC ChangeLog 5539 RMD160 93b5615481e6051270c43af6345f59fb39f07958 SHA1 2e3ba5bc6b3cc2a9450713a8b6e2589bd801c68d SHA256 15488de9f23e572a175c9ebd82db5f1931b567f5cc559a415c2d1ffe2a27a114 +MISC ChangeLog 5900 RMD160 3327e0cae0c526a5a3a49794866dd2e1db2e504c SHA1 1b62d92394de65be5b337022c3d176ecccd97c45 SHA256 71a5be0311e9b6f8e8c365de11dc30aed02ff1f6e6a948f2987932974c2b8835 MISC metadata.xml 161 RMD160 2738d17827a71b5ccbadae4c4f909d2b57d147b0 SHA1 90201ddb830142147774cc7b7b5178fbd0a9af0c SHA256 0ba191421eefd954d1efe9f6c3384e8c8d7455d35a7e79457272e1c29211b09e +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.7 (GNU/Linux) + +iD8DBQFHtFUPAiZjviIA2XgRAnulAKC4Dc2JJ7eJ7j53kCc2O6afbEPhOACgpy+a +uAmR7Qk8Bv/ieIvnjA/VMMY= +=U0Pj +-----END PGP SIGNATURE----- diff --git a/media-libs/ladspa-sdk/files/ladspa-sdk-1.13-properbuild.patch b/media-libs/ladspa-sdk/files/ladspa-sdk-1.13-properbuild.patch new file mode 100644 index 000000000000..c30a5084478a --- /dev/null +++ b/media-libs/ladspa-sdk/files/ladspa-sdk-1.13-properbuild.patch @@ -0,0 +1,92 @@ +Index: ladspa_sdk/src/makefile +=================================================================== +--- ladspa_sdk.orig/src/makefile ++++ ladspa_sdk/src/makefile +@@ -13,10 +13,12 @@ INSTALL_BINARY_DIR = /usr/bin/ + # GENERAL + # + ++CFLAGS = -Wall -Werror -O3 ++CXXFLAGS = -Wall -Werror -O3 ++ + INCLUDES = -I. +-LIBRARIES = -ldl -lm +-CFLAGS = $(INCLUDES) -Wall -Werror -O3 -fPIC +-CXXFLAGS = $(CFLAGS) ++DYNAMIC_LD_LIBS = -ldl ++LIBRARIES = $(DYNAMIC_LD_LIBS) -lm + PLUGINS = ../plugins/amp.so \ + ../plugins/delay.so \ + ../plugins/filter.so \ +@@ -26,7 +28,8 @@ PROGRAMS = ../bin/analyseplugin \ + ../bin/applyplugin \ + ../bin/listplugins + CC = cc +-CPP = c++ ++CXX = c++ ++MKDIR_P = mkdirhier + + ############################################################################### + # +@@ -34,12 +37,12 @@ CPP = c++ + # + + ../plugins/%.so: plugins/%.c ladspa.h +- $(CC) $(CFLAGS) -o plugins/$*.o -c plugins/$*.c +- $(LD) -o ../plugins/$*.so plugins/$*.o -shared ++ $(CC) $(CFLAGS) $(INCLUDES) -fPIC -o plugins/$*.o -c plugins/$*.c ++ $(LD) $(RAW_LDFLAGS) -o ../plugins/$*.so plugins/$*.o -shared + + ../plugins/%.so: plugins/%.cpp ladspa.h +- $(CPP) $(CXXFLAGS) -o plugins/$*.o -c plugins/$*.cpp +- $(CPP) -o ../plugins/$*.so plugins/$*.o -shared ++ $(CXX) $(CXXFLAGS) $(INCLUDES) -fPIC -o plugins/$*.o -c plugins/$*.cpp ++ $(CXX) $(LDFLAGS) -o ../plugins/$*.so plugins/$*.o -shared + + ############################################################################### + # +@@ -59,12 +62,12 @@ test: /tmp/test.wav ../snd/noise.wav alw + @echo Test complete. + + install: targets +- -mkdirhier $(INSTALL_PLUGINS_DIR) +- -mkdirhier $(INSTALL_INCLUDE_DIR) +- -mkdirhier $(INSTALL_BINARY_DIR) +- cp ../plugins/* $(INSTALL_PLUGINS_DIR) +- cp ladspa.h $(INSTALL_INCLUDE_DIR) +- cp ../bin/* $(INSTALL_BINARY_DIR) ++ -$(MKDIR_P) $(DESTDIR)$(INSTALL_PLUGINS_DIR) ++ -$(MKDIR_P) $(DESTDIR)$(INSTALL_INCLUDE_DIR) ++ -$(MKDIR_P) $(DESTDIR)$(INSTALL_BINARY_DIR) ++ cp ../plugins/* $(DESTDIR)$(INSTALL_PLUGINS_DIR) ++ cp ladspa.h $(DESTDIR)$(INSTALL_INCLUDE_DIR) ++ cp ../bin/* $(DESTDIR)$(INSTALL_BINARY_DIR) + + /tmp/test.wav: targets ../snd/noise.wav + ../bin/listplugins +@@ -90,19 +93,19 @@ targets: $(PLUGINS) $(PROGRAMS) + # + + ../bin/applyplugin: applyplugin.o load.o default.o +- $(CC) $(CFLAGS) $(LIBRARIES) \ ++ $(CC) $(CFLAGS) $(INCLUDES) $(LDFLAGS) \ + -o ../bin/applyplugin \ +- applyplugin.o load.o default.o ++ applyplugin.o load.o default.o $(LIBRARIES) + + ../bin/analyseplugin: analyseplugin.o load.o default.o +- $(CC) $(CFLAGS) $(LIBRARIES) \ ++ $(CC) $(CFLAGS) $(INCLUDES) $(LDFLAGS) \ + -o ../bin/analyseplugin \ +- analyseplugin.o load.o default.o ++ analyseplugin.o load.o default.o $(LIBRARIES) + + ../bin/listplugins: listplugins.o search.o +- $(CC) $(CFLAGS) $(LIBRARIES) \ ++ $(CC) $(CFLAGS) $(INCLUDES) $(LDFLAGS) \ + -o ../bin/listplugins \ +- listplugins.o search.o ++ listplugins.o search.o $(LIBRARIES) + + ############################################################################### + # diff --git a/media-libs/ladspa-sdk/ladspa-sdk-1.13-r1.ebuild b/media-libs/ladspa-sdk/ladspa-sdk-1.13-r1.ebuild new file mode 100644 index 000000000000..08b77101ae59 --- /dev/null +++ b/media-libs/ladspa-sdk/ladspa-sdk-1.13-r1.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2008 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-r1.ebuild,v 1.1 2008/02/14 14:49:46 flameeyes Exp $ + +inherit eutils toolchain-funcs portability flag-o-matic + +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}/${P}-properbuild.patch" + sed -i -e 's:-sndfile-play*:@echo Disabled \0:' \ + "${S}/makefile" || die "sed makefile failed (sound playing tests)" +} + +src_compile() { + emake CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" \ + RAW_LDFLAGS="$(raw-ldflags)" \ + DYNAMIC_LD_LIBS="$(dlopen_lib)" \ + CC="$(tc-getCC)" CXX="$(tc-getCXX)" LD="$(tc-getLD)" \ + targets || die +} + +src_install() { + emake \ + INSTALL_PLUGINS_DIR="/usr/$(get_libdir)/ladspa" \ + DESTDIR="${D}" \ + MKDIR_P="mkdir -p" \ + 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" +} |