summaryrefslogtreecommitdiff
path: root/testing/ardour/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg047.dnsready.net>2011-07-09 23:10:17 +0000
committerroot <root@rshg047.dnsready.net>2011-07-09 23:10:17 +0000
commitd1e588afc2779754c0abd1122ecf4f8e3c863d7a (patch)
treeb9373ca2187d6796b8045bae62418621abf01ff4 /testing/ardour/PKGBUILD
parentd006db78a1ce530e9df8a65f87bf39e8d6cc88e5 (diff)
Sat Jul 9 23:10:17 UTC 2011
Diffstat (limited to 'testing/ardour/PKGBUILD')
-rw-r--r--testing/ardour/PKGBUILD65
1 files changed, 65 insertions, 0 deletions
diff --git a/testing/ardour/PKGBUILD b/testing/ardour/PKGBUILD
new file mode 100644
index 000000000..89fa98ad1
--- /dev/null
+++ b/testing/ardour/PKGBUILD
@@ -0,0 +1,65 @@
+# $Id: PKGBUILD 130903 2011-07-08 19:43:04Z schiv $
+# Maintainer: tobias <tobias@archlinux.org>
+# Maintainer: Ray Rashif <schiv@archlinux.org>
+# Contributor: Giovanni Scafora <giovanni@archlinux.org>
+
+# ardour, liblrdf and raptor are heavily dependent on each other. Updating of
+# one package mostly will require an update of all the other packages. I vote
+# for fixed dependencies speaking in terms of versions
+
+pkgname=ardour
+pkgver=2.8.11
+pkgrel=4
+pkgdesc="A multichannel hard disk recorder and digital audio workstation"
+arch=('i686' 'x86_64')
+url="http://ardour.org"
+license=('GPL')
+depends=('liblrdf' 'liblo' 'aubio' 'libusb-compat'
+ 'libgnomecanvasmm' 'soundtouch')
+ # -rubberband -libgnomecanvas(+libgnomecanvasmm)
+ # +soundtouch -slv2
+makedepends=('scons' 'boost' 'pkg-config')
+changelog=${pkgname}.changelog
+source=(ftp://ftp.archlinux.org/other/ardour/${pkgname}-${pkgver}.tar.bz2
+ ${pkgname}.desktop
+ gcc46.patch)
+md5sums=('f451a8d0abc133a1700c3932e07a5612'
+ '8aeaf433ebf781733db48e5a16b0c4da'
+ 'd709add59911d099c813162448e4db99')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ # gcc 4.6 compatibility
+ patch -Np1 -i "$srcdir/gcc46.patch"
+
+ sed -i '/-O3/d' SConstruct
+
+ # use syslibs until internal sigc++ issue w/ latest gcc resolves
+ # TODO: report upstream
+ scons ${MAKEFLAGS} ARCH="${CFLAGS}" \
+ PREFIX="/usr" \
+ DIST_LIBDIR="lib" \
+ FREEDESKTOP=0 \
+ FREESOUND=1 \
+ SYSLIBS=1 \
+ LV2=0 \
+ DESTDIR="${pkgdir}"
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ scons PREFIX="/usr" \
+ FREEDESKTOP=0 \
+ FREESOUND=1 \
+ SYSLIBS=1 \
+ LV2=0 \
+ DESTDIR="${pkgdir}" install
+
+ # install some freedesktop.org compatibility
+ install -Dm644 "${srcdir}/${pkgname}.desktop" \
+ "${pkgdir}/usr/share/applications/${pkgname}.desktop"
+}
+
+# vim:set ts=2 sw=2 et: