contrib/chromaprint/Pkgfile

25 lines
546 B
Plaintext
Raw Normal View History

2016-05-17 15:05:00 +02:00
# Description: Audio fingerprinting library.
# URL: http://acoustid.org/chromaprint
# Maintainer: Danny Rawlins, crux at romster dot me
# Packager: Alan Mizrahi, alan at mizrahi dot com dot ve
# Depends on: cmake ffmpeg
name=chromaprint
version=1.3.1
release=1
source=(https://bitbucket.org/acoustid/$name/downloads/$name-$version.tar.gz)
build() {
cd $name-$version
cmake . \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=RELEASE \
-DBUILD_EXAMPLES=OFF \
-DBUILD_TESTS=OFF \
-DWITH_AVFFT=ON
make
make DESTDIR=$PKG install
}