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"
|
2020-04-15 22:41:16 +02:00
|
|
|
pkgver=1.17.2.r1257.c0773f8
|
2015-07-11 19:19:24 +02:00
|
|
|
pkgrel=1
|
2019-10-20 13:01:57 +02:00
|
|
|
pkgdesc="Plugin standard for audio systems (git version)"
|
2015-07-11 19:19:24 +02:00
|
|
|
arch=('i686' 'x86_64')
|
|
|
|
url="http://lv2plug.in/"
|
|
|
|
license=('custom:ISC')
|
2019-10-20 13:01:57 +02:00
|
|
|
makedepends=('asciidoc' 'doxygen' 'git' 'gtk2' 'libsndfile' 'pygmentize'
|
2020-04-15 22:41:16 +02:00
|
|
|
'python-lxml' 'python-markdown' 'python-pygments' 'python-rdflib')
|
2015-07-11 19:19:24 +02:00
|
|
|
optdepends=('libsndfile: example sampler plugin'
|
|
|
|
'gtk2: example scope plugin'
|
2020-01-31 09:23:49 +01:00
|
|
|
'python-lxml: for lv2specgen.py'
|
2020-04-15 22:41:16 +02:00
|
|
|
'python-markdown: for lv2specgen.py'
|
2019-10-20 13:01:57 +02:00
|
|
|
'python-pygments: for lv2specgen.py'
|
|
|
|
'python-rdflib: for lv2specgen.py')
|
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')
|
2019-12-18 10:33:23 +01:00
|
|
|
md5sums=('SKIP'
|
|
|
|
'SKIP')
|
2015-07-11 19:19:24 +02:00
|
|
|
|
2019-10-20 13:01:57 +02:00
|
|
|
|
2015-07-11 19:19:24 +02:00
|
|
|
pkgver() {
|
|
|
|
cd "${srcdir}/${_pkgname}"
|
|
|
|
|
2019-10-20 13:01:57 +02:00
|
|
|
local ver=$(grep '^VERSION' wscript | cut -d "'" -f 2)
|
|
|
|
echo ${ver}.r$(git rev-list --count HEAD).$(git rev-parse --short HEAD)
|
2015-07-11 19:19:24 +02:00
|
|
|
}
|
|
|
|
|
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-10-20 13:01:57 +02:00
|
|
|
python waf configure \
|
|
|
|
--prefix=/usr \
|
|
|
|
--docs \
|
|
|
|
--docdir=/usr/share/doc/${pkgname}
|
2019-05-16 16:52:24 +02:00
|
|
|
python waf build $MAKEFLAGS
|
2015-07-11 19:19:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd "${srcdir}/${_pkgname}"
|
|
|
|
|
2019-10-20 13:01:57 +02:00
|
|
|
python waf install --destdir="${pkgdir}"
|
|
|
|
install -Dm644 COPYING -t "${pkgdir}/usr/share/licenses/${pkgname}"
|
|
|
|
install -Dm644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
|
2015-07-11 19:19:24 +02:00
|
|
|
}
|