plasma-framework: add wayland build option

This commit is contained in:
Piotr Wójcik 2022-05-19 22:23:18 +02:00 committed by Piotr
parent e2bc1bea36
commit 6031af937e

View file

@ -6,8 +6,8 @@ build_style=cmake
configure_args="-DDESKTOPTOJSON_EXECUTABLE=/usr/bin/desktoptojson"
hostmakedepends="kcoreaddons extra-cmake-modules pkg-config
kpackage kconfig python3 qt5-host-tools qt5-qmake gettext kdoctools"
makedepends="kactivities5-devel kdeclarative-devel kdoctools-devel kwayland-devel
kirigami2-devel"
makedepends="kactivities5-devel kdeclarative-devel kdoctools-devel kirigami2-devel
$(vopt_if wayland kwayland-devel)"
depends="qt5-quickcontrols qt5-graphicaleffects qt5-multimedia"
checkdepends="mesa-dri"
short_desc="Foundational libraries, components, and tools of the Plasma workspaces"
@ -22,6 +22,9 @@ do_check() {
ctest -E 'plasma-configmodeltest|coronatest|plasma-sortfiltermodeltest|i18ndcheck|plasma-dialogstatetest|plasma-iconitemtest|plasma-themetest|dialognativetest'
}
build_options="wayland"
build_options_default="wayland"
plasma-framework-devel_package() {
short_desc+=" - development"
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"