[arch-commits] Commit in ladspa/repos/extra-x86_64 (4 files)

David Runge dvzrv at gemini.archlinux.org
Sun Sep 5 18:07:32 UTC 2021


    Date: Sunday, September 5, 2021 @ 18:07:32
  Author: dvzrv
Revision: 423453

archrelease: copy trunk to extra-x86_64

Added:
  ladspa/repos/extra-x86_64/PKGBUILD
    (from rev 423452, ladspa/trunk/PKGBUILD)
  ladspa/repos/extra-x86_64/fix-memleak-in-plugin-scanning.patch
    (from rev 423452, 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                             |   78 +++++++++++++++++----------------
 fix-memleak-in-plugin-scanning.patch |   22 ++++-----
 2 files changed, 52 insertions(+), 48 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-09-05 18:07:24 UTC (rev 423452)
+++ PKGBUILD	2021-09-05 18:07:32 UTC (rev 423453)
@@ -1,37 +0,0 @@
-# Maintainer: damir <damir at archlinux.org>
-# Contributor: David Runge <dave at sleepmap.de>
-
-pkgname=ladspa
-pkgver=1.15
-pkgrel=2
-pkgdesc="Linux Audio Developer's Simple Plugin API (LADSPA)"
-arch=('x86_64')
-license=('LGPL')
-url="https://www.ladspa.org/"
-depends=('gcc-libs')
-source=("https://ladspa.org/download/ladspa_sdk_${pkgver}.tgz"
-        'fix-memleak-in-plugin-scanning.patch')
-sha512sums=('a521622e23d988284244003e4ccfc3b42f6ddc7944cb00e7949b87e09d7f39a0cbb64b6d8b5a5af0a5ccf7179f88815416a88f02d3912957167e54b74accfc65'
-            'e80a575e6afe42f9d0ac1234a7832a29fb9362c7ab7b2d6b14cc3e6da6a9ba67af886cf09f1c0b78c161205084f705049fb4dc22fe2795efaeb7d94da90dc93e')
-
-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 423452, ladspa/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-09-05 18:07:32 UTC (rev 423453)
@@ -0,0 +1,41 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+# Contributor: damir <damir at 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}"
+}
+

Deleted: fix-memleak-in-plugin-scanning.patch
===================================================================
--- fix-memleak-in-plugin-scanning.patch	2021-09-05 18:07:24 UTC (rev 423452)
+++ fix-memleak-in-plugin-scanning.patch	2021-09-05 18:07:32 UTC (rev 423453)
@@ -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 423452, ladspa/trunk/fix-memleak-in-plugin-scanning.patch)
===================================================================
--- fix-memleak-in-plugin-scanning.patch	                        (rev 0)
+++ fix-memleak-in-plugin-scanning.patch	2021-09-05 18:07:32 UTC (rev 423453)
@@ -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);
+     }
+   }
+ }



More information about the arch-commits mailing list