2015-02-06 16:56:05 +00:00
|
|
|
# Template file for 'liblastfm'
|
|
|
|
pkgname=liblastfm-qt5
|
|
|
|
version=1.0.9
|
2015-05-04 08:34:05 +00:00
|
|
|
revision=2
|
2015-02-06 16:56:05 +00:00
|
|
|
wrksrc=${pkgname%-*}-${version}
|
|
|
|
build_style=cmake
|
|
|
|
hostmakedepends="cmake"
|
|
|
|
makedepends="qt5-devel qt5-plugin-pgsql qt5-plugin-mysql qt5-plugin-sqlite qt5-plugin-odbc libsamplerate-devel fftw-devel"
|
|
|
|
short_desc="A Qt5 C++ library for the Last.fm webservices"
|
|
|
|
maintainer="Duncaen <duncaen@voidlinux.eu>"
|
|
|
|
license="GPL-3"
|
|
|
|
homepage="https://github.com/lastfm/liblastfm"
|
|
|
|
distfiles="https://github.com/lastfm/${pkgname%-*}/archive/${version}.tar.gz"
|
|
|
|
checksum=5276b5fe00932479ce6fe370ba3213f3ab842d70a7d55e4bead6e26738425f7b
|
|
|
|
|
2015-05-04 08:34:05 +00:00
|
|
|
provides="liblastfm-${version}_${revision}"
|
|
|
|
replaces="liblastfm>=0"
|
|
|
|
|
|
|
|
|
2015-02-06 16:56:05 +00:00
|
|
|
liblastfm-qt5-devel_package() {
|
|
|
|
depends="liblastfm-qt5>=${version}_${revision} $makedepends"
|
|
|
|
short_desc+=" - development files"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove "usr/lib/*.so"
|
|
|
|
}
|
|
|
|
}
|