2012-09-02 17:42:04 +08:00
|
|
|
pkgname=libechonest
|
2015-08-10 21:20:38 +08:00
|
|
|
pkgver=2.3.1
|
2016-02-23 08:24:02 +08:00
|
|
|
pkgrel=5
|
2012-09-02 17:42:04 +08:00
|
|
|
pkgdesc="C++ library for interfacing with Echo Nest"
|
2013-12-12 00:13:13 +08:00
|
|
|
arch=('x86_64')
|
2012-09-02 17:42:04 +08:00
|
|
|
url="https://projects.kde.org/projects/playground/libs/libechonest"
|
|
|
|
license=('GPL')
|
2015-09-16 08:04:48 +08:00
|
|
|
depends=('qt5-base')
|
|
|
|
makedepends=('cmake')
|
|
|
|
conflicts=('libechonest-qt4')
|
2013-05-06 05:51:12 +08:00
|
|
|
source=(http://files.lfranchi.com/${pkgname}-${pkgver}.tar.bz2)
|
2015-08-10 21:20:38 +08:00
|
|
|
sha1sums=('9d7245c71e707651a7054ce6f0d90b9a62004b23')
|
2012-09-02 17:42:04 +08:00
|
|
|
|
2015-09-16 08:04:48 +08:00
|
|
|
prepare() {
|
2015-11-18 04:45:02 +08:00
|
|
|
rm -rf "build"
|
|
|
|
mkdir "build"
|
|
|
|
|
2015-09-16 08:04:48 +08:00
|
|
|
}
|
2012-09-02 17:42:04 +08:00
|
|
|
|
|
|
|
build() {
|
2015-11-18 04:45:02 +08:00
|
|
|
cd "build"
|
2012-09-02 17:42:04 +08:00
|
|
|
|
2015-11-18 04:45:02 +08:00
|
|
|
cmake -DCMAKE_INSTALL_PREFIX=/usr \
|
2015-09-16 08:04:48 +08:00
|
|
|
-DCMAKE_BUILD_TYPE=Release \
|
2015-11-18 04:45:02 +08:00
|
|
|
-DECHONEST_BUILD_TESTS=off \
|
|
|
|
-DBUILD_WITH_QT4=OFF \
|
|
|
|
"../${pkgname}-${pkgver}"
|
2012-09-02 17:42:04 +08:00
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2015-11-18 04:45:02 +08:00
|
|
|
cd "build"
|
|
|
|
make DESTDIR="${pkgdir}" install
|
2016-02-23 08:24:02 +08:00
|
|
|
}
|