# Description: Audio fingerprinting library. # URL: https://acoustid.org/chromaprint # Maintainer: Danny Rawlins, crux at romster dot me # Depends on: cmake ffmpeg ninja # Optional: fftw name=chromaprint version=1.5.0 release=1 source=(https://github.com/acoustid/chromaprint/releases/download/v$version/$name-$version.tar.gz) build() { cmake -S$name-v$version -Bbuild -GNinja \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_BUILD_TYPE=RELEASE \ -DBUILD_TESTS=OFF cmake --build build DESTDIR=$PKG cmake --install build }