blob: 2cf150034a5c377642b0bdf3fb45f2612508b56b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
|
# Maintainer: Christopher Arndt <aur -at- chrisarndt -dot- de>
# Contributor: prettyvanilla <prettyvanilla@posteo.at>
# Contributor: SpepS <dreamspepser at yahoo dot it>
_pkgname=lilv
pkgname="${_pkgname}-git"
pkgver=0.24.6.r1258.425af42
pkgrel=2
pkgdesc="A C library interface to the LV2 plug-in standard with Python bindings (git version)"
arch=('i686' 'x86_64')
url="http://drobilla.net/software/lilv"
license=("custom:ISC")
depends=('lv2' 'python' 'sratom')
makedepends=('git' 'libsndfile')
optdepends=(
"bash-completion: completion for bash"
"libsndfile: lv2apply utility"
)
provides=("${_pkgname}" "${_pkgname}=${pkgver//.r*/}" "lib${_pkgname}-${pkgver::1}.so")
conflicts=("${_pkgname}" "${_pkgname}-svn")
source=("${_pkgname}::git+https://gitlab.com/lv2/${_pkgname}.git"
'autowaf::git+https://gitlab.com/drobilla/autowaf.git'
'lilv-no-empty-collection-assert.patch')
md5sums=('SKIP'
'SKIP'
'5d60a2514d5f81c5335d9278057bf0ae')
pkgver() {
cd "${srcdir}/${_pkgname}"
local ver=`grep "^LILV_VERSION" wscript | cut -d "'" -f 2`
echo "$ver.r$(git rev-list --count HEAD).$(git rev-parse --short HEAD)"
}
prepare() {
cd "${srcdir}/${_pkgname}"
git submodule init
git config submodule.waflib.url "${srcdir}/autowaf"
git submodule update
patch -p1 -N -i "${srcdir}"/lilv-no-empty-collection-assert.patch
}
check() {
cd "${srcdir}/${_pkgname}"
python waf test -v -v
}
build() {
cd "${srcdir}/${_pkgname}"
python waf configure \
--prefix=/usr \
--configdir=/etc \
--dyn-manifest \
--test
python waf $MAKEFLAGS
}
package() {
cd "${srcdir}/${_pkgname}"
python waf install --destdir="${pkgdir}"
# license
install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
|