# Maintainer: Gimmeapill # Contributor: Boohbah # Contributor: SpepS # Contributor: Bernardo Barros # Contributor: Uli Armbruster # Contributor: Christopher Arndt 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" }