2013-04-28 19:46:14 +08:00
|
|
|
pkgname=lilv
|
2013-04-28 20:28:19 +08:00
|
|
|
pkgver=0.16.0
|
2013-04-28 19:46:14 +08:00
|
|
|
pkgrel=1
|
2013-04-28 20:28:19 +08:00
|
|
|
pkgdesc="A library to make the use of LV2 plugins as simple as possible for applications"
|
2013-04-28 19:46:14 +08:00
|
|
|
arch=('x86_64')
|
2013-04-28 20:28:19 +08:00
|
|
|
url="http://drobilla.net/software/lilv/"
|
2013-04-28 19:46:14 +08:00
|
|
|
license=('custom:ISC')
|
2013-04-28 20:28:19 +08:00
|
|
|
depends=('python2' 'sratom>=0.4.2' 'jack')
|
2013-04-28 19:46:14 +08:00
|
|
|
makedepends=('swig')
|
|
|
|
optdepends=('bash-completion: auto-complete words')
|
2013-04-28 20:28:19 +08:00
|
|
|
source=("http://download.drobilla.net/$pkgname-$pkgver.tar.bz2"
|
|
|
|
'lilvmm.patch')
|
|
|
|
md5sums=('12eb71f2b5b8a68e15c1c816896bcb9f'
|
|
|
|
'd34207f8ca3586650ad7c50284ffb3e0')
|
|
|
|
|
2013-04-28 19:46:14 +08:00
|
|
|
build() {
|
|
|
|
cd "$srcdir/$pkgname-$pkgver"
|
2013-04-28 20:28:19 +08:00
|
|
|
|
|
|
|
# fix UI API error
|
|
|
|
# backport of http://dev.drobilla.net/changeset/5092
|
|
|
|
patch -Np2 -i "$srcdir/lilvmm.patch"
|
|
|
|
|
|
|
|
# pick up python2 even when python3 exists
|
|
|
|
# (the build system has flaky support for python3)
|
2013-04-28 19:46:14 +08:00
|
|
|
export PYTHON="/usr/bin/python2"
|
2013-04-28 20:28:19 +08:00
|
|
|
|
|
|
|
# remove ldconfig --speps
|
2013-04-28 19:46:14 +08:00
|
|
|
sed -i "/ldconfig/d" wscript
|
2013-04-28 20:28:19 +08:00
|
|
|
|
|
|
|
python2 waf configure --prefix=/usr \
|
|
|
|
--configdir=/etc \
|
|
|
|
--dyn-manifest \
|
|
|
|
--bindings
|
|
|
|
|
|
|
|
python2 waf build $MAKEFLAGS
|
2013-04-28 19:46:14 +08:00
|
|
|
}
|
2013-04-28 20:28:19 +08:00
|
|
|
|
2013-04-28 19:46:14 +08:00
|
|
|
package() {
|
|
|
|
cd "$srcdir/$pkgname-$pkgver"
|
2013-04-28 20:28:19 +08:00
|
|
|
|
|
|
|
python2 waf install --destdir="$pkgdir"
|
|
|
|
|
2013-04-28 19:46:14 +08:00
|
|
|
# license
|
|
|
|
install -Dm644 COPYING \
|
|
|
|
"$pkgdir/usr/share/licenses/$pkgname/LICENSE"
|
|
|
|
}
|
2013-04-28 20:28:19 +08:00
|
|
|
|