chromaprint: 1.3.1, moved to core, FS#1375

This commit is contained in:
Neofytos Kolokotronis 2016-02-11 20:43:36 +01:00
parent 6f144f0409
commit b5ba7dd2b5

28
chromaprint/PKGBUILD Normal file
View File

@ -0,0 +1,28 @@
# Contributions from Arch: https://projects.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/chromaprint
pkgname=chromaprint
pkgver=1.3.1
pkgrel=1
pkgdesc='Client-side library that implements a custom algorithm for extracting fingerprints from any audio source'
url='http://acoustid.org/chromaprint/'
arch=('x86_64')
license=('LGPL')
depends=('ffmpeg')
makedepends=('cmake')
source=("https://bitbucket.org/acoustid/${pkgname}/downloads/${pkgname}-${pkgver}.tar.gz")
sha1sums=('439c5d34a3ff46bcdb54cbcb613da175eb4d83c5')
build() {
cd "${pkgname}-${pkgver}"
cmake \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
-DBUILD_EXAMPLES=ON \
.
make
}
package() {
cd "${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
}