Created
June 13, 2012 04:19
-
-
Save kasbah/2921849 to your computer and use it in GitHub Desktop.
clam PKGBUILD
This file contains hidden or 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
# Maintainer: Santiago Piccinini <gringotumadre at gmail dot com> | |
pkgname=clam | |
pkgver=1.4.0 | |
pkgrel=3 | |
pkgdesc="C++ Library for Audio and Music" | |
arch=('i686' 'x86_64') | |
url="http://clam-project.org" | |
license=('GPL') | |
depends=('fftw' 'libxml++' 'id3lib' 'ladspa' 'libmad' 'libogg' 'libvorbis' 'libxi' 'libsndfile' 'portaudio' 'jack') | |
makedepends=('scons' ) | |
source=(http://clam-project.org/download/src/CLAM-$pkgver.tar.gz | |
Connection_gcc-4.6.patch | |
MIDISongPlayer_gcc-4.6.patch) | |
md5sums=('614bb957a7aeecc667e144a46a1b87d2' | |
'339266b95a000d14db5d523f76e061f6' | |
'ca5aa273915039fe7a4106a60c72507b') | |
build() { | |
install -d $pkgdir/usr | |
cd "$srcdir/CLAM-$pkgver" | |
patch -p1 < $startdir/Connection_gcc-4.6.patch | |
patch -p1 < $startdir/MIDISongPlayer_gcc-4.6.patch | |
sed -ie '/#include <typeinfo>/i #include "TypeInfo.hxx"' src/Flow/Ports/OutPort.hxx | |
scons configure verbose=1 release=1 xmlbackend='xmlpp' prefix=/usr prefix_for_packaging=$pkgdir/usr | |
scons | |
} | |
package() { | |
cd "$srcdir/CLAM-$pkgver" | |
scons install | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment