[arch-commits] Commit in lilv/trunk (PKGBUILD)

David Runge dvzrv at gemini.archlinux.org
Sat Nov 20 11:31:02 UTC 2021


    Date: Saturday, November 20, 2021 @ 11:31:01
  Author: dvzrv
Revision: 1052836

upgpkg: lilv 0.24.12-2: Rebuild to add lv2 to depends.

The lv2 package is required according to pkgconfig.
Simplify quoting in the file.
Add LINKFLAGS environment variable to supply waf with LDFLAGS to prevent
overlinking.

Modified:
  lilv/trunk/PKGBUILD

----------+
 PKGBUILD |   16 +++++++++-------
 1 file changed, 9 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-11-20 11:28:20 UTC (rev 1052835)
+++ PKGBUILD	2021-11-20 11:31:01 UTC (rev 1052836)
@@ -4,17 +4,17 @@
 
 pkgname=lilv
 pkgver=0.24.12
-pkgrel=1
+pkgrel=2
 pkgdesc="A C library interface to the LV2 plug-in standard"
-arch=('x86_64')
+arch=(x86_64)
 url="https://drobilla.net/software/lilv/"
-license=('custom:ISC')
-depends=('glibc')
-makedepends=('libsndfile' 'lv2' 'python' 'serd' 'sord' 'sratom' 'swig' 'waf')
+license=(ISC)
+depends=(glibc lv2)
+makedepends=(libsndfile python serd sord sratom swig waf)
 optdepends=('bash-completion: completion for bash'
             'libsndfile: for lv2apply'
             'python: for Python bindings')
-provides=('liblilv-0.so')
+provides=(liblilv-0.so)
 source=("https://download.drobilla.net/${pkgname}-${pkgver}.tar.bz2"{,.asc})
 sha512sums=('ea22db4e995792b62d60d793169c792549b8fb0255c2cf7a85780dd149811921e2fae5eaea0fb83465f01b14dfa66361af3be40bf7cb3733e98655b943f4faee'
             'SKIP')
@@ -39,6 +39,7 @@
 
 build() {
   cd "${pkgname}-${pkgver}"
+  export LINKFLAGS="$LDFLAGS"
   waf configure --prefix=/usr \
                 --no-bash-completion \
                 --dyn-manifest \
@@ -52,7 +53,8 @@
 }
 
 package() {
-  depends+=('libserd-0.so' 'libsord-0.so' 'libsratom-0.so')
+  depends+=(libserd-0.so libsord-0.so libsratom-0.so)
+
   cd "${pkgname}-${pkgver}"
   waf install --destdir="${pkgdir}"
   # license



More information about the arch-commits mailing list