[arch-commits] Commit in (5 files)
Antonio Rojas
arojas at archlinux.org
Tue Feb 6 16:55:45 UTC 2018
Date: Tuesday, February 6, 2018 @ 16:55:40
Author: arojas
Revision: 289403
extra2community: Moving aubio from extra to community
Added:
aubio/
aubio/repos/
aubio/trunk/
aubio/trunk/.contrib
aubio/trunk/PKGBUILD
----------+
.contrib | 2 ++
PKGBUILD | 44 ++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 46 insertions(+)
Added: aubio/trunk/.contrib
===================================================================
--- aubio/trunk/.contrib (rev 0)
+++ aubio/trunk/.contrib 2018-02-06 16:55:40 UTC (rev 289403)
@@ -0,0 +1,2 @@
+# Contributor: Peter Baldwin <bald_pete at hotmail.com>
+# Contributor: Shinlun Hsieh <yngwiexx at yahoo.com.tw>
Added: aubio/trunk/PKGBUILD
===================================================================
--- aubio/trunk/PKGBUILD (rev 0)
+++ aubio/trunk/PKGBUILD 2018-02-06 16:55:40 UTC (rev 289403)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Ray Rashif <schiv at archlinux.org>
+# Contributor: Tobias Kieslich tobias [funnychar] archlinux org
+# Contributor: see .contrib
+
+pkgname=aubio
+pkgver=0.4.2
+pkgrel=2
+pkgdesc="A tool for extracting annotations from audio signals"
+arch=('x86_64')
+url="http://aubio.org/"
+license=('GPL')
+depends=('fftw' 'jack' 'ffmpeg')
+makedepends=('python2-numpy' 'python2-setuptools')
+optdepends=('python2-numpy: Python 2.x interface')
+source=("http://aubio.org/pub/$pkgname-$pkgver.tar.bz2")
+md5sums=('c0f6d8355e92669722501c3a762ba548')
+
+prepare() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ # python2 compat (for python interface)
+ sed -i 's:bin/env python:bin/env python2:' \
+ "$srcdir/$pkgname-$pkgver/python/lib/aubio/__init__.py"
+}
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ python2 waf configure --prefix=/usr --enable-fftw3f --libdir=/usr/lib
+ 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)
+}
+
+# vim:set ts=2 sw=2 et:
Property changes on: aubio/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
More information about the arch-commits
mailing list