28 lines
805 B
Bash
28 lines
805 B
Bash
# Template file for 'libechonest'
|
|
pkgname=libechonest
|
|
version=2.3.1
|
|
revision=2
|
|
build_style=cmake
|
|
hostmakedepends="qt-qmake"
|
|
makedepends="qjson-devel boost-devel"
|
|
short_desc="A C++/Qt wrapper around the wonderful echo nest api"
|
|
maintainer="Duncan Overbruck <mail@duncano.de>"
|
|
license="GPL-2"
|
|
homepage="https://projects.kde.org/projects/playground/libs/libechonest"
|
|
distfiles="https://github.com/lfranchi/libechonest/archive/${version}.tar.gz"
|
|
checksum=ab961ab952df30c5234b548031594d7e281e7c9f2a9d1ce91fe5421ddde85e7c
|
|
|
|
if [ -n "$CROSS_BUILD" ]; then
|
|
hostmakedepends+=" qt-host-tools"
|
|
fi
|
|
|
|
libechonest-devel_package() {
|
|
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/*.so
|
|
vmove usr/lib/pkgconfig
|
|
}
|
|
}
|