Skip to content

Instantly share code, notes, and snippets.

Created March 4, 2017 12:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/96e25d9057bcd2ca34bcfb2b6f77d1e9 to your computer and use it in GitHub Desktop.
Save anonymous/96e25d9057bcd2ca34bcfb2b6f77d1e9 to your computer and use it in GitHub Desktop.
# 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