mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 09:47:13 +08:00
chromaprint: 1.3.1, moved to core, FS#1375
This commit is contained in:
parent
6f144f0409
commit
b5ba7dd2b5
28
chromaprint/PKGBUILD
Normal file
28
chromaprint/PKGBUILD
Normal 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
|
||||
}
|
Loading…
Reference in New Issue
Block a user