Date: Sunday, September 12, 2021 @ 19:11:42 Author: dvzrv Revision: 423955
archrelease: copy trunk to extra-x86_64 Added: ladspa/repos/extra-x86_64/PKGBUILD (from rev 423954, ladspa/trunk/PKGBUILD) ladspa/repos/extra-x86_64/fix-memleak-in-plugin-scanning.patch (from rev 423954, ladspa/trunk/fix-memleak-in-plugin-scanning.patch) Deleted: ladspa/repos/extra-x86_64/PKGBUILD ladspa/repos/extra-x86_64/fix-memleak-in-plugin-scanning.patch --------------------------------------+ PKGBUILD | 82 ++++++++++++++++----------------- fix-memleak-in-plugin-scanning.patch | 22 ++++---- 2 files changed, 52 insertions(+), 52 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2021-09-12 19:11:25 UTC (rev 423954) +++ PKGBUILD 2021-09-12 19:11:42 UTC (rev 423955) @@ -1,41 +0,0 @@ -# Maintainer: David Runge <dv...@archlinux.org> -# Contributor: damir <da...@archlinux.org> - -pkgname=ladspa -pkgver=1.16 -pkgrel=1 -pkgdesc="Linux Audio Developer's Simple Plugin API (LADSPA)" -arch=('x86_64') -license=('LGPL2.1') -url="https://www.ladspa.org/" -depends=('gcc-libs' 'glibc') -makedepends=('libsndfile') -optdepends=('libsndfile: for applyplugin') -source=("https://ladspa.org/download/ladspa_sdk_${pkgver}.tgz" - 'fix-memleak-in-plugin-scanning.patch') -sha512sums=('861178f309d6c25a67841ea3097535f52fcd55f5d5fab897897c95e7cda8e973cf7c1ea7cc30fcfa29a320f2b5f13c2e6e3b42a7d1c55062b3c71abbb6239505' - 'e80a575e6afe42f9d0ac1234a7832a29fb9362c7ab7b2d6b14cc3e6da6a9ba67af886cf09f1c0b78c161205084f705049fb4dc22fe2795efaeb7d94da90dc93e') -b2sums=('42af7cca21891a667d84441b1f03ce1e250eda4555c6330f66566e633bb32002f72b4f2ef68a9638d761871932f212060e931025182c28147be02d780e15d32b' - 'b2235b41d9638cceb93a41452f1f0b710bc3f9264fe735972099244dfc8d98d354c7d15084d79b0bdfc4fa3f437f9368f81aa0ebdb7e39df5900fbbf172927c2') - -prepare() { - mv -v ${pkgname}_sdk_${pkgver} ${pkgname}-${pkgver} - cd "${pkgname}-${pkgver}" - patch -Np0 -i "../fix-memleak-in-plugin-scanning.patch" - # add LDFLAGS for full RELRO - sed -e "s#-O2#${CFLAGS} ${LDFLAGS}#" -i src/Makefile -} - -build() { - cd "${pkgname}-${pkgver}/src" - make targets -} - -package() { - cd "${pkgname}-${pkgver}/src" - make INSTALL_PLUGINS_DIR="${pkgdir}/usr/lib/ladspa/" \ - INSTALL_INCLUDE_DIR="${pkgdir}/usr/include/" \ - INSTALL_BINARY_DIR="${pkgdir}/usr/bin/" install - install -vDm 644 ../doc/*.{html,txt} -t "${pkgdir}/usr/share/doc/${pkgname}" -} - Copied: ladspa/repos/extra-x86_64/PKGBUILD (from rev 423954, ladspa/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2021-09-12 19:11:42 UTC (rev 423955) @@ -0,0 +1,41 @@ +# Maintainer: David Runge <dv...@archlinux.org> +# Contributor: damir <da...@archlinux.org> + +pkgname=ladspa +pkgver=1.17 +pkgrel=1 +pkgdesc="Linux Audio Developer's Simple Plugin API (LADSPA)" +arch=('x86_64') +license=('LGPL2.1') +url="https://www.ladspa.org/" +depends=('gcc-libs' 'glibc') +makedepends=('libsndfile') +optdepends=('libsndfile: for applyplugin') +source=("https://ladspa.org/download/ladspa_sdk_${pkgver}.tgz" + 'fix-memleak-in-plugin-scanning.patch') +sha512sums=('37f94aa52b5a2f8709528989dea289eb01342f3bcb9e85d0f4829ddd9d90b2934a113db11100f09375a50f6612122b78156fec916f2c78a22406253d5cb394c7' + 'e80a575e6afe42f9d0ac1234a7832a29fb9362c7ab7b2d6b14cc3e6da6a9ba67af886cf09f1c0b78c161205084f705049fb4dc22fe2795efaeb7d94da90dc93e') +b2sums=('cfb80e8ced314d5cc62fcb7f0b82e58f572503f2a732b2bb8a58343e8f69e417c0b0a2919bbb40629567fb331bf60a7f0c6f186db47e5b2651725b039526cdbb' + 'b2235b41d9638cceb93a41452f1f0b710bc3f9264fe735972099244dfc8d98d354c7d15084d79b0bdfc4fa3f437f9368f81aa0ebdb7e39df5900fbbf172927c2') + +prepare() { + mv -v ${pkgname}_sdk_${pkgver} ${pkgname}-${pkgver} + cd "${pkgname}-${pkgver}" + patch -Np0 -i "../fix-memleak-in-plugin-scanning.patch" + # add LDFLAGS for full RELRO + sed -e "s#-O2#${CFLAGS} ${LDFLAGS}#" -i src/Makefile +} + +build() { + cd "${pkgname}-${pkgver}/src" + make targets +} + +package() { + cd "${pkgname}-${pkgver}/src" + make INSTALL_PLUGINS_DIR="${pkgdir}/usr/lib/ladspa/" \ + INSTALL_INCLUDE_DIR="${pkgdir}/usr/include/" \ + INSTALL_BINARY_DIR="${pkgdir}/usr/bin/" install + install -vDm 644 ../doc/*.{html,txt} -t "${pkgdir}/usr/share/doc/${pkgname}" +} + Deleted: fix-memleak-in-plugin-scanning.patch =================================================================== --- fix-memleak-in-plugin-scanning.patch 2021-09-12 19:11:25 UTC (rev 423954) +++ fix-memleak-in-plugin-scanning.patch 2021-09-12 19:11:42 UTC (rev 423955) @@ -1,11 +0,0 @@ ---- 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); - } - } - } Copied: ladspa/repos/extra-x86_64/fix-memleak-in-plugin-scanning.patch (from rev 423954, ladspa/trunk/fix-memleak-in-plugin-scanning.patch) =================================================================== --- fix-memleak-in-plugin-scanning.patch (rev 0) +++ fix-memleak-in-plugin-scanning.patch 2021-09-12 19:11:42 UTC (rev 423955) @@ -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); + } + } + }