aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2024-11-16 09:11:11 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2024-11-16 09:11:35 +0100
commit43e0b96f6c33b0a6b03bb04591585bfeb9537f1a (patch)
treefc328ecc82057a3a0c91195037021b719a93365d
parentkde-plasma/plasma-desktop: Add IUSE tablet (diff)
downloadkde-43e0b96f6c33b0a6b03bb04591585bfeb9537f1a.tar.gz
kde-43e0b96f6c33b0a6b03bb04591585bfeb9537f1a.tar.bz2
kde-43e0b96f6c33b0a6b03bb04591585bfeb9537f1a.zip
kde-plasma/plasma-desktop: Switch IUSE tablet -> input_devices_wacom
Bug: https://bugs.gentoo.org/942817 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
-rw-r--r--kde-plasma/plasma-desktop/metadata.xml1
-rw-r--r--kde-plasma/plasma-desktop/plasma-desktop-9999.ebuild16
2 files changed, 8 insertions, 9 deletions
diff --git a/kde-plasma/plasma-desktop/metadata.xml b/kde-plasma/plasma-desktop/metadata.xml
index cd57c1d37f..a6a6f9e8ba 100644
--- a/kde-plasma/plasma-desktop/metadata.xml
+++ b/kde-plasma/plasma-desktop/metadata.xml
@@ -13,7 +13,6 @@
<flag name="scim">Enable applets that use <pkg>app-i18n/scim</pkg></flag>
<flag name="screencast">Enable screencast portal thumbnails using <pkg>kde-plasma/kpipewire</pkg></flag>
<flag name="sdl">Enable gamepad support using <pkg>media-libs/libsdl2</pkg></flag>
- <flag name="tablet">Build system settings module for tablets using <pkg>dev-libs/libwacom</pkg></flag>
<flag name="webengine">Build the OpenDesktop integration plugin</flag>
</use>
</pkgmetadata>
diff --git a/kde-plasma/plasma-desktop/plasma-desktop-9999.ebuild b/kde-plasma/plasma-desktop/plasma-desktop-9999.ebuild
index b197836176..de72a06e68 100644
--- a/kde-plasma/plasma-desktop/plasma-desktop-9999.ebuild
+++ b/kde-plasma/plasma-desktop/plasma-desktop-9999.ebuild
@@ -17,7 +17,7 @@ SRC_URI+=" https://dev.gentoo.org/~asturm/distfiles/${XORGHDRS}.tar.xz"
LICENSE="GPL-2" # TODO: CHECK
SLOT="6"
KEYWORDS=""
-IUSE="ibus scim screencast sdl +semantic-desktop +tablet webengine"
+IUSE="ibus input_devices_wacom scim screencast sdl +semantic-desktop webengine"
RESTRICT="test" # missing selenium-webdriver-at-spi
@@ -82,14 +82,14 @@ COMMON_DEPEND="
dev-libs/glib:2
x11-libs/xcb-util-keysyms
)
- scim? ( app-i18n/scim )
- sdl? ( media-libs/libsdl2[joystick] )
- semantic-desktop? ( >=kde-frameworks/baloo-${KFMIN}:6 )
- tablet? (
+ input_devices_wacom? (
dev-libs/wayland
dev-libs/libwacom:=
>=dev-qt/qtwayland-${QTMIN}:6
)
+ scim? ( app-i18n/scim )
+ sdl? ( media-libs/libsdl2[joystick] )
+ semantic-desktop? ( >=kde-frameworks/baloo-${KFMIN}:6 )
webengine? (
kde-apps/kaccounts-integration:6
>=net-libs/accounts-qt-1.17[qt6(+)]
@@ -98,7 +98,7 @@ COMMON_DEPEND="
DEPEND="${COMMON_DEPEND}
dev-libs/boost
x11-base/xorg-proto
- tablet? ( >=dev-libs/wayland-protocols-1.25 )
+ input_devices_wacom? ( >=dev-libs/wayland-protocols-1.25 )
test? (
>=kde-frameworks/qqc2-desktop-style-${KFMIN}:6
>=kde-plasma/kactivitymanagerd-${PVCUT}:6
@@ -124,7 +124,7 @@ BDEPEND="
dev-util/intltool
>=kde-frameworks/kcmutils-${KFMIN}:6
virtual/pkgconfig
- tablet? ( dev-util/wayland-scanner )
+ input_devices_wacom? ( dev-util/wayland-scanner )
"
PATCHES=(
@@ -153,9 +153,9 @@ src_configure() {
-DXORGSERVER_INCLUDE_DIRS="${WORKDIR}/${XORGHDRS}"/include
-DCMAKE_DISABLE_FIND_PACKAGE_PackageKitQt6=ON # not packaged
$(cmake_use_find_package ibus GLIB2)
+ -DBUILD_KCM_TABLET=$(usex input_devices_wacom)
$(cmake_use_find_package sdl SDL2)
$(cmake_use_find_package semantic-desktop KF6Baloo)
- -DBUILD_KCM_TABLET=$(usex tablet)
$(cmake_use_find_package webengine AccountsQt6)
$(cmake_use_find_package webengine KAccounts6)
)