32 lines
1.1 KiB
Bash
32 lines
1.1 KiB
Bash
# Template file for 'plasma-framework'
|
|
pkgname=plasma-framework
|
|
version=5.53.0
|
|
revision=1
|
|
build_style=cmake
|
|
configure_args="-DBUILD_TESTING=OFF"
|
|
hostmakedepends="extra-cmake-modules pkg-config"
|
|
makedepends="kactivities5-devel kdeclarative-devel kdoctools-devel kwayland-devel
|
|
kirigami2-devel"
|
|
depends="qt5-quickcontrols qt5-graphicaleffects qt5-multimedia"
|
|
short_desc="Foundational libraries, components, and tools of the Plasma workspaces"
|
|
maintainer="John <johnz@posteo.net>"
|
|
license="LGPL-2.1-or-later"
|
|
homepage="https://projects.kde.org/projects/frameworks/plasma-framework"
|
|
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname}-${version}.tar.xz"
|
|
checksum=d5d36826af3363a89ff76292dd0f7c8fee91a6595039b1ea6cbb05c309b09e6b
|
|
|
|
if [ "$CROSS_BUILD" ]; then
|
|
configure_args=" -DDESKTOPTOJSON_EXECUTABLE=/usr/bin/desktoptojson"
|
|
hostmakedepends+=" kconfig kcoreaddons kdoctools python qt5-host-tools qt5-qmake"
|
|
fi
|
|
|
|
plasma-framework-devel_package() {
|
|
short_desc+=" - development"
|
|
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/cmake
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|