31 lines
1.1 KiB
Bash
31 lines
1.1 KiB
Bash
# Template file for 'plasma-framework'
|
|
pkgname=plasma-framework
|
|
version=5.41.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"
|
|
depends="qt5-quickcontrols qt5-graphicaleffects qt5-multimedia"
|
|
short_desc="Foundational libraries, components, and tools of the Plasma workspaces"
|
|
maintainer="Denis Revin <denis.revin@gmail.com>"
|
|
license="LGPL-2"
|
|
homepage="https://projects.kde.org/projects/frameworks/plasma-framework"
|
|
distfiles="http://download.kde.org/stable/frameworks/${version%.*}/${pkgname}-${version}.tar.xz"
|
|
checksum=84de6496f1f6797cba95ca51607ab59a5f24cbd238f600ec75ccfa0b02b23ae6
|
|
|
|
if [ -n "$CROSS_BUILD" ]; then
|
|
hostmakedepends+=" qt5-host-tools qt5-qmake python"
|
|
broken="cmake fails on links to target Qt5::Gui_GLESv2"
|
|
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
|
|
}
|
|
}
|