2013-04-28 19:46:14 +08:00
|
|
|
pkgname=lilv
|
2015-01-09 07:46:55 +08:00
|
|
|
pkgver=0.20.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')
|
2015-01-10 07:32:58 +08:00
|
|
|
depends=('python2-numpy' 'sratom>=0.4.6' 'jack')
|
2013-04-28 19:46:14 +08:00
|
|
|
makedepends=('swig')
|
|
|
|
optdepends=('bash-completion: auto-complete words')
|
2015-01-09 07:46:55 +08:00
|
|
|
source=("http://download.drobilla.net/$pkgname-$pkgver.tar.bz2")
|
|
|
|
md5sums=('f88419fa70cc96dfdc7e0bf3cd09b180')
|
2013-04-28 20:28:19 +08:00
|
|
|
|
2013-04-28 19:46:14 +08:00
|
|
|
build() {
|
|
|
|
cd "$srcdir/$pkgname-$pkgver"
|
2013-04-28 20:28:19 +08:00
|
|
|
|
|
|
|
# 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
|
|
|
|