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

Ray Rashif schiv at nymeria.archlinux.org
Fri Dec 20 18:08:49 UTC 2013


    Date: Friday, December 20, 2013 @ 19:08:49
  Author: schiv
Revision: 202238

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

Added:
  aubio/repos/testing-i686/
  aubio/repos/testing-i686/.contrib
    (from rev 202237, aubio/trunk/.contrib)
  aubio/repos/testing-i686/PKGBUILD
    (from rev 202237, aubio/trunk/PKGBUILD)
  aubio/repos/testing-x86_64/
  aubio/repos/testing-x86_64/.contrib
    (from rev 202237, aubio/trunk/.contrib)
  aubio/repos/testing-x86_64/PKGBUILD
    (from rev 202237, aubio/trunk/PKGBUILD)

-------------------------+
 testing-i686/.contrib   |    2 ++
 testing-i686/PKGBUILD   |   40 ++++++++++++++++++++++++++++++++++++++++
 testing-x86_64/.contrib |    2 ++
 testing-x86_64/PKGBUILD |   40 ++++++++++++++++++++++++++++++++++++++++
 4 files changed, 84 insertions(+)

Copied: aubio/repos/testing-i686/.contrib (from rev 202237, aubio/trunk/.contrib)
===================================================================
--- testing-i686/.contrib	                        (rev 0)
+++ testing-i686/.contrib	2013-12-20 18:08:49 UTC (rev 202238)
@@ -0,0 +1,2 @@
+# Contributor: Peter Baldwin <bald_pete at hotmail.com>
+# Contributor: Shinlun Hsieh <yngwiexx at yahoo.com.tw>

Copied: aubio/repos/testing-i686/PKGBUILD (from rev 202237, aubio/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2013-12-20 18:08:49 UTC (rev 202238)
@@ -0,0 +1,40 @@
+# $Id$
+# Maintainer: Ray Rashif <schiv at archlinux.org>
+# Contributor: Tobias Kieslich tobias [funnychar] archlinux org
+# Contributor: see .contrib
+
+pkgname=aubio
+pkgver=0.4.0
+pkgrel=1
+pkgdesc="A tool for extracting annotations from audio signals"
+arch=('i686' 'x86_64')
+url="http://aubio.org/"
+license=('GPL')
+depends=('fftw' 'jack' 'ffmpeg')
+makedepends=('python2-numpy')
+optdepends=('python2-numpy: Python 2.x interface')
+source=("http://aubio.org/pub/$pkgname-$pkgver.tar.bz2")
+md5sums=('8de88baab79f7eec8e1c7f321c4026af')
+
+build() {
+  cd "$srcdir/$pkgname-$pkgver"
+
+  python2 waf configure --prefix=/usr --enable-fftw3f
+  python2 waf build $MAKEFLAGS
+  cd python; python2 setup.py build # python interface
+}
+
+package() {
+  cd "$srcdir/$pkgname-$pkgver"
+
+  python2 waf --destdir="$pkgdir" install
+
+  # python interface
+  cd python
+
+  python2 setup.py install --root="$pkgdir" --optimize=1
+
+  # python2 compat
+  sed -i 's:bin/env python:bin/env python2:' \
+      "$pkgdir/usr/lib/python2.7/site-packages/aubio/__init__.py"
+}

Copied: aubio/repos/testing-x86_64/.contrib (from rev 202237, aubio/trunk/.contrib)
===================================================================
--- testing-x86_64/.contrib	                        (rev 0)
+++ testing-x86_64/.contrib	2013-12-20 18:08:49 UTC (rev 202238)
@@ -0,0 +1,2 @@
+# Contributor: Peter Baldwin <bald_pete at hotmail.com>
+# Contributor: Shinlun Hsieh <yngwiexx at yahoo.com.tw>

Copied: aubio/repos/testing-x86_64/PKGBUILD (from rev 202237, aubio/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2013-12-20 18:08:49 UTC (rev 202238)
@@ -0,0 +1,40 @@
+# $Id$
+# Maintainer: Ray Rashif <schiv at archlinux.org>
+# Contributor: Tobias Kieslich tobias [funnychar] archlinux org
+# Contributor: see .contrib
+
+pkgname=aubio
+pkgver=0.4.0
+pkgrel=1
+pkgdesc="A tool for extracting annotations from audio signals"
+arch=('i686' 'x86_64')
+url="http://aubio.org/"
+license=('GPL')
+depends=('fftw' 'jack' 'ffmpeg')
+makedepends=('python2-numpy')
+optdepends=('python2-numpy: Python 2.x interface')
+source=("http://aubio.org/pub/$pkgname-$pkgver.tar.bz2")
+md5sums=('8de88baab79f7eec8e1c7f321c4026af')
+
+build() {
+  cd "$srcdir/$pkgname-$pkgver"
+
+  python2 waf configure --prefix=/usr --enable-fftw3f
+  python2 waf build $MAKEFLAGS
+  cd python; python2 setup.py build # python interface
+}
+
+package() {
+  cd "$srcdir/$pkgname-$pkgver"
+
+  python2 waf --destdir="$pkgdir" install
+
+  # python interface
+  cd python
+
+  python2 setup.py install --root="$pkgdir" --optimize=1
+
+  # python2 compat
+  sed -i 's:bin/env python:bin/env python2:' \
+      "$pkgdir/usr/lib/python2.7/site-packages/aubio/__init__.py"
+}




More information about the arch-commits mailing list