void-packages/srcpkgs/plasma-framework/template

41 lines
1.4 KiB
Bash

# Template file for 'plasma-framework'
pkgname=plasma-framework
version=5.115.0
revision=2
build_style=cmake
configure_args="-DDESKTOPTOJSON_EXECUTABLE=/usr/bin/desktoptojson
-DMEINPROC5_EXECUTABLE=/usr/bin/meinproc5
-DBUILD_DESKTOPTHEMES=OFF"
hostmakedepends="kcoreaddons extra-cmake-modules pkg-config
kpackage kconfig python3 qt5-host-tools qt5-qmake gettext kdoctools"
makedepends="kactivities5-devel kdeclarative-devel kdoctools-devel kirigami2-devel
$(vopt_if wayland kwayland-devel) kconfig-devel"
depends="qt5-quickcontrols qt5-graphicaleffects qt5-multimedia
libplasma"
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=2c6f30bb11a6476b706f34d2f5af1c9e4c98177dc885f9c95d4a24752c9611f7
do_check() {
cd build
ctest -E "plasma-configmodeltest|coronatest|plasma-sortfiltermodeltest|i18ndcheck|\
plasma-dialogstatetest|plasma-iconitemtest|plasma-themetest|dialognativetest|iconitemhidpitest"
}
build_options="wayland"
build_options_default="wayland"
plasma-framework-devel_package() {
short_desc+=" - development files"
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
vmove "usr/lib/*.so"
}
}