2015-07-11 19:19:24 +02:00
|
|
|
# Maintainer: Christopher Arndt <aur -at- chrisarndt -dot- de>
|
|
|
|
# Contributor: speps <speps at aur dot archlinux dot org>
|
|
|
|
|
|
|
|
_pkgname=lv2
|
|
|
|
pkgname="${_pkgname}-git"
|
2019-05-16 16:52:24 +02:00
|
|
|
pkgver=1.16.2.r1186.18a9aef
|
2015-07-11 19:19:24 +02:00
|
|
|
pkgrel=1
|
|
|
|
pkgdesc="A standard for plugins and matching host applications, mainly targeted at audio processing and generation."
|
|
|
|
arch=('i686' 'x86_64')
|
|
|
|
url="http://lv2plug.in/"
|
|
|
|
license=('custom:ISC')
|
2019-05-16 16:52:24 +02:00
|
|
|
makedepends=('git' 'python' 'libsndfile' 'gtk2')
|
2015-07-11 19:19:24 +02:00
|
|
|
optdepends=('libsndfile: example sampler plugin'
|
|
|
|
'gtk2: example scope plugin'
|
2016-01-19 21:07:12 +01:00
|
|
|
'python: lv2specgen script')
|
2018-12-19 17:29:29 +01:00
|
|
|
provides=("${_pkgname}" "${_pkgname}=${pkgver//.r*/}" 'lv2core' "${_pkgname}-svn")
|
2015-07-11 19:19:24 +02:00
|
|
|
conflicts=("${_pkgname}" "${_pkgname}-svn")
|
|
|
|
replaces=('lv2core')
|
2019-05-16 16:52:24 +02:00
|
|
|
source=("${_pkgname}::git+https://gitlab.com/lv2/lv2.git"
|
|
|
|
'autowaf::git+https://gitlab.com/drobilla/autowaf.git')
|
|
|
|
md5sums=('SKIP' 'SKIP')
|
2015-07-11 19:19:24 +02:00
|
|
|
|
|
|
|
pkgver() {
|
|
|
|
cd "${srcdir}/${_pkgname}"
|
|
|
|
|
|
|
|
echo $(awk -F "'" '/^VERSION/{print $2}' wscript).r$(git rev-list --count HEAD).$(git rev-parse --short HEAD)
|
|
|
|
}
|
|
|
|
|
2019-05-16 16:52:24 +02:00
|
|
|
prepare() {
|
|
|
|
cd "${srcdir}/${_pkgname}"
|
|
|
|
|
|
|
|
git submodule init
|
|
|
|
git config submodule.waflib.url "${srcdir}/autowaf"
|
|
|
|
git submodule update
|
|
|
|
}
|
|
|
|
|
2015-07-11 19:19:24 +02:00
|
|
|
build() {
|
|
|
|
cd "${srcdir}/${_pkgname}"
|
|
|
|
|
2019-05-16 16:52:24 +02:00
|
|
|
python waf configure --prefix=/usr
|
|
|
|
python waf build $MAKEFLAGS
|
2015-07-11 19:19:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd "${srcdir}/${_pkgname}"
|
|
|
|
|
2019-05-16 16:52:24 +02:00
|
|
|
python waf install --destdir="$pkgdir"
|
2015-07-11 19:19:24 +02:00
|
|
|
install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
|
|
|
|
}
|