void-packages/srcpkgs/kmediaplayer/template
2019-01-13 02:55:22 +00:00

28 lines
834 B
Bash

# Template file for 'kmediaplayer'
pkgname=kmediaplayer
version=5.54.0
revision=1
build_style=cmake
configure_args="-DBUILD_TESTING=OFF"
hostmakedepends="extra-cmake-modules"
makedepends="kparts-devel"
short_desc="KDE Interface for media player KParts"
maintainer="John <johnz@posteo.net>"
license="X11"
homepage="https://projects.kde.org/projects/frameworks/kmediaplayer"
distfiles="${KDE_SITE}/frameworks/${version%.*}/portingAids/${pkgname}-${version}.tar.xz"
checksum=cecf0a32a74ab9cecaf25bf767917d8bf7cb9619f51f5a487e7d7b6127c65461
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" qt5-host-tools qt5-qmake python"
fi
kmediaplayer-devel_package() {
short_desc+=" - development"
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
vmove "usr/lib/*.so"
}
}