void-packages/srcpkgs/libechonest-qt5/template

27 lines
893 B
Bash

# Template file for 'libechonest'
pkgname=libechonest-qt5
version=2.3.0
revision=2
wrksrc=${pkgname%-*}-${version}
build_style=cmake
configure_args="-DBUILD_WITH_QT4=OFF"
hostmakedepends="cmake 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=79983ba72fbf9b112ebfb329b96b60eddf25d719ebe34eb70de01aa106ae2b44
libechonest-qt5-devel_package() {
depends="libechonest-qt5>=${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
}
}