29 lines
846 B
Bash
29 lines
846 B
Bash
# Template file for 'kmediaplayer'
|
|
pkgname=kmediaplayer
|
|
version=5.48.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="Denis Revin <denis.revin@gmail.com>"
|
|
license="X11"
|
|
homepage="https://projects.kde.org/projects/frameworks/kmediaplayer"
|
|
distfiles="${KDE_SITE}/frameworks/${version%.*}/portingAids/${pkgname}-${version}.tar.xz"
|
|
checksum=78cad59e3e1dbc06972894395aa3078ffdc1f7fbd4d7e76c9c59f3da0a2b83cf
|
|
|
|
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"
|
|
}
|
|
}
|