gnu: Add wacomtablet.

* gnu/packages/kde-plasma.scm (wacomtablet): New variable.

Change-Id: Ie04db77c7d90bd7dfdf36751c2ff51bc46dd2ea9
This commit is contained in:
Zheng Junjie 2025-01-11 11:06:52 +08:00
parent 4e70fdb83f
commit 899bcb56f4
No known key found for this signature in database
GPG key ID: 3B5AA993E1A2DFF0

View file

@ -3111,3 +3111,50 @@ (define-public system-settings
(home-page "https://invent.kde.org/plasma/systemsettings")
(properties '((upstream-name . "systemsettings")))
(license license:gpl2+)))
(define-public wacomtablet
(package
(name "wacomtablet")
(version "6.2.5")
(source (origin
(method url-fetch)
(uri
(string-append "mirror://kde/stable/plasma/" version
"/wacomtablet-" version ".tar.xz"))
(sha256
(base32
"0yrqrxxa1233fqji12nz0gvkiiffwg0sfvbxhllmrman7s76zcz5"))))
(build-system qt-build-system)
(arguments
(list #:qtbase qtbase
#:phases #~(modify-phases %standard-phases
(replace 'check
(lambda* (#:key tests? #:allow-other-keys)
(when tests?
(invoke "dbus-launch" "ctest" "-E"
"(Test.KDED.DBusTabletService\
|Test.KDED.TabletHandler|Test.KDED.XInputAdaptor|\
Test.KDED.XsetWacomAdaptor)")))))))
(native-inputs (list dbus extra-cmake-modules kdoctools pkg-config))
(inputs (list kcoreaddons
ki18n
kio
kglobalaccel
kconfig
kcmutils
kxmlgui
kwidgetsaddons
kwindowsystem
knotifications
kdbusaddons
plasma5support
qtdeclarative
libwacom
libxi
libxkbcommon
libplasma
xf86-input-wacom))
(home-page "https://invent.kde.org/plasma/wacomtablet")
(synopsis "KDE GUI for the Wacom Linux Drivers")
(description "Provides KDE GUI for the Wacom Linux Drivers.")
(license license:gpl2+)))