[arch-commits] Commit in ecasound/repos (6 files)

Anatol Pomozov anatolik at archlinux.org
Tue Dec 30 18:41:46 UTC 2014


    Date: Tuesday, December 30, 2014 @ 19:41:45
  Author: anatolik
Revision: 228188

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  ecasound/repos/testing-i686/
  ecasound/repos/testing-i686/PKGBUILD
    (from rev 228187, ecasound/trunk/PKGBUILD)
  ecasound/repos/testing-i686/ruby2.patch
    (from rev 228187, ecasound/trunk/ruby2.patch)
  ecasound/repos/testing-x86_64/
  ecasound/repos/testing-x86_64/PKGBUILD
    (from rev 228187, ecasound/trunk/PKGBUILD)
  ecasound/repos/testing-x86_64/ruby2.patch
    (from rev 228187, ecasound/trunk/ruby2.patch)

----------------------------+
 testing-i686/PKGBUILD      |   54 +++++++++++++++++++++++++++++++++++++++++++
 testing-i686/ruby2.patch   |   12 +++++++++
 testing-x86_64/PKGBUILD    |   54 +++++++++++++++++++++++++++++++++++++++++++
 testing-x86_64/ruby2.patch |   12 +++++++++
 4 files changed, 132 insertions(+)

Copied: ecasound/repos/testing-i686/PKGBUILD (from rev 228187, ecasound/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2014-12-30 18:41:45 UTC (rev 228188)
@@ -0,0 +1,54 @@
+# $Id$
+# Maintainer: Ray Rashif <schiv at archlinux.org>
+# Contributor: Eric Belanger <eric at archlinux.org>
+# Contributor: Tom Newsom <Jeepster at gmx.co.uk>
+
+pkgname=ecasound
+pkgver=2.9.1
+pkgrel=4
+pkgdesc="Command-line multitrack audio processor"
+arch=('i686' 'x86_64')
+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'
+            'faac: AAC encoding'
+            'timidity++: MIDI file input'
+            'libmikmod: tracker module')
+source=("http://ecasound.seul.org/download/$pkgname-$pkgver.tar.gz"
+        'ruby2.patch')
+options=('staticlibs')
+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:

Copied: ecasound/repos/testing-i686/ruby2.patch (from rev 228187, ecasound/trunk/ruby2.patch)
===================================================================
--- testing-i686/ruby2.patch	                        (rev 0)
+++ testing-i686/ruby2.patch	2014-12-30 18:41:45 UTC (rev 228188)
@@ -0,0 +1,12 @@
+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
+ 
+ 

Copied: ecasound/repos/testing-x86_64/PKGBUILD (from rev 228187, ecasound/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2014-12-30 18:41:45 UTC (rev 228188)
@@ -0,0 +1,54 @@
+# $Id$
+# Maintainer: Ray Rashif <schiv at archlinux.org>
+# Contributor: Eric Belanger <eric at archlinux.org>
+# Contributor: Tom Newsom <Jeepster at gmx.co.uk>
+
+pkgname=ecasound
+pkgver=2.9.1
+pkgrel=4
+pkgdesc="Command-line multitrack audio processor"
+arch=('i686' 'x86_64')
+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'
+            'faac: AAC encoding'
+            'timidity++: MIDI file input'
+            'libmikmod: tracker module')
+source=("http://ecasound.seul.org/download/$pkgname-$pkgver.tar.gz"
+        'ruby2.patch')
+options=('staticlibs')
+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:

Copied: ecasound/repos/testing-x86_64/ruby2.patch (from rev 228187, ecasound/trunk/ruby2.patch)
===================================================================
--- testing-x86_64/ruby2.patch	                        (rev 0)
+++ testing-x86_64/ruby2.patch	2014-12-30 18:41:45 UTC (rev 228188)
@@ -0,0 +1,12 @@
+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
+ 
+ 



More information about the arch-commits mailing list