# Template file for 'libkcddb'
pkgname=libkcddb
version=18.08.2
revision=1
build_style=cmake
configure_args="-DBUILD_TESTING=OFF"
hostmakedepends="extra-cmake-modules qt5-qmake qt5-host-tools python kdoctools kconfig"
makedepends="kio-devel libmusicbrainz5-devel"
short_desc="KDE CDDB library"
maintainer="Piotr Wójcik <chocimier@tlen.pl>"
license="GPL-2.0-or-later, LGPL-2.0-or-later, BSD-3-Clause, GFDL-1.2-only"
homepage="https://projects.kde.org/projects/kde/kdemultimedia/libkcddb"
distfiles="${KDE_SITE}/applications/${version}/src/${pkgname}-${version}.tar.xz"
checksum=a403ddab8b7a6666a3d83fd98e7068478a3287f144df35494b47f0a32783998d

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"
		vlicense cmake/COPYING-CMAKE-SCRIPTS
	}
}
