[arch-commits] Commit in lv2/trunk (PKGBUILD)
David Runge
dvzrv at gemini.archlinux.org
Tue Jun 7 18:08:10 UTC 2022
Date: Tuesday, June 7, 2022 @ 18:08:10
Author: dvzrv
Revision: 1228541
upgpkg: lv2 1.18.4-1: Upgrade to 1.18.4.
Remove unnecessary quotes and curly braces.
Export LINKFLAGS as waf otherwise overlinks everything.
Add debug package.
Modified:
lv2/trunk/PKGBUILD
----------+
PKGBUILD | 63 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 32 insertions(+), 31 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-06-07 17:31:57 UTC (rev 1228540)
+++ PKGBUILD 2022-06-07 18:08:10 UTC (rev 1228541)
@@ -2,35 +2,38 @@
# Contributor: Ray Rashif <schiv at archlinux.org>
pkgname=lv2
-pkgver=1.18.2
+pkgver=1.18.4
pkgrel=1
pkgdesc="Plugin standard for audio systems"
+arch=(x86_64)
url="http://lv2plug.in/"
-license=('ISC')
-arch=('x86_64')
-makedepends=('asciidoc' 'doxygen' 'gtk2' 'libsndfile' 'pygmentize'
-'python-markdown' 'python-pygments' 'python-rdflib' 'waf')
-optdepends=('sord: for lv2_validate'
- 'libsndfile: for eg-sampler.lv2'
- 'atk: for eg-sampler.lv2 and eg-scope.lv2'
- 'cairo: for eg-sampler.lv2 and eg-scope.lv2'
- 'fontconfig: for eg-sampler.lv2 and eg-scope.lv2'
- 'freetype2: for eg-sampler.lv2 and eg-scope.lv2'
- 'glib2: for eg-sampler.lv2 and eg-scope.lv2'
- 'gtk2: for eg-sampler.lv2 and eg-scope.lv2'
- 'harfbuzz: for eg-sampler.lv2 and eg-scope.lv2'
- 'pango: for eg-sampler.lv2 and eg-scope.lv2'
- 'python-pygments: for lv2specgen.py'
- 'python-rdflib: for lv2specgen.py')
-source=("https://lv2plug.in/spec/${pkgname}-${pkgver}.tar.bz2"{,.asc})
-sha512sums=('d5bdcf94d3cf9a569e29964002a038ae73cd6ae7f09f7d973f8fd74858c8cf9d01bbed85ae8bf0a00efcb2b3611357a64571222a89972091941449c36d76b0ef'
+license=(ISC)
+makedepends=(asciidoc doxygen gtk2 libsndfile pygmentize
+python-markdown python-pygments python-rdflib waf)
+optdepends=(
+ 'sord: for lv2_validate'
+ 'libsndfile: for eg-sampler.lv2'
+ 'atk: for eg-sampler.lv2 and eg-scope.lv2'
+ 'cairo: for eg-sampler.lv2 and eg-scope.lv2'
+ 'fontconfig: for eg-sampler.lv2 and eg-scope.lv2'
+ 'freetype2: for eg-sampler.lv2 and eg-scope.lv2'
+ 'glib2: for eg-sampler.lv2 and eg-scope.lv2'
+ 'gtk2: for eg-sampler.lv2 and eg-scope.lv2'
+ 'harfbuzz: for eg-sampler.lv2 and eg-scope.lv2'
+ 'pango: for eg-sampler.lv2 and eg-scope.lv2'
+ 'python-pygments: for lv2specgen.py'
+ 'python-rdflib: for lv2specgen.py'
+)
+options=(debug)
+source=(https://lv2plug.in/spec/$pkgname-$pkgver.tar.bz2{,.sig})
+sha512sums=('8095a1f3dcf70cf8cefff18c40b52c1dffeab0fe1f6bfb083c9f0e48a9617d3c8647b3f4db567ac1f5f33564399ffe1023774ad9bacb1bb0133f182422f22d6a'
'SKIP')
-b2sums=('824c7bc2ce62de858308d856d0f89c6285c183764be3727eba5074f42543a1bb8a5e1cdd8a85bf0a4ba1103e1243c843013bd516d2d6e7ade09c46380bca3cee'
+b2sums=('84bcb5578110ff933b37b398029ed062c9393e17f17ddaa6329638f3c71e2b17b424f84987c00bc2c5699ffc15649362b98d5b238521e593c578c67450ecfeec'
'SKIP')
validpgpkeys=('907D226E7E13FA337F014A083672782A9BF368F3') # David Robillard <d at drobilla.net>
prepare() {
- cd "${pkgname}-${pkgver}"
+ cd $pkgname-$pkgver
# let wscript(s) find the custom waf scripts
mkdir -pv tools
touch __init__.py
@@ -45,7 +48,9 @@
}
build() {
- cd "${pkgname}-${pkgver}"
+ export LINKFLAGS="$LDFLAGS"
+
+ cd $pkgname-$pkgver
waf configure --prefix=/usr \
--libdir=/usr/lib \
--docs \
@@ -54,18 +59,14 @@
}
check() {
- cd "${pkgname}-${pkgver}"
+ cd $pkgname-$pkgver
waf test
}
package() {
- cd "${pkgname}-${pkgver}"
- waf install --destdir="${pkgdir}"
- # license
- install -vDm 644 COPYING \
- -t "${pkgdir}/usr/share/licenses/${pkgname}/"
- # docs
- install -vDm 644 {NEWS,README.md} \
- -t "${pkgdir}/usr/share/doc/${pkgname}"
+ cd $pkgname-$pkgver
+ waf install --destdir="$pkgdir"
+ install -vDm 644 COPYING -t "$pkgdir/usr/share/licenses/$pkgname/"
+ install -vDm 644 {NEWS,README.md} -t "$pkgdir/usr/share/doc/$pkgname/"
}
# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list