This repository has been archived by the owner on May 20, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 248
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
upstream release git-svn-id: file:///srv/repos/svn-packages/svn@59009 eb2447ed-0c53-47e4-bac8-5bc4a241df78
- Loading branch information
giovanni
committed
Nov 19, 2009
1 parent
e6b9b2b
commit d626a21
Showing
1 changed file
with
37 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,55 +1,60 @@ | ||
# $Id$ | ||
# Maintainer: tobias <[email protected]> | ||
# Contributor: ... let's say it was teamwork ... | ||
# Contributor: Giovanni Scafora <[email protected]> | ||
|
||
# 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 | ||
pkgver=2.8.4 | ||
pkgrel=1 | ||
pkgdesc="A multichannel hard disk recorder and digital audio workstation" | ||
arch=(i686 x86_64) | ||
license=('GPL2') | ||
arch=('i686' 'x86_64') | ||
url="http://ardour.org" | ||
depends=('liblrdf>=0.4.0-5' | ||
'ladspa>=1.13' 'libgnomecanvasmm>=2.26.0' | ||
'liblo>=0.25' 'libusb>=0.1.12' 'aubio>=0.3.2' 'libsndfile>=1.0.19') | ||
makedepends=('scons' 'boost' 'soundtouch') | ||
license=('GPL2') | ||
depends=('liblrdf>=0.4.0-5' 'liblrdf<0.4.1' 'libgnomecanvasmm>=2.26.0' | ||
'liblo>=0.26' 'aubio' 'libusb>=0.1.12' 'aubio>=0.3.2') | ||
makedepends=('scons' 'boost' 'pkgconfig' 'soundtouch>=1.4.0-2') | ||
install=${pkgname}.install | ||
source=(ftp://ftp.archlinux.org/other/ardour/${pkgname}-${pkgver}.tar.bz2 | ||
${pkgname}.desktop | ||
100_syslibs.patch) | ||
md5sums=('24bd768dbe08f1f2724dc97704ee0518' | ||
'8aeaf433ebf781733db48e5a16b0c4da' | ||
'98b6f1d56af73b18f126b200456ce312') | ||
${pkgname}.desktop) | ||
md5sums=('7ab850e9153bb4282f2ed95aad152805' | ||
'8aeaf433ebf781733db48e5a16b0c4da') | ||
|
||
build() { | ||
# start building ardour now | ||
cd "${srcdir}/${pkgname}-${pkgver}" | ||
patch -Np1 -i "${srcdir}/100_syslibs.patch" || return 1 | ||
sed -i -e "s@/configure@& --prefix=/usr@g" libs/libsndfile/SConscript || return 1 | ||
sed -i -e "s/lib64/lib/g" SConstruct || return 1 | ||
sed -i "s/_protocol.h>/\0\n#include <cstring>/g" libs/surfaces/tranzport/screen.cc || return 1 | ||
|
||
# force -O2 from the CFLAGS in makepkg.conf | ||
sed -i '/-O3/d' SConstruct || return 1 | ||
scons ARCH="${CFLAGS}" \ | ||
|
||
scons $MAKEFLAGS ARCH="$CFLAGS" \ | ||
PREFIX="/usr" \ | ||
NLS=yes \ | ||
FREEDESKTOP=no \ | ||
NJOBS="${MAKEFLAGS}" \ | ||
SYSLIBS=yes \ | ||
VST=0 \ | ||
NLS=1 \ | ||
FREEDESKTOP=0 \ | ||
SYSLIBS=1 \ | ||
VST=0 \ | ||
WIIMOTE=0 \ | ||
LV2=0 \ | ||
FREESOUND=1 \ | ||
LIBLO=1 \ | ||
AUBIO=1 \ | ||
TRANZPORT=1 \ | ||
DIST_LIBDIR=lib \ | ||
DESTDIR="${pkgdir}" || return 1 | ||
|
||
scons PREFIX="/usr" \ | ||
NLS=yes \ | ||
FREEDESKTOP=no \ | ||
SYSLIBS=yes \ | ||
VST=0 \ | ||
NLS=1 \ | ||
FREEDESKTOP=0 \ | ||
SYSLIBS=1 \ | ||
VST=0 \ | ||
WIIMOTE=0 \ | ||
LV2=0 \ | ||
FREESOUND=1 \ | ||
LIBLO=1 \ | ||
AUBIO=1 \ | ||
TRANZPORT=1 \ | ||
DIST_LIBDIR=lib \ | ||
DESTDIR="${pkgdir}" install || return 1 | ||
|
||
# install some freedesktop.org compatibility | ||
install -m755 -d "${pkgdir}/usr/share/applications" | ||
install -m644 "${srcdir}/${pkgname}.desktop" "${pkgdir}/usr/share/applications/" || return 1 | ||
install -Dm644 "${srcdir}/${pkgname}.desktop" "${pkgdir}/usr/share/applications/${pkgname}.desktop" || return 1 | ||
} |