Subject: [bug#75009] [PATCH v4 2/5] gnu: Add libksane.

From: Sughosha <[email-masked]>
Date: Fri, 24 Jan 2025 14:48:12 +0530

* gnu/packages/kde.scm (libksane): New variable.

Change-Id: I505e2010485e7d4ea9eb70fcf0ab868d0bdb2925
---
 gnu/packages/kde.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/kde.scm b/gnu/packages/kde.scm
index 352edc7ce4..03045a56f7 100644
--- a/gnu/packages/kde.scm
+++ b/gnu/packages/kde.scm
@@ -1359,6 +1359,35 @@ (define-public ksanecore
 for scanner hardware.")
     (license license:lgpl3+)))
 
+(define-public libksane
+  (package
+    (name "libksane")
+    (version "24.12.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "mirror://kde/stable/release-service/" version
+                             "/src/libksane-" version ".tar.xz"))
+       (sha256
+        (base32 "1sv81mpai350196x5sskvf2qsq2abmvjpv28zy7n8cy31if931ga"))))
+    (build-system qt-build-system)
+    (arguments
+     (list #:qtbase qtbase))
+    (native-inputs
+     (list extra-cmake-modules))
+    (inputs
+     (list ki18n
+           ksanecore
+           ktextwidgets
+           kwallet
+           kwidgetsaddons))
+    (home-page "https://invent.kde.org/graphics/libksane")
+    (synopsis "Library providing QWidget with logic to interface scanners")
+    (description
+     "Libksane is a Qt-based interface for SANE library to control flat
+scanners.")
+    (license license:lgpl3+)))
+
 (define-public snorenotify
   (package
     (name "snorenotify")
-- 
2.47.1