updated on Sat Jan 21 16:18:39 UTC 2012
[aur-mirror.git] / lilv / PKGBUILD
blob5c1c936dce4a0003020e89180f043461e939019b
1 # Maintainer: SpepS <dreamspepser at yahoo dot it>
3 pkgname=lilv
4 pkgver=0.5.0
5 pkgrel=3
6 pkgdesc="A library to make the use of LV2 plugins as simple as possible for applications."
7 arch=(i686 x86_64)
8 url="http://drobilla.net/software/$pkgname/"
9 license=('custom:ISC')
10 depends=('python2' 'lv2core' 'sord>=0.5.0' 'sord<1.0.0' 'jack')
11 makedepends=('swig' 'lv2-dynmanifest')
12 optdepends=('bash-completion: auto-complete words')
13 source=("http://download.drobilla.net/$pkgname-$pkgver.tar.bz2"
14         "lilvmm.patch::http://dev.drobilla.net/changeset/3583/trunk/lilv/lilv/lilvmm.hpp?format=diff&new=3583")
15 md5sums=('88f5a60ef4e217b6c44a4eff4ccf0ce9'
16          'ce4214f899b1fb63765abd19812416ee')
18 build() {
19   cd "$srcdir/$pkgname-$pkgver"
21   export PYTHON="/usr/bin/python2"
23   # remove ldconfig
24   sed -i "/ldconfig/d" wscript
26   # dynamic manifest fix
27   sed -i 's/dyn-manifest/dynmanifest/g' `grep -rl dyn-manifest .`
29   # fix #777 (lilv BTS)
30   patch -p2 -i ../lilvmm.patch
32   python2 ./waf configure --prefix=/usr \
33                           --mandir=/usr/share/man \
34                           --configdir=/etc \
35                           --dynmanifest \
36                           --bindings
37   python2 ./waf
40 package() {
41   cd "$srcdir/$pkgname-$pkgver"
43   DESTDIR="$pkgdir" python2 ./waf install
45   # license
46   install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
49 # vim:set ts=2 sw=2 et: