summaryrefslogtreecommitdiff
path: root/ladspa
diff options
context:
space:
mode:
authorTim Biermann <tbier@posteo.de>2019-08-21 10:02:49 +0000
committerTim Biermann <tbier@posteo.de>2019-08-21 10:02:49 +0000
commit4085ac2fa8bb8db9b189d4a01801c4b93dd29776 (patch)
tree5feca73f8d56f507d727f4d79f6c4b5bf3546773 /ladspa
parentd08c24c57d22350e45ce846608195967ede7a0cf (diff)
downloadcontrib-4085ac2fa8bb8db9b189d4a01801c4b93dd29776.tar.gz
contrib-4085ac2fa8bb8db9b189d4a01801c4b93dd29776.tar.xz
ladspa: initial commit, version 1.15
Diffstat (limited to 'ladspa')
-rw-r--r--ladspa/.signature8
-rw-r--r--ladspa/Pkgfile39
-rw-r--r--ladspa/fix-memleak-in-plugin-scanning.patch11
3 files changed, 34 insertions, 24 deletions
diff --git a/ladspa/.signature b/ladspa/.signature
index ae25deae3..bb0eff3f4 100644
--- a/ladspa/.signature
+++ b/ladspa/.signature
@@ -1,6 +1,6 @@
untrusted comment: verify with /etc/ports/contrib.pub
-RWSagIOpLGJF3z1SCwmi32F8MLXRWj8S9zPx3R/V5DCBPTe2LFa5Vh2Q76e/kcCAjzuxlbJ9R00+Tau3WqQj0pUu6TtWxhbtDA0=
-SHA256 (Pkgfile) = 8863a5641c08f9a1432d02abbc2ba9b5c32d75787cbf3fd86844600eae4fd54e
+RWSagIOpLGJF3wiSaQZnvSj9wxbdk7CPqMpVNdjmgKv/e+9PF+KDg/rRHCkO5qcGtY2FxCre+RIYQfklJQyAJxwAVBe2BHX/PAE=
+SHA256 (Pkgfile) = e9886f28b0935a1fd42688dc8da3cd987e6e7f7a3927ef6a131bd9e6c66e4df0
SHA256 (.footprint) = b364563a42185fe2e2e665b5cb27f35e726b5c0a81c03eabba92785121bcf5f2
-SHA256 (ladspa_sdk_1.13.tgz) = b5ed3f4f253a0f6c1b7a1f4b8cf62376ca9f51d999650dd822650c43852d306b
-SHA256 (ladspa-1.13.patch) = 5ad768c70010288f80314ae9e438c2e2742c956cb319371d1506bae4e52340fa
+SHA256 (ladspa_sdk_1.15.tgz) = 4229959b09d20c88c8c86f4aa76427843011705df22d9c28b38359fd1829fded
+SHA256 (fix-memleak-in-plugin-scanning.patch) = 27be471df55951fa1cc53089631b167e2654436fc5b3a5773f357cb9f9e29005
diff --git a/ladspa/Pkgfile b/ladspa/Pkgfile
index 3afb31057..0103f1cd3 100644
--- a/ladspa/Pkgfile
+++ b/ladspa/Pkgfile
@@ -1,31 +1,30 @@
# Description: Linux Audio Developer's Simple Plugin API.
# URL: http://www.ladspa.org/
-# Maintainer: Danny Rawlins, crux at romster dot me
+# Maintainer: Tim Biermann, tbier at posteo dot de
+# Packager: Danny Rawlins, crux at romster dot me
# Packager: Han Boetes, han at mijncomputer dot nl
# Depends on:
name=ladspa
-version=1.13
+version=1.15
release=1
-source=(http://crux.ster.zone/downloads/$name/ladspa_sdk_$version.tgz
- ladspa-$version.patch)
-
-#source=(http://www.ladspa.org/download/ladspa_sdk_$version.tgz
-# ladspa-$version.patch)
+source=(https://ladspa.org/download/ladspa_sdk_$version.tgz fix-memleak-in-plugin-scanning.patch)
build() {
- cd ladspa_sdk/src
- patch -p2 -i $SRC/ladspa-$version.patch
-
- export \
- CFLAGS="${CFLAGS//-O?/-O3}" \
- CXXFLAGS="${CXXFLAGS//-O?/-O3}"
-
- sed -i \
- -e "s/@CFLAGS@/$CFLAGS/" \
- -e "s/@CXXFLAGS@/$CXXFLAGS/" \
- makefile
+ cd ladspa_sdk_$version
+ #patch -p2 -i $SRC/ladspa-$version.patch
+ patch -Np0 -i ../fix-memleak-in-plugin-scanning.patch
+ export \
+ CFLAGS="${CFLAGS//-O?/-O3}" \
+ CXXFLAGS="${CXXFLAGS//-O?/-O3}"
- make
- make DESTDIR=$PKG install
+ sed -i \
+ -e "s/@CFLAGS@/$CFLAGS/" \
+ -e "s/@CXXFLAGS@/$CXXFLAGS/" \
+ src/Makefile
+ cd src
+ make
+ make INSTALL_PLUGINS_DIR="$PKG/usr/lib/ladspa/" \
+ INSTALL_INCLUDE_DIR="$PKG/usr/include/" \
+ INSTALL_BINARY_DIR="$PKG/usr/bin/" install
}
diff --git a/ladspa/fix-memleak-in-plugin-scanning.patch b/ladspa/fix-memleak-in-plugin-scanning.patch
new file mode 100644
index 000000000..76cb2e864
--- /dev/null
+++ b/ladspa/fix-memleak-in-plugin-scanning.patch
@@ -0,0 +1,11 @@
+--- src/search.c.orig 2008-11-07 00:38:18.000000000 +0100
++++ src/search.c 2008-11-07 00:50:51.000000000 +0100
+@@ -83,6 +83,8 @@
+ dlclose(pcFilename);
+ free(pcFilename);
+ }
++ } else {
++ free(pcFilename);
+ }
+ }
+ }

Generated by cgit