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

Evangelos Foutras foutrelis at archlinux.org
Wed Jan 3 07:39:35 UTC 2018


    Date: Wednesday, January 3, 2018 @ 07:39:34
  Author: foutrelis
Revision: 313956

archrelease: copy trunk to staging-x86_64

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

-------------+
 PKGBUILD    |   58 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 ruby2.patch |   12 ++++++++++++
 2 files changed, 70 insertions(+)

Copied: ecasound/repos/staging-x86_64/PKGBUILD (from rev 313955, ecasound/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2018-01-03 07:39:34 UTC (rev 313956)
@@ -0,0 +1,58 @@
+# $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=10
+pkgdesc="Command-line multitrack audio processor"
+arch=('x86_64')
+url="https://ecasound.seul.org/ecasound/"
+license=('GPL' 'LGPL')
+depends=('audiofile' 'liblo>=0.28' '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=("https://ecasound.seul.org/download/$pkgname-$pkgver.tar.gz"
+        'ruby2.patch')
+options=('staticlibs')
+sha256sums=('39fce8becd84d80620fa3de31fb5223b2b7d4648d36c9c337d3739c2fad0dcf3'
+            '5dda8e8bd245d90975f57bd68e05c50f72076f7b82fab02fdd5a510275f0f188')
+
+prepare() {
+  cd "$srcdir/$pkgname-$pkgver"
+
+  # fix ruby 2.0 incompatibility + use vendor_ruby for ruby files
+  patch -Np1 -i "$srcdir/ruby2.patch"
+}
+build() {
+  cd "$srcdir/$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
+
+  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 313955, ecasound/trunk/ruby2.patch)
===================================================================
--- staging-x86_64/ruby2.patch	                        (rev 0)
+++ staging-x86_64/ruby2.patch	2018-01-03 07:39:34 UTC (rev 313956)
@@ -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