25 lines
546 B
Plaintext
25 lines
546 B
Plaintext
|
# 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
|
||
|
}
|