# Maintainer: Eugene Cherny pkgname=essentia-git pkgrel=1 pkgver=r1687.52585c53 pkgdesc='Open-source library and tools for audio and music analysis, description and synthesis. (With Python 3 bindings)' arch=('x86_64') url="http://essentia.upf.edu/documentation/" license=('AGPL') makedepends=('git' 'python' 'glibc') depends=('fftw' 'ffmpeg' 'libsamplerate' 'taglib' 'libyaml' 'python' 'python-numpy' 'python-yaml') provides=('essentia') conflicts=('essentia' 'essentia-acousticbrainz' 'lib32-essentia-acousticbrainz') source=('git+https://github.com/MTG/essentia.git#branch=master') md5sums=('SKIP') pkgver() { cd "$srcdir/essentia" printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" } build() { cd "$srcdir/essentia" ./waf configure \ --mode=release \ --build-static \ --with-cpptests \ --with-examples \ --with-python \ --python=$(which python) \ --prefix="$pkgdir/usr" ./waf } #check() { # cd "$srcdir/$pkgname" # ./waf run_tests # ./waf run_python_tests #} package() { cd "$srcdir/essentia" ./waf install }