mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 10:32:13 +08:00
libechonest-qt5: add package
This commit is contained in:
parent
0f445d8bc4
commit
7d34de5049
34
libechonest-qt5/PKGBUILD
Normal file
34
libechonest-qt5/PKGBUILD
Normal file
@ -0,0 +1,34 @@
|
||||
pkgname=libechonest-qt5
|
||||
_pkgname=libechonest
|
||||
pkgver=2.3.1
|
||||
pkgrel=1
|
||||
pkgdesc="C++ library for interfacing with Echo Nest"
|
||||
arch=('x86_64')
|
||||
url="https://projects.kde.org/projects/playground/libs/libechonest"
|
||||
license=('GPL')
|
||||
depends=('qt5-base')
|
||||
makedepends=('cmake')
|
||||
provides=('libechonest')
|
||||
source=(http://files.lfranchi.com/${_pkgname}-${pkgver}.tar.bz2)
|
||||
sha1sums=('9d7245c71e707651a7054ce6f0d90b9a62004b23')
|
||||
|
||||
prepare() {
|
||||
[[ -e ${srcdir}/build ]] && rm -rf ${srcdir}/build
|
||||
mkdir ${srcdir}/build
|
||||
}
|
||||
|
||||
build() {
|
||||
cd ${srcdir}/build
|
||||
|
||||
cmake ${srcdir}/${_pkgname}-${pkgver} \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DECHONEST_BUILD_TESTS=OFF \
|
||||
-DBUILD_WITH_QT4=off
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd ${srcdir}/build
|
||||
make DESTDIR=${pkgdir} install
|
||||
}
|
Loading…
Reference in New Issue
Block a user