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

Evangelos Foutras foutrelis at archlinux.org
Thu Sep 10 05:04:08 UTC 2015


    Date: Thursday, September 10, 2015 @ 07:04:07
  Author: foutrelis
Revision: 245685

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

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

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

Copied: ecasound/repos/staging-i686/PKGBUILD (from rev 245684, ecasound/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD	                        (rev 0)
+++ staging-i686/PKGBUILD	2015-09-10 05:04:07 UTC (rev 245685)
@@ -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=5
+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/staging-i686/ruby2.patch (from rev 245684, ecasound/trunk/ruby2.patch)
===================================================================
--- staging-i686/ruby2.patch	                        (rev 0)
+++ staging-i686/ruby2.patch	2015-09-10 05:04:07 UTC (rev 245685)
@@ -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/staging-x86_64/PKGBUILD (from rev 245684, ecasound/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2015-09-10 05:04:07 UTC (rev 245685)
@@ -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=5
+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/staging-x86_64/ruby2.patch (from rev 245684, ecasound/trunk/ruby2.patch)
===================================================================
--- staging-x86_64/ruby2.patch	                        (rev 0)
+++ staging-x86_64/ruby2.patch	2015-09-10 05:04:07 UTC (rev 245685)
@@ -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