1 # Maintainer : SpepS <dreamspepser at yahoo dot it>
2 # Contributor: Bernardo Barros <bernardobarros@gmail.com>
3 # Contributor: Ray Rashif <schivmeister@gmail.com>
9 pkgdesc="A standard for plugins and matching host applications, mainly targeted at audio processing and generation."
11 url="http://lv2plug.in/"
12 license=('custom:ISC')
13 makedepends=('subversion' 'rdflib')
14 provides=("$_name=6.0"
15 'lv2-atom' 'lv2-contexts' 'lv2-cv-port' 'lv2-data-access' 'lv2-dynmanifest' 'lv2-event' 'lv2-host-info'
16 'lv2-instance-access' 'lv2-midi' 'lv2-osc' 'lv2-parameter' 'lv2-port-groups' 'lv2-port-props'
17 'lv2-presets' 'lv2-pui' 'lv2-reference' 'lv2-resize-port' 'lv2-state' 'lv2-string-port' 'lv2-time'
18 'lv2-ui' 'lv2-ui-resize' 'lv2-units' 'lv2-urid' 'lv2-uri-map')
20 'lv2-atom' 'lv2-contexts' 'lv2-cv-port' 'lv2-data-access' 'lv2-dynmanifest' 'lv2-event' 'lv2-host-info'
21 'lv2-instance-access' 'lv2-midi' 'lv2-osc' 'lv2-parameter' 'lv2-port-groups' 'lv2-port-props'
22 'lv2-presets' 'lv2-pui' 'lv2-reference' 'lv2-resize-port' 'lv2-state' 'lv2-string-port' 'lv2-time'
23 'lv2-ui' 'lv2-ui-resize' 'lv2-units' 'lv2-urid' 'lv2-uri-map')
25 _svntrunk=http://lv2plug.in/repo/trunk
31 if [ -d $_svnmod/.svn ]; then
32 (cd $_svnmod && svn up -r $pkgver)
34 svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
37 msg "SVN checkout done or server timeout"
38 msg "Starting make..."
40 rm -rf "$srcdir/$_svnmod-build"
41 cp -r "$srcdir/$_svnmod" "$srcdir/$_svnmod-build"
42 cd "$srcdir/$_svnmod-build"
48 python2 waf configure --prefix=/usr --experimental
53 cd "$srcdir/$_svnmod-build"
55 python2 waf install --destdir="$pkgdir/"
58 install -d "$pkgdir/usr/share/licenses/$pkgname"
59 head -n 16 lv2/ns/$_name/$_name.ttl > \
60 "$pkgdir/usr/share/licenses/$pkgname/LICENSE"