From e96423b261d094f18bd81b1941ba6b07ec1fa4c5 Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Tue, 26 Aug 2014 21:05:55 -0300 Subject: add parabola suffix on some packages --- libre/ecasound-parabola/PKGBUILD | 57 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 libre/ecasound-parabola/PKGBUILD (limited to 'libre/ecasound-parabola/PKGBUILD') diff --git a/libre/ecasound-parabola/PKGBUILD b/libre/ecasound-parabola/PKGBUILD new file mode 100644 index 000000000..58f2f40f6 --- /dev/null +++ b/libre/ecasound-parabola/PKGBUILD @@ -0,0 +1,57 @@ +# $Id: PKGBUILD 205044 2014-02-03 17:11:21Z schiv $ +# Maintainer (Arch): Ray Rashif +# Contributor (Arch): Eric Belanger +# Contributor (Arch): Tom Newsom +# Maintainer: André Silva + +_pkgname=ecasound +pkgname=ecasound-parabola +pkgver=2.9.1 +pkgrel=2 +pkgdesc="Command-line multitrack audio processor, without nonfree faac recommendation" +arch=('i686' 'x86_64' 'mips64el') +url="http://www.eca.cx/ecasound/" +license=('GPL' 'LGPL') +depends=('audiofile' 'liblo>=0.28' '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}" "${_pkgname}-libre") +conflicts=("${_pkgname}" "${_pkgname}-libre") +provides=(${_pkgname}=${pkgver}) +source=("http://ecasound.seul.org/download/$_pkgname-$pkgver.tar.gz" + 'ruby2.patch') +md5sums=('13c7be1e4eddc0bbf3792dc17777e465' + '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: -- cgit v1.2.3-54-g00ecf