2016-05-17 23:05:00 +10:00
|
|
|
# Description: Audio fingerprinting library.
|
2019-09-20 23:00:56 +10:00
|
|
|
# URL: https://acoustid.org/chromaprint
|
2016-05-17 23:05:00 +10:00
|
|
|
# Maintainer: Danny Rawlins, crux at romster dot me
|
|
|
|
# Depends on: cmake ffmpeg
|
2019-09-20 23:00:56 +10:00
|
|
|
# Optional: fftw
|
2016-05-17 23:05:00 +10:00
|
|
|
|
|
|
|
name=chromaprint
|
2019-09-20 23:00:56 +10:00
|
|
|
version=1.4.3
|
2016-05-17 23:05:00 +10:00
|
|
|
release=1
|
2019-09-20 23:00:56 +10:00
|
|
|
source=(https://github.com/acoustid/chromaprint/releases/download/v$version/$name-$version.tar.gz)
|
2016-05-17 23:05:00 +10:00
|
|
|
|
|
|
|
build() {
|
2019-09-20 23:00:56 +10:00
|
|
|
cd $name-v$version
|
2016-05-17 23:05:00 +10:00
|
|
|
|
|
|
|
cmake . \
|
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
|
|
-DCMAKE_BUILD_TYPE=RELEASE \
|
2019-09-20 23:00:56 +10:00
|
|
|
-DBUILD_TESTS=OFF
|
2016-05-17 23:05:00 +10:00
|
|
|
|
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
|
|
|
}
|