# Template file for 'libkcddb'
pkgname=libkcddb
version=16.08.2
revision=1
build_style=cmake
hostmakedepends="automoc4 qt-qmake"
makedepends="kdelibs-devel phonon-devel libmusicbrainz5-devel"
short_desc="KDE CDDB library"
maintainer="Enno Boland <gottox@voidlinux.eu>"
license="GPL-2, LGPL-2, BSD, GFDL"
homepage="https://projects.kde.org/projects/kde/kdemultimedia/libkcddb"
distfiles="http://download.kde.org/stable/applications/${version}/src/${pkgname}-${version}.tar.xz"
checksum=4206b558d7e74a3dcb1c4438922d7345e1aedc3c3db4b857012a406304a17043

libkcddb-devel_package() {
	depends="libkcddb>=${version}_${revision}"
	short_desc+=" - development files"
	pkg_install() {
		vmove usr/lib/cmake
		vmove usr/share/doc
		vmove usr/include
		vmove "usr/lib/*.so"
	}
}
