29 lines
869 B
Bash
29 lines
869 B
Bash
# Template file for 'kmediaplayer'
|
|
pkgname=kmediaplayer
|
|
version=5.39.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="LGPL-2"
|
|
homepage="https://projects.kde.org/projects/frameworks/kmediaplayer"
|
|
distfiles="http://download.kde.org/stable/frameworks/${version%.*}/portingAids/${pkgname}-${version}.tar.xz"
|
|
checksum=e11e51541d4f70c4ba237fca37ae19a398f284e6ecef6cf0326292bc42e0da27
|
|
|
|
if [ -n "$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
|
|
}
|
|
}
|