mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 10:32:13 +08:00
28 lines
735 B
Bash
28 lines
735 B
Bash
#
|
|
# Chakra Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# maintainer abveritas@chakra-project.org
|
|
|
|
pkgname=chromaprint
|
|
pkgver=0.6
|
|
pkgrel=1
|
|
pkgdesc='Client-side 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')
|
|
screenshot=('')
|
|
source=("https://github.com/downloads/lalinsky/${pkgname}/${pkgname}-${pkgver}.tar.gz")
|
|
sha1sums=('e8bcc1d0d8dfec86aa648b87ba3f69b6d589eae0')
|
|
|
|
build() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
cmake -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_EXAMPLES=ON .
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
make DESTDIR="${pkgdir}" install
|
|
} |