mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-10 14:04:37 +08:00
29 lines
752 B
Bash
29 lines
752 B
Bash
# Contributions from Arch: https://projects.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/chromaprint
|
|
|
|
pkgname=chromaprint
|
|
pkgver=1.4.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=('1357b8946f2c423ab69d7186ed14b6d592184dd8')
|
|
|
|
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
|
|
}
|