Skip to content

Instantly share code, notes, and snippets.

/PKGBUILD

Created Mar 4, 2017
Embed
What would you like to do?
# 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
You can’t perform that action at this time.