mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-02-11 18:34:37 +08:00
29 lines
796 B
Bash
29 lines
796 B
Bash
# maintainer abveritas@chakra-project.org
|
|
|
|
pkgname=chromaprint
|
|
pkgver=0.7
|
|
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')
|
|
screenshot=('')
|
|
source=("https://github.com/downloads/lalinsky/${pkgname}/${pkgname}-${pkgver}.tar.gz"
|
|
"ffmpeg-11.patch")
|
|
sha1sums=('6a961585e82d26d357eb792216becc0864ddcdb2'
|
|
'c6c38b731aade8b3f140e230791645c3e8ec6278')
|
|
|
|
build() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
patch -p1 -i "${srcdir}/ffmpeg-11.patch"
|
|
cmake -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_EXAMPLES=ON .
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
make DESTDIR="${pkgdir}" install
|
|
}
|