Update pkdesc, makedepends amd optdepends, install docs
Signed-off-by: Christopher Arndt <chris@chrisarndt.de>
This commit is contained in:
parent
12d7b7a2ac
commit
70b618b5bf
15
.SRCINFO
15
.SRCINFO
|
@ -1,18 +1,23 @@
|
|||
pkgbase = lv2-git
|
||||
pkgdesc = A standard for plugins and matching host applications, mainly targeted at audio processing and generation.
|
||||
pkgver = 1.16.2.r1186.18a9aef
|
||||
pkgdesc = Plugin standard for audio systems (git version)
|
||||
pkgver = 1.16.2.r1189.49777ff
|
||||
pkgrel = 1
|
||||
url = http://lv2plug.in/
|
||||
arch = i686
|
||||
arch = x86_64
|
||||
license = custom:ISC
|
||||
makedepends = asciidoc
|
||||
makedepends = doxygen
|
||||
makedepends = git
|
||||
makedepends = python
|
||||
makedepends = libsndfile
|
||||
makedepends = gtk2
|
||||
makedepends = libsndfile
|
||||
makedepends = pygmentize
|
||||
makedepends = python-pygments
|
||||
makedepends = python-rdflib
|
||||
optdepends = libsndfile: example sampler plugin
|
||||
optdepends = gtk2: example scope plugin
|
||||
optdepends = python: lv2specgen script
|
||||
optdepends = python-pygments: for lv2specgen.py
|
||||
optdepends = python-rdflib: for lv2specgen.py
|
||||
provides = lv2
|
||||
provides = lv2=1.16.2
|
||||
provides = lv2core
|
||||
|
|
24
PKGBUILD
24
PKGBUILD
|
@ -3,16 +3,18 @@
|
|||
|
||||
_pkgname=lv2
|
||||
pkgname="${_pkgname}-git"
|
||||
pkgver=1.16.2.r1186.18a9aef
|
||||
pkgver=1.16.2.r1189.49777ff
|
||||
pkgrel=1
|
||||
pkgdesc="A standard for plugins and matching host applications, mainly targeted at audio processing and generation."
|
||||
pkgdesc="Plugin standard for audio systems (git version)"
|
||||
arch=('i686' 'x86_64')
|
||||
url="http://lv2plug.in/"
|
||||
license=('custom:ISC')
|
||||
makedepends=('git' 'python' 'libsndfile' 'gtk2')
|
||||
makedepends=('asciidoc' 'doxygen' 'git' 'gtk2' 'libsndfile' 'pygmentize'
|
||||
'python-pygments' 'python-rdflib')
|
||||
optdepends=('libsndfile: example sampler plugin'
|
||||
'gtk2: example scope plugin'
|
||||
'python: lv2specgen script')
|
||||
'python-pygments: for lv2specgen.py'
|
||||
'python-rdflib: for lv2specgen.py')
|
||||
provides=("${_pkgname}" "${_pkgname}=${pkgver//.r*/}" 'lv2core' "${_pkgname}-svn")
|
||||
conflicts=("${_pkgname}" "${_pkgname}-svn")
|
||||
replaces=('lv2core')
|
||||
|
@ -20,10 +22,12 @@ source=("${_pkgname}::git+https://gitlab.com/lv2/lv2.git"
|
|||
'autowaf::git+https://gitlab.com/drobilla/autowaf.git')
|
||||
md5sums=('SKIP' 'SKIP')
|
||||
|
||||
|
||||
pkgver() {
|
||||
cd "${srcdir}/${_pkgname}"
|
||||
|
||||
echo $(awk -F "'" '/^VERSION/{print $2}' wscript).r$(git rev-list --count HEAD).$(git rev-parse --short HEAD)
|
||||
local ver=$(grep '^VERSION' wscript | cut -d "'" -f 2)
|
||||
echo ${ver}.r$(git rev-list --count HEAD).$(git rev-parse --short HEAD)
|
||||
}
|
||||
|
||||
prepare() {
|
||||
|
@ -37,13 +41,17 @@ prepare() {
|
|||
build() {
|
||||
cd "${srcdir}/${_pkgname}"
|
||||
|
||||
python waf configure --prefix=/usr
|
||||
python waf configure \
|
||||
--prefix=/usr \
|
||||
--docs \
|
||||
--docdir=/usr/share/doc/${pkgname}
|
||||
python waf build $MAKEFLAGS
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "${srcdir}/${_pkgname}"
|
||||
|
||||
python waf install --destdir="$pkgdir"
|
||||
install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
|
||||
python waf install --destdir="${pkgdir}"
|
||||
install -Dm644 COPYING -t "${pkgdir}/usr/share/licenses/${pkgname}"
|
||||
install -Dm644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue