blob: 6ae56e007dd34b67a625d67401e0e6f16ace3403 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
|
# Maintainer: Gimmeapill <gimmeapill at gmail dot com>
# Contributor: Boohbah <boohbah at gmail.com>
# Contributor: SpepS <dreamspepser at yahoo.it>
# Contributor: Bernardo Barros <bernardobarros at gmail.com>
# Contributor: Uli Armbruster <uli_armbruster at web.de>
# Contributor: Christopher Arndt <chris at chrisarndt.de>
pkgname=ardour_stable-git
pkgver=5.12
pkgrel=1
pkgdesc="A multichannel hard disk recorder and digital audio workstation. Latest stable release from git."
arch=('i686' 'x86_64')
url="http://ardour.org/"
license=('GPL')
depends=('aubio' 'cwiid' 'gtkmm' 'liblo' 'liblrdf' 'lilv' 'suil' 'rubberband' 'taglib' 'libarchive')
makedepends=('git' 'python2' 'boost' 'cppunit' 'doxygen' 'graphviz' 'itstool')
provides=('ardour')
conflicts=('ardour' 'ardour-git')
source=("${pkgname%-*}::git://github.com/Ardour/ardour.git"
'ardour.desktop')
md5sums=('SKIP'
'd4e6590ea931cbb539a159d3565802a2')
pkgver() {
cd "${srcdir}/${pkgname%-*}"
#get the latest release without commit
#git describe --abbrev=0
#the 6.0-pre0 tag breaks the detection of the pkgversion.
#Hard coding version as a workaroud to fix the build until a better way is found (which defeats the purpose of this package).
echo "5.12"
}
build() {
cd "${srcdir}/${pkgname%-*}"
# rollback any change posterior to the release tag. There is probably a better way.
git reset --hard ${pkgver}
# configure and build as usual.
python2 waf configure --prefix=/usr \
--configdir=/etc \
--with-backends=jack,alsa,dummy \
--libjack=weak \
--optimize \
--docs \
--cxx11 \
--no-phone-home
python2 waf build $MAKEFLAGS
}
package() {
cd "${srcdir}/${pkgname%-*}"
python2 waf --destdir="${pkgdir}" install
# Install freedesktop.org compatible application starter desktop file
install -Dm644 "${srcdir}/ardour.desktop" \
"${pkgdir}/usr/share/applications/ardour.desktop"
}
|