[arch-commits] Commit in aubio/repos (3 files)
Antonio Rojas
arojas at archlinux.org
Tue Feb 6 16:55:58 UTC 2018
Date: Tuesday, February 6, 2018 @ 16:55:54
Author: arojas
Revision: 289404
archrelease: copy trunk to community-x86_64
Added:
aubio/repos/community-x86_64/
aubio/repos/community-x86_64/.contrib
(from rev 289403, aubio/trunk/.contrib)
aubio/repos/community-x86_64/PKGBUILD
(from rev 289403, aubio/trunk/PKGBUILD)
----------+
.contrib | 2 ++
PKGBUILD | 44 ++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 46 insertions(+)
Copied: aubio/repos/community-x86_64/.contrib (from rev 289403, aubio/trunk/.contrib)
===================================================================
--- community-x86_64/.contrib (rev 0)
+++ community-x86_64/.contrib 2018-02-06 16:55:54 UTC (rev 289404)
@@ -0,0 +1,2 @@
+# Contributor: Peter Baldwin <bald_pete at hotmail.com>
+# Contributor: Shinlun Hsieh <yngwiexx at yahoo.com.tw>
Copied: aubio/repos/community-x86_64/PKGBUILD (from rev 289403, aubio/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2018-02-06 16:55:54 UTC (rev 289404)
@@ -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:
More information about the arch-commits
mailing list