mirror of
https://gitdl.cn/https://github.com/chakralinux/gtk.git
synced 2025-02-12 01:04:39 +08:00
44 lines
1.1 KiB
Bash
44 lines
1.1 KiB
Bash
pkgname=ardour
|
|
_pkgname=Ardour3
|
|
pkgver=3.5.308
|
|
pkgrel=1
|
|
pkgdesc="Professional-grade digital audio workstation"
|
|
arch=('x86_64')
|
|
url="http://ardour.org/"
|
|
license=('GPL')
|
|
depends=('liblrdf' 'liblo' 'libsmf' 'lilv'
|
|
'aubio' 'libgnomecanvasmm' 'suil')
|
|
makedepends=('python2' 'boost' 'cppunit' 'doxygen' 'graphviz')
|
|
install=$pkgname.install
|
|
source=("ftp://ftp.archlinux.org/other/$pkgname/${_pkgname}-$pkgver.tar.bz2"
|
|
"$pkgname.desktop")
|
|
md5sums=('710e084d5edeb3c216c8fdd57f6ed744'
|
|
'3755e6f9518fae4c47927cf615998262')
|
|
|
|
prepare() {
|
|
cd "$srcdir/$_pkgname-$pkgver"
|
|
|
|
# python2 fix
|
|
#sed -i 's/python ${SRC}/python2 ${SRC}/' libs/pbd/wscript
|
|
}
|
|
|
|
build() {
|
|
cd "$srcdir/$_pkgname-$pkgver"
|
|
|
|
python2 waf configure --prefix=/usr \
|
|
--configdir=/etc \
|
|
--docs
|
|
|
|
python2 waf build $MAKEFLAGS
|
|
}
|
|
|
|
package() {
|
|
cd "$srcdir/$_pkgname-$pkgver"
|
|
|
|
python2 waf install --destdir="$pkgdir"
|
|
|
|
# install some freedesktop.org compatibility
|
|
install -Dm644 "$srcdir/$pkgname.desktop" \
|
|
"$pkgdir/usr/share/applications/$pkgname.desktop"
|
|
}
|