summaryrefslogtreecommitdiff
path: root/extra/ardour/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg047.dnsready.net>2011-07-10 23:13:07 +0000
committerroot <root@rshg047.dnsready.net>2011-07-10 23:13:07 +0000
commit139460a7a8b085588b699c488fd19b166db18a74 (patch)
treec7ef8dc756803db980465dd7bc9186f9c642aa50 /extra/ardour/PKGBUILD
parentd1e588afc2779754c0abd1122ecf4f8e3c863d7a (diff)
Sun Jul 10 23:13:07 UTC 2011
Diffstat (limited to 'extra/ardour/PKGBUILD')
-rw-r--r--extra/ardour/PKGBUILD29
1 files changed, 22 insertions, 7 deletions
diff --git a/extra/ardour/PKGBUILD b/extra/ardour/PKGBUILD
index cee3fc185..89fa98ad1 100644
--- a/extra/ardour/PKGBUILD
+++ b/extra/ardour/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 110738 2011-02-21 22:15:44Z schiv $
+# $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>
@@ -9,29 +9,41 @@
pkgname=ardour
pkgver=2.8.11
-pkgrel=3
+pkgrel=4
pkgdesc="A multichannel hard disk recorder and digital audio workstation"
arch=('i686' 'x86_64')
url="http://ardour.org"
license=('GPL')
-depends=('liblrdf>=0.4.0-7' 'liblo' 'aubio' 'libusb-compat'
- 'slv2>=0.6.6-3' 'rubberband' 'libgnomecanvas')
+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)
+ ${pkgname}.desktop
+ gcc46.patch)
md5sums=('f451a8d0abc133a1700c3932e07a5612'
- '8aeaf433ebf781733db48e5a16b0c4da')
+ '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}"
}
@@ -41,10 +53,13 @@ package() {
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"
+ install -Dm644 "${srcdir}/${pkgname}.desktop" \
+ "${pkgdir}/usr/share/applications/${pkgname}.desktop"
}
# vim:set ts=2 sw=2 et: