summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@lavabit.com>2013-03-13 21:23:21 -0300
committerAndré Fabian Silva Delgado <emulatorman@lavabit.com>2013-03-13 21:23:21 -0300
commitbb15593b35cf0e819d59d3a7d1996259db739511 (patch)
tree3390cab9570461fb4e6576ccbe6144fd6cad41f2
parent6b1b0df9cc520ba41d2b5bd07046274817572596 (diff)
downloadabslibre-bb15593b35cf0e819d59d3a7d1996259db739511.tar.gz
abslibre-bb15593b35cf0e819d59d3a7d1996259db739511.tar.bz2
abslibre-bb15593b35cf0e819d59d3a7d1996259db739511.zip
ecasound-libre: adding new package to [libre] repo
-rw-r--r--libre/ecasound-libre/PKGBUILD57
1 files changed, 57 insertions, 0 deletions
diff --git a/libre/ecasound-libre/PKGBUILD b/libre/ecasound-libre/PKGBUILD
new file mode 100644
index 000000000..773aa4dc7
--- /dev/null
+++ b/libre/ecasound-libre/PKGBUILD
@@ -0,0 +1,57 @@
+# $Id$
+# Maintainer: Ray Rashif <schiv@archlinux.org>
+# Contributor: Eric Belanger <eric@archlinux.org>
+# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
+# Maintainer (Parabola): André Silva <emulatorman@lavabit.com>
+
+_pkgname=ecasound
+pkgname=ecasound-libre
+pkgver=2.9.0
+pkgrel=2
+pkgdesc="A software package designed for multitrack audio processing (without nonfree faac recommendation)"
+arch=('i686' 'x86_64')
+url="http://www.eca.cx/ecasound/"
+license=('GPL' 'LGPL')
+depends=('audiofile' 'liblo'
+ 'liboil' 'lilv')
+makedepends=('python2' 'ruby')
+optdepends=('python2: ecamonitor, ECI API'
+ 'ruby: ECI API'
+ 'mpg123: MP3 decoding'
+ 'lame: MP3 encoding'
+ 'vorbis-tools: Ogg Vorbis decoding/encoding'
+ 'faad2: AAC decoding'
+ 'timidity++: MIDI file input'
+ 'libmikmod: tracker module')
+replaces=$_pkgname
+conflicts=$_pkgname
+provides=$_pkgname=$pkgver
+options=('!libtool')
+source=(http://ecasound.seul.org/download/$_pkgname-$pkgver.tar.gz)
+md5sums=('05e7d4664cdf4c7a138c098e9506a551')
+
+build() {
+ cd "$srcdir/$_pkgname-$pkgver"
+
+ # use vendor_ruby for ruby files
+ sed -e 's/CONFIG\["sitedir"\]/CONFIG\["vendordir"\]/' -i configure
+
+ PYTHONPATH=/usr/bin/python2 ./configure \
+ --prefix=/usr \
+ --with-python-includes=/usr/include/python2.7 \
+ --with-python-modules=/usr/lib/python2.7
+
+ make
+}
+
+package() {
+ cd "$srcdir/$_pkgname-$pkgver"
+
+ make DESTDIR="$pkgdir/" install
+
+ # fix for python 2.7
+ sed -i 's:bin/env python:bin/env python2:' \
+ "$pkgdir/usr/bin/ecamonitor"
+}
+
+# vim:set ts=2 sw=2 et: