Build is incompatible with Python 3.7+, use Python 2 instead

Signed-off-by: Christopher Arndt <chris@chrisarndt.de>
This commit is contained in:
Christopher Arndt 2018-08-14 21:17:39 +02:00
parent 511c08671c
commit 768624e047
2 changed files with 7 additions and 7 deletions

View file

@ -1,13 +1,13 @@
pkgbase = lv2-git
pkgdesc = A standard for plugins and matching host applications, mainly targeted at audio processing and generation.
pkgver = 1.15.3.r1077.728196c
pkgver = 1.15.3.r1087.4e8d3dc
pkgrel = 1
url = http://lv2plug.in/
arch = i686
arch = x86_64
license = custom:ISC
makedepends = git
makedepends = python
makedepends = python2
makedepends = libsndfile
makedepends = gtk2
optdepends = libsndfile: example sampler plugin

View file

@ -3,13 +3,13 @@
_pkgname=lv2
pkgname="${_pkgname}-git"
pkgver=1.15.3.r1077.728196c
pkgver=1.15.3.r1087.4e8d3dc
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')
makedepends=('git' 'python' 'libsndfile' 'gtk2')
makedepends=('git' 'python2' 'libsndfile' 'gtk2')
optdepends=('libsndfile: example sampler plugin'
'gtk2: example scope plugin'
'python: lv2specgen script')
@ -28,13 +28,13 @@ pkgver() {
build() {
cd "${srcdir}/${_pkgname}"
python waf configure --prefix=/usr
python waf build $MAKEFLAGS
python2 waf configure --prefix=/usr
python2 waf build $MAKEFLAGS
}
package() {
cd "${srcdir}/${_pkgname}"
python waf install --destdir="$pkgdir"
python2 waf install --destdir="$pkgdir"
install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}