void-packages/srcpkgs/libechonest-qt5/template

31 lines
960 B
Bash

# Template file for 'libechonest-qt5'
pkgname=libechonest-qt5
version=2.3.1
revision=2
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.org>"
license="GPL-2.0-or-later"
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
}
}