[arch-commits] Commit in ecasound/trunk (PKGBUILD ecasound.changelog)

Ray Rashif schiv at archlinux.org
Mon Aug 23 02:57:44 UTC 2010


    Date: Sunday, August 22, 2010 @ 22:57:44
  Author: schiv
Revision: 88360

upgpkg: ecasound 2.7.2-1
python2 dependency found in one runtime executable

Modified:
  ecasound/trunk/PKGBUILD
  ecasound/trunk/ecasound.changelog

--------------------+
 PKGBUILD           |   19 +++++++++++++++----
 ecasound.changelog |    2 +-
 2 files changed, 16 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2010-08-22 22:22:27 UTC (rev 88359)
+++ PKGBUILD	2010-08-23 02:57:44 UTC (rev 88360)
@@ -10,9 +10,12 @@
 arch=('i686' 'x86_64')
 url="http://www.eca.cx/ecasound/"
 license=('GPL' 'LGPL')
-depends=('gcc-libs' 'readline>=6.0.00' 'audiofile' 'jack' 'liblo' 'liboil')
-makedepends=('ruby' 'python')
-optdepends=('mpg123: MP3 decoding'
+depends=('gcc-libs' 'readline>=6.0.00' 'audiofile'
+         'jack' 'liblo' 'liboil')
+makedepends=('pkg-config' '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'
@@ -28,7 +31,11 @@
 build() {
   cd "$srcdir/$pkgname-$pkgver"
 
-  ./configure --prefix=/usr
+  PYTHONPATH=/usr/bin/python2 ./configure \
+    --prefix=/usr \
+    --with-python-includes=/usr/include/python2.7 \
+    --with-python-modules=/usr/lib/python2.7
+
   make
 }
 
@@ -36,6 +43,10 @@
   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:

Modified: ecasound.changelog
===================================================================
--- ecasound.changelog	2010-08-22 22:22:27 UTC (rev 88359)
+++ ecasound.changelog	2010-08-23 02:57:44 UTC (rev 88360)
@@ -2,7 +2,7 @@
 
 	* ecasound 2.7.2-1
 	* python(3) rebuild
-	* python is now a makedepend [1]
+	* python(2) is optional [1]
 	* added new liboil depend [2]
 	* added some optdepends [1]
 




More information about the arch-commits mailing list