# Template file for 'kmediaplayer'
pkgname=kmediaplayer
version=5.103.0
revision=1
build_style=cmake
hostmakedepends="kcoreaddons extra-cmake-modules
 qt5-host-tools qt5-qmake python3 gettext"
makedepends="kparts-devel"
short_desc="KDE Interface for media player KParts"
maintainer="John <me@johnnynator.dev>"
license="X11"
homepage="https://invent.kde.org/frameworks/kmediaplayer"
distfiles="${KDE_SITE}/frameworks/${version%.*}/portingAids/${pkgname}-${version}.tar.xz"
checksum=5c8bca3d3bc63ef9cc4e920dddab882d48d4d20b6a63a90566a3539c68f08faf

kmediaplayer-devel_package() {
	short_desc+=" - development"
	depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/cmake
		vmove "usr/lib/*.so"
	}
}
