diff options
Diffstat (limited to 'media-libs/ladspa-sdk')
-rw-r--r-- | media-libs/ladspa-sdk/Manifest | 8 | ||||
-rw-r--r-- | media-libs/ladspa-sdk/files/ladspa-sdk-1.13-asneeded.patch | 15 | ||||
-rw-r--r-- | media-libs/ladspa-sdk/files/ladspa-sdk-1.13-fbsd.patch | 16 | ||||
-rw-r--r-- | media-libs/ladspa-sdk/files/ladspa-sdk-1.13-no-LD.patch | 16 | ||||
-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-r2.ebuild | 67 | ||||
-rw-r--r-- | media-libs/ladspa-sdk/ladspa-sdk-1.15-r1.ebuild | 2 |
7 files changed, 2 insertions, 214 deletions
diff --git a/media-libs/ladspa-sdk/Manifest b/media-libs/ladspa-sdk/Manifest index 3b35672de4a9..0dbd90e9baa5 100644 --- a/media-libs/ladspa-sdk/Manifest +++ b/media-libs/ladspa-sdk/Manifest @@ -1,10 +1,4 @@ -AUX ladspa-sdk-1.13-asneeded.patch 624 BLAKE2B 2bd011abd4f414075a05e8993aa2b5f69f316fcb7cb2310fc6befb765e8c714718171d0019984a1c804155b6b116b5fbb6deb5648913d297e1ff3a424599f7fb SHA512 87308b9ce4b391ef42b40581c4a377fd2dddd3d1c31785fa287e5eefaab21696b3b3e9dff50932d5f933309c68bcc6f9ddec07f9ba0672fbeade8479ba1407d0 -AUX ladspa-sdk-1.13-fbsd.patch 440 BLAKE2B 687df7bcd5ea20d7f8827e8639177c47731e58f958874ecc8d6d9e1d137f96e1388352d8c2600c5b2d7652ce657b304bf606d784a381d933ae5758a32debeed2 SHA512 e2649dff971e5c3bae9070b34f53de3a768df8960fe4a93536d0571ada85e892ac7ad55b32b3794d49b5082c7e0d19f6ca22b8613679501d15089e06baf9b5eb -AUX ladspa-sdk-1.13-no-LD.patch 730 BLAKE2B be0edb600bc1e8834b10d55ec04294c40681900edd87564b36d6f1a3354f8b8f6899e3516d3137c16cf5c431118d79e2c4668045c6183bf99dcfb5eb83a106f7 SHA512 215aa1ce1338532e6a8f4ab90b29bd823030f6544d66a9954e476d4b9d5d8f9304b8dd39e386aa2e93565970878bb3174537b7315dcde9bc4eeba9ceb1cc01c8 -AUX ladspa-sdk-1.13-properbuild.patch 3020 BLAKE2B 4fc412986b9912ec0bee326b111f558b806811f12d430fe39b84a8751529afc96534c78c2e753aca8ba089074aa4e38c0c201237c63020c8cd2d3d5c2a6aac17 SHA512 6e86f309f8029d0de50cc505d7924965bc00d89489d689a7babab55f447ef43fbdf26807bc6f206e331c367a2bb1e5c75867268ac601991e3b7edbb9bf8046b7 AUX ladspa-sdk-1.15-properbuild.patch 3933 BLAKE2B bbddaddd99c24db14306443b82106c17a096aee2ec684b717c8fccb76dd028e62f0ac8a575777450a0037cc154ea6e1515a6e732dd9822ddff39980afeb0c154 SHA512 bc276c02b9f23643616372477d5b2e9d186977ae1f3aef3a984162d46c362df06dd6e0b8a3156f1eb7e37dc66cbb4db8768cebcd0879ba6b36ab0245db2dbb9b -DIST ladspa_sdk_1.13.tgz 70540 BLAKE2B cfc5dce5b02107f361cfff3881173d04ea0ff5856cb7e9fb0cf5e23ca62c7f61b8b3b1573b95f67d82eb039cda874a3ba66856b6408e5e6785823c9d53c8cd2e SHA512 a1dab807fda58e08869d3f519be5fa91c394690eb13006fbe7f20b332548e4676b32b01273f5695bf36c8da72190c07618662a76d50f991b3f05068ac2b346ef DIST ladspa_sdk_1.15.tgz 71179 BLAKE2B 7a201fd968433241fda190874d51b835f425c8f35270dc8fac9acf4e9e1546fa20d48f85e894b9eb263dd5d84c2b407481d168e18256dfe2cdd026fe0c805a65 SHA512 a521622e23d988284244003e4ccfc3b42f6ddc7944cb00e7949b87e09d7f39a0cbb64b6d8b5a5af0a5ccf7179f88815416a88f02d3912957167e54b74accfc65 -EBUILD ladspa-sdk-1.13-r2.ebuild 1460 BLAKE2B 0eac9f6bd5fe38bd2ce092507e2863a6cd5f43fbdf257e1a45ffa7cc97dd4c3bcca7209d7b5088ca705dd24d4692429f7484228ae0f624fcbc5a5d2accf8cf37 SHA512 ca8e4ab35681effb3a63d4592270de401899d1322f093c6d3102ae7ce64b19094b9e4c50653c94f40c395034731e3b60721ea09ef96a8b5d05a9882068d8b08f -EBUILD ladspa-sdk-1.15-r1.ebuild 1219 BLAKE2B 0750dec0857a7caa820edf1b12d90fb931478dce7aed446cbe13863d0630d753d6c1cbc9b5f5648aa10fb5917dc0b15d8728823ed974c856132b92b0462ebde9 SHA512 186fbc14b7fb2e57eded688b751e58af2aecbdb505b7819df363840bf817910d9c8076daf5e3c12d9c6c9ac2dad05044c99034bdc86e19405a673f32b516ab06 +EBUILD ladspa-sdk-1.15-r1.ebuild 1217 BLAKE2B fb03fbc09269fafd6e3826ce6f17292688d86320cb69534ef9a5be44e57a1d2f32e6002dd15423b0be190d7ae05a3aaae5c00e6e186c4442ac96ab851c388021 SHA512 2fd6c4d25bf61ff3a9263010942d618a851a43224915c98c1f57da08aad463c23dc9a6e30dfe2904316c8ac5ec3fbbd4a4bcfc9a311ca6fe6d1ef45f987f1a4d MISC metadata.xml 255 BLAKE2B 7a492321189530430d5c71d5598f8a99b548e020d8ace46bb200f1f18abb3a59c4d0dff84c8dc1f78297137c25684d42386d793b84a02e2363fab4d6dcedd4fa SHA512 9e74b875aa129f5b8108121402291772fde4ac18a157dc60f7b3e19c318ee54cd1be54e283a68bc61562f2dc3f5b338b161028d673ff7baa267192ff3b7e8dc8 diff --git a/media-libs/ladspa-sdk/files/ladspa-sdk-1.13-asneeded.patch b/media-libs/ladspa-sdk/files/ladspa-sdk-1.13-asneeded.patch deleted file mode 100644 index 19e3811b0707..000000000000 --- a/media-libs/ladspa-sdk/files/ladspa-sdk-1.13-asneeded.patch +++ /dev/null @@ -1,15 +0,0 @@ -Index: ladspa_sdk/src/makefile -=================================================================== ---- ladspa_sdk.orig/src/makefile -+++ ladspa_sdk/src/makefile -@@ -36,6 +36,10 @@ MKDIR_P = mkdirhier - # RULES TO BUILD PLUGINS FROM C OR C++ CODE - # - -+../plugins/filter.so: plugins/filter.c ladspa.h -+ $(CC) $(CFLAGS) $(INCLUDES) -fPIC -o plugins/filter.o -c plugins/filter.c -+ $(LD) $(RAW_LDFLAGS) -o ../plugins/filter.so plugins/filter.o -shared -lm -+ - ../plugins/%.so: plugins/%.c ladspa.h - $(CC) $(CFLAGS) $(INCLUDES) -fPIC -o plugins/$*.o -c plugins/$*.c - $(LD) $(RAW_LDFLAGS) -o ../plugins/$*.so plugins/$*.o -shared diff --git a/media-libs/ladspa-sdk/files/ladspa-sdk-1.13-fbsd.patch b/media-libs/ladspa-sdk/files/ladspa-sdk-1.13-fbsd.patch deleted file mode 100644 index b5614b2377de..000000000000 --- a/media-libs/ladspa-sdk/files/ladspa-sdk-1.13-fbsd.patch +++ /dev/null @@ -1,16 +0,0 @@ -Index: ladspa_sdk/src/applyplugin.c -=================================================================== ---- ladspa_sdk.orig/src/applyplugin.c -+++ ladspa_sdk/src/applyplugin.c -@@ -6,7 +6,11 @@ - /*****************************************************************************/ - - #include <dlfcn.h> -+#ifdef __FreeBSD__ -+#include <machine/endian.h> -+#else - #include <endian.h> -+#endif - #include <errno.h> - #include <math.h> - #include <stdlib.h> diff --git a/media-libs/ladspa-sdk/files/ladspa-sdk-1.13-no-LD.patch b/media-libs/ladspa-sdk/files/ladspa-sdk-1.13-no-LD.patch deleted file mode 100644 index acc53abace75..000000000000 --- a/media-libs/ladspa-sdk/files/ladspa-sdk-1.13-no-LD.patch +++ /dev/null @@ -1,16 +0,0 @@ ---- a/src/makefile -+++ b/src/makefile -@@ -38,11 +38,11 @@ - - ../plugins/filter.so: plugins/filter.c ladspa.h - $(CC) $(CFLAGS) $(INCLUDES) -fPIC -o plugins/filter.o -c plugins/filter.c -- $(LD) $(RAW_LDFLAGS) -o ../plugins/filter.so plugins/filter.o -shared -lm -+ $(CC) $(CFLAGS) $(LDFLAGS) -o ../plugins/filter.so plugins/filter.o -nostartfiles -shared -lm - - ../plugins/%.so: plugins/%.c ladspa.h - $(CC) $(CFLAGS) $(INCLUDES) -fPIC -o plugins/$*.o -c plugins/$*.c -- $(LD) $(RAW_LDFLAGS) -o ../plugins/$*.so plugins/$*.o -shared -+ $(CC) $(CFLAGS) $(LDFLAGS) -o ../plugins/$*.so plugins/$*.o -nostartfiles -shared - - ../plugins/%.so: plugins/%.cpp ladspa.h - $(CXX) $(CXXFLAGS) $(INCLUDES) -fPIC -o plugins/$*.o -c plugins/$*.cpp 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 deleted file mode 100644 index c30a5084478a..000000000000 --- a/media-libs/ladspa-sdk/files/ladspa-sdk-1.13-properbuild.patch +++ /dev/null @@ -1,92 +0,0 @@ -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-r2.ebuild b/media-libs/ladspa-sdk/ladspa-sdk-1.13-r2.ebuild deleted file mode 100644 index c0f486ab543f..000000000000 --- a/media-libs/ladspa-sdk/ladspa-sdk-1.13-r2.ebuild +++ /dev/null @@ -1,67 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -inherit eutils multilib toolchain-funcs portability flag-o-matic multilib-minimal - -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 arm arm64 hppa ~ia64 ppc ppc64 sparc x86" -IUSE="" - -RDEPEND="" -DEPEND=">=sys-apps/sed-4" - -S="${WORKDIR}/${MY_PN}" - -src_prepare() { - cd "${WORKDIR}/${MY_PN}/src" - epatch "${FILESDIR}"/${P}-properbuild.patch \ - "${FILESDIR}"/${P}-asneeded.patch \ - "${FILESDIR}"/${P}-fbsd.patch \ - "${FILESDIR}"/${P}-no-LD.patch - - sed -i -e 's:-sndfile-play*:@echo Disabled \0:' \ - makefile || die "sed makefile failed (sound playing tests)" - - cd "${S}" - multilib_copy_sources -} - -multilib_src_compile() { - cd src - emake CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" \ - DYNAMIC_LD_LIBS="$(dlopen_lib)" \ - CC="$(tc-getCC)" CXX="$(tc-getCXX)" \ - targets -} - -multilib_src_test() { - cd src - emake test -} - -multilib_src_install() { - cd src - emake INSTALL_PLUGINS_DIR="/usr/$(get_libdir)/ladspa" \ - DESTDIR="${ED}" \ - MKDIR_P="mkdir -p" \ - install -} - -multilib_src_install_all() { - einstalldocs - dohtml doc/*.html - - # Needed for apps like rezound - dodir /etc/env.d - echo "LADSPA_PATH=${EPREFIX}/usr/$(get_libdir)/ladspa" > "${ED}/etc/env.d/60ladspa" -} diff --git a/media-libs/ladspa-sdk/ladspa-sdk-1.15-r1.ebuild b/media-libs/ladspa-sdk/ladspa-sdk-1.15-r1.ebuild index 2f9df4df576c..923942c9b990 100644 --- a/media-libs/ladspa-sdk/ladspa-sdk-1.15-r1.ebuild +++ b/media-libs/ladspa-sdk/ladspa-sdk-1.15-r1.ebuild @@ -14,7 +14,7 @@ SRC_URI="http://www.ladspa.org/download/${MY_P}.tgz" LICENSE="LGPL-2.1" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~ppc ~ppc64 sparc x86" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 sparc x86" IUSE="" RDEPEND="" |