void-packages/srcpkgs/plasma-framework/template

34 lines
1.2 KiB
Bash

# Template file for 'plasma-framework'
pkgname=plasma-framework
version=5.83.0
revision=1
build_style=cmake
configure_args="-DDESKTOPTOJSON_EXECUTABLE=/usr/bin/desktoptojson"
hostmakedepends="kcoreaddons extra-cmake-modules pkg-config
kconfig python3 qt5-host-tools qt5-qmake gettext kdoctools"
makedepends="kactivities5-devel kdeclarative-devel kdoctools-devel kwayland-devel
kirigami2-devel"
depends="qt5-quickcontrols qt5-graphicaleffects qt5-multimedia"
checkdepends="mesa-dri"
short_desc="Foundational libraries, components, and tools of the Plasma workspaces"
maintainer="John <me@johnnynator.dev>"
license="LGPL-2.1-or-later"
homepage="https://invent.kde.org/frameworks/plasma-framework"
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=7adf5f77d7ecf6a45626e7a329c941f6bfe21154b2ff9c6c943727b0e68f145d
do_check() {
cd build
ctest -E 'coronatest|plasma-sortfiltermodeltest|i18ndcheck|plasma-dialogstatetest|plasma-iconitemtest|plasma-themetest|dialognativetest'
}
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"
}
}