Created
March 4, 2017 12:51
-
-
Save anonymous/96e25d9057bcd2ca34bcfb2b6f77d1e9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Contributor: Nils Werner <nils DOT werner AT gmail DOT com> | |
# Contributor: Siarhei Siniak <serega DOT belarus AT gmail DOT com> | |
pkgname='essentia-git' | |
pkgver=4ffd830 | |
pkgrel=1 | |
pkgdesc="Open-source C++ library for audio analysis and audio-based music information retrieval" | |
url="http://essentia.upf.edu/" | |
arch=('x86_64') | |
license=('GPL') | |
depends=('python2' 'python2-numpy' 'libyaml' 'python2-yaml' 'fftw' 'ffmpeg' 'taglib' 'libsamplerate') | |
source=('essentia-git-4ffd830.tar.bz2') | |
md5sums=('bd3a2bffc63b3d6272612b1241bf0ab3') | |
build() { | |
cd "$srcdir/$pkgname-$pkgver/" | |
PYTHON=/usr/bin/python2 python2 waf configure --mode=release --with-python --with-vamp --prefix=/usr/ | |
PYTHON=/usr/bin/python2 python2 waf --prefix=/usr/ | |
} | |
package() { | |
cd "$srcdir/$pkgname-$pkgver/" | |
PYTHON=/usr/bin/python2 DESTDIR=$pkgdir python2 waf install --prefix=/usr/ || return 1 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment