diff options
author | Petr Hodina <phodina@protonmail.com> | 2022-08-23 12:55:28 +0200 |
---|---|---|
committer | Marius Bakke <marius@gnu.org> | 2022-11-21 22:01:10 +0100 |
commit | b2a2f566aaed47eb61035c625bdfb3886f91c84d (patch) | |
tree | 025fd5eb844eba6e9ef89c9ab8b07a70d9f6faf1 /gnu/packages/kde-utils.scm | |
parent | 4bc8c1ec9dccd5f9d36edea6a38422ff83148d8b (diff) | |
download | guix-b2a2f566aaed47eb61035c625bdfb3886f91c84d.tar guix-b2a2f566aaed47eb61035c625bdfb3886f91c84d.tar.gz |
gnu: Add wacomtablet.
* gnu/packages/kde-utils.scm (wacomtablet): New variable.
Signed-off-by: Marius Bakke <marius@gnu.org>
Diffstat (limited to 'gnu/packages/kde-utils.scm')
-rw-r--r-- | gnu/packages/kde-utils.scm | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/gnu/packages/kde-utils.scm b/gnu/packages/kde-utils.scm index b2295d184a..2d051c74f6 100644 --- a/gnu/packages/kde-utils.scm +++ b/gnu/packages/kde-utils.scm @@ -22,6 +22,7 @@ (define-module (gnu packages kde-utils) #:use-module (guix build-system qt) + #:use-module (guix gexp) #:use-module (guix download) #:use-module ((guix licenses) #:prefix license:) #:use-module (guix packages) @@ -30,6 +31,7 @@ #:use-module (gnu packages bash) #:use-module (gnu packages cmake) #:use-module (gnu packages compression) + #:use-module (gnu packages glib) ; dbus for tests #:use-module (gnu packages gnome) #:use-module (gnu packages imagemagick) #:use-module (gnu packages pkg-config) @@ -38,6 +40,7 @@ #:use-module (gnu packages kde-plasma) #:use-module (gnu packages qt) #:use-module (gnu packages samba) + #:use-module (gnu packages xdisorg) #:use-module (gnu packages xorg)) (define-public ark @@ -180,6 +183,50 @@ Kate's features include: (license ;; GPL for programs, LGPL for libraries (list license:gpl2+ license:lgpl2.0)))) +(define-public wacomtablet + (package + (name "wacomtablet") + (version "3.2.0") + (source (origin + (method url-fetch) + (uri (string-append "mirror://kde/stable/" + name "/" version "/" + name "-" version ".tar.xz")) + (patches (search-patches + "wacomtablet-add-missing-includes.patch" + "wacomtablet-qt5.15.patch")) + (sha256 + (base32 + "197pwpl87gqlnza36bp68jvw8ww25znk08acmi8bpz7n84xfc368")))) + (build-system qt-build-system) + (arguments + (list #: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 + kglobalaccel + kconfig + kxmlgui + kwidgetsaddons + kwindowsystem + knotifications + kdbusaddons + qtx11extras + qtdeclarative-5 + libwacom + xf86-input-wacom + libxi)) + (propagated-inputs (list plasma-framework)) + (home-page "https://invent.kde.org/system/wacomtablet") + (synopsis "KDE GUI for the Wacom Linux Drivers") + (description "Provides KDE GUI for the Wacom Linux Drivers.") + (license license:gpl2+))) + (define-public kmag (package (name "kmag") |