diff options
Diffstat (limited to 'libre/ecasound')
-rw-r--r-- | libre/ecasound/PKGBUILD | 61 | ||||
-rw-r--r-- | libre/ecasound/ruby2.patch | 12 |
2 files changed, 25 insertions, 48 deletions
diff --git a/libre/ecasound/PKGBUILD b/libre/ecasound/PKGBUILD index 8f234aeed..78af5b505 100644 --- a/libre/ecasound/PKGBUILD +++ b/libre/ecasound/PKGBUILD @@ -1,4 +1,4 @@ -# Maintainer (Arch): David Runge <dave@sleepmap.de> +# Maintainer (Arch): David Runge <dave@archlinux.org> # Contributor (Arch): Ray Rashif <schiv@archlinux.org> # Contributor (Arch): Eric Belanger <eric@archlinux.org> # Contributor (Arch): Tom Newsom <Jeepster@gmx.co.uk> @@ -6,64 +6,53 @@ # Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe> pkgname=ecasound -pkgver=2.9.1 -pkgrel=13 -pkgrel+=.par1 +pkgver=2.9.3 +pkgrel=1 +pkgrel+=.parabola1 pkgdesc="Command-line multitrack audio processor" pkgdesc+=", without nonfree faac recommendation" arch=('x86_64') arch+=('i686' 'armv7h') url="https://ecasound.seul.org/ecasound/" -license=('GPL' 'LGPL') +license=('GPL2' 'LGPL2.1') groups=('pro-audio') -depends=('audiofile' 'liblo>=0.28' 'lilv') -makedepends=('python2' 'ruby') -optdepends=('python2: ecamonitor, ECI API' - 'ruby: ECI API' - 'mpg123: MP3 decoding' +depends=('alsa-lib' 'gcc-libs' 'glibc' 'libjack.so' 'libaudiofile.so' +'liblo.so' 'liblilv-0.so' 'libreadline.so' 'libsndfile.so' 'libncursesw.so') +makedepends=('lv2' 'ruby' 'python' 'libmikmod.so') +optdepends=('bash: for libecasoundc-config and libecasound-config' 'lame: MP3 encoding' - 'vorbis-tools: Ogg Vorbis decoding/encoding' - 'faad2: AAC decoding' - 'timidity++: MIDI file input' - 'libmikmod: tracker module') + 'libfaad2: for .aac/.m4a/.mp4 file support' + 'libmikmod.so: for tracker module' + 'mpg123: MP3 decoding' + 'python: for ecamonitor' + 'ruby: ECI API' + 'timidity++: for .mid file support' + 'vorbis-tools: for .ogg file support') replaces=("${pkgname}-libre" "${pkgname}-parabola") conflicts=("${pkgname}-libre" "${pkgname}-parabola") -source=("https://ecasound.seul.org/download/$pkgname-$pkgver.tar.gz" - 'ruby2.patch') -options=('staticlibs') -sha512sums=('b91fd68cb4809fdf62b25323fbf52c9bb7de6663287d5aa2576cc4fb28e322850b7020df2718ed6087f5d9f5f96692a476287378ea65853d01834523e8eb7033' - 'aa1553e81acc41917cc8e62b7e2569106183b4500d687fc17e0b56c8f70e78ae63cd65c4940ef83a13dbb0b320ba51573b6eb43da54b141f846623962838d639') +source=("https://ecasound.seul.org/download/$pkgname-$pkgver.tar.gz") +sha512sums=('4f70e6f54cd05194a4ffe80905e7488d16d32d684c87736dfdac7b3aebf3d20cbf417964d75e00e781f6f0614b8b699061c69fcbf7e1761d66ce1abfcd5f1140') prepare() { cd "$pkgname-$pkgver" - - # fix python2 shebang - sed -e 's:bin/env python:bin/env python2:' \ - -i "ecatools/ecamonitor" - - # fix ruby 2.0 incompatibility + use vendor_ruby for ruby files - patch -Np1 -i "$srcdir/ruby2.patch" + # lv2core is deprecated in favor of lv2: + # https://sourceforge.net/p/ecasound/bugs/52/ + sed -e 's/lv2core/lv2/g' -i configure.ac + # install ruby integration to vendor_ruby + sed -e 's/sitedir/vendordir/' -i configure.ac + autoreconf -vfi } build() { cd "$pkgname-$pkgver" - - PYTHONPATH=/usr/bin/python2 ./configure \ - --prefix=/usr \ - --with-python-includes=/usr/include/python2.7 \ - --with-python-modules=/usr/lib/python2.7 \ - --enable-liboil=no - + ./configure --prefix=/usr make } package() { cd "$pkgname-$pkgver" - make DESTDIR="$pkgdir/" install - # docs install -vDm 644 {AUTHORS,BUGS,NEWS,README,RELNOTES,TODO} \ -t "${pkgdir}/usr/share/doc/${pkgname}/" } - # vim:set ts=2 sw=2 et: diff --git a/libre/ecasound/ruby2.patch b/libre/ecasound/ruby2.patch deleted file mode 100644 index d55f12140..000000000 --- a/libre/ecasound/ruby2.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -aur ecasound-2.9.0.orig/configure ecasound-2.9.0/configure ---- ecasound-2.9.0.orig/configure 2013-03-26 17:14:51.759045636 +0800 -+++ ecasound-2.9.0/configure 2013-03-26 17:15:50.502060731 +0800 -@@ -6535,7 +6535,7 @@ - rubyecasound_support=no - ECA_S_RUBY_SITEDIR="" - else -- ECA_S_RUBY_SITEDIR="`ruby -e 'require "rbconfig"; include Config; print CONFIG["sitedir"] + "/" + CONFIG["MAJOR"] + "." + CONFIG["MINOR"]'`" -+ ECA_S_RUBY_SITEDIR="`ruby -e 'include RbConfig; print CONFIG["vendordir"] + "/" + CONFIG["MAJOR"] + "." + CONFIG["MINOR"]'`" - fi - - |