diff options
Diffstat (limited to 'community-testing/chromaprint/PKGBUILD')
-rw-r--r-- | community-testing/chromaprint/PKGBUILD | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/community-testing/chromaprint/PKGBUILD b/community-testing/chromaprint/PKGBUILD new file mode 100644 index 000000000..b4ac256ec --- /dev/null +++ b/community-testing/chromaprint/PKGBUILD @@ -0,0 +1,29 @@ +# $Id: PKGBUILD 73323 2012-07-06 15:22:09Z ibiru $ +# Contributor: Wieland Hoffmann <the_mineo@web.de> +# Maintainer: Gaetan Bisson <bisson@archlinux.org> + +pkgname=chromaprint +pkgver=0.6 +pkgrel=3 +pkgdesc='Library that implements a custom algorithm for extracting fingerprints from any audio source' +url='http://acoustid.org/chromaprint/' +arch=('i686' 'x86_64') +license=('LGPL') +depends=('ffmpeg') +makedepends=('cmake') +source=("https://github.com/downloads/lalinsky/${pkgname}/${pkgname}-${pkgver}.tar.gz" + 'ffmpeg.patch') +sha1sums=('e8bcc1d0d8dfec86aa648b87ba3f69b6d589eae0' + '56057f824a29194fc6041bd73e0d07412fcc065b') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + patch -p1 -i ../ffmpeg.patch + cmake -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_EXAMPLES=ON . + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install +} |