# $Id: PKGBUILD 199462 2013-11-13 08:34:51Z schiv $ # Maintainer: Ray Rashif # Contributor: Eric Belanger # Contributor: Tom Newsom # Maintainer (Parabola): André Silva _pkgname=ecasound pkgname=ecasound-libre pkgver=2.9.0 pkgrel=4 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 source=("http://ecasound.seul.org/download/$_pkgname-$pkgver.tar.gz" 'ruby2.patch') md5sums=('05e7d4664cdf4c7a138c098e9506a551' '6909dbd4f67f76d3bd31ce7c7fe16212') build() { cd "$srcdir/$_pkgname-$pkgver" # fix ruby 2.0 incompatibility + use vendor_ruby for ruby files patch -Np1 -i "$srcdir/ruby2.patch" 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: