32 lines
976 B
Bash
32 lines
976 B
Bash
# Template file for 'libechonest'
|
|
pkgname=libechonest-qt5
|
|
version=2.3.1
|
|
revision=1
|
|
wrksrc=${pkgname%-*}-${version}
|
|
build_style=cmake
|
|
configure_args="-DBUILD_WITH_QT4=OFF"
|
|
hostmakedepends="qt5-qmake"
|
|
makedepends="boost-devel qt5-xmlpatterns-devel"
|
|
short_desc="A C++/Qt wrapper around the wonderful echo nest api"
|
|
maintainer="Duncaen <duncaen@voidlinux.eu>"
|
|
license="GPL-2"
|
|
homepage="https://projects.kde.org/projects/playground/libs/libechonest"
|
|
distfiles="http://files.lfranchi.com/${pkgname%-*}-${version}.tar.bz2"
|
|
checksum=56756545fd1cb3d9067479f52215b6157c1ced2bc82b895e72fdcd9bebb47889
|
|
|
|
if [ -n "$CROSS_BUILD" ]; then
|
|
hostmakedepends+=" qt5-host-tools qt5-xmlpatterns-devel"
|
|
fi
|
|
|
|
libechonest-qt5-devel_package() {
|
|
depends="${sourcepkg}-${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
provides="libechonest-devel-${version}_${revision}"
|
|
replaces="libechonest-devel>=0"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/*.so
|
|
vmove usr/lib/pkgconfig
|
|
}
|
|
}
|