Subject: [PATCH 04/12] gnu: Add kmag.

From: Hartmut Goebel <[email-masked]>
Date: Mon, 9 Dec 2019 22:53:50 +0100

* gnu/packages/kde-utils.scm (kmag): New variable.
---
 gnu/packages/kde-utils.scm | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

diff --git a/gnu/packages/kde-utils.scm b/gnu/packages/kde-utils.scm
index 1a9f7cf56a..722a9aaaf3 100644
--- a/gnu/packages/kde-utils.scm
+++ b/gnu/packages/kde-utils.scm
@@ -91,3 +91,34 @@ Kate's features include:
 @item XML completion and validation
 @end itemize")
     (license (list license:gpl2+ license:lgpl2.0))))
+
+(define-public kmag
+  (package
+    (name "kmag")
+    (version "19.08.3")
+    (source
+     (origin
+      (method url-fetch)
+      (uri (string-append "mirror://kde/stable/applications/" version
+                          "/src/kmag-" version ".tar.xz"))
+      (sha256
+       (base32 "0l69mgnh2mmkxawwibqdx9n7myl6qqnr2fd3mpsg2bzpcfvmsvi1"))))
+    (properties `((tags . ("Desktop" "KDE" "Utilities"))))
+    (build-system qt-build-system)
+    (native-inputs
+     `(("extra-cmake-modules" ,extra-cmake-modules)
+       ("kdoctools" ,kdoctools)))
+    (inputs
+     `(("ki18n" ,ki18n)
+       ("kio" ,kio)
+       ("kxmlgui" ,kxmlgui)
+       ("oxygen-icons" ,oxygen-icons) ;; default icon set
+       ;; TODO: QAccessibilityClient - libqaccessibilityclien
+       ("qtbase" ,qtbase)))
+    (home-page "https://kde.org/applications/utilities/org.kde.kmag")
+    (synopsis "Screen magnifier tool")
+    (description "You can use KMagnifier to magnify a part of the screen just
+as you would use a lens to magnify a newspaper fine-print or a photograph.
+This application is useful for a variety of people: from researchers to
+artists to web-designers to people with low vision.")
+    (license (list license:gpl2+ license:fdl1.2+))))
-- 
2.21.0