[bug#75009,v5,2/5] gnu: Add libksane.

Message ID 709174bf7810fac6c119d7344cfc32870fc35c7c.1737782569.git.sughosha@disroot.org
State New
Headers
Series gnu: Add tellico. |

Commit Message

Sughosha Jan. 25, 2025, 5:25 a.m. UTC
  * gnu/packages/kde.scm (libksane): New variable.

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

Patch

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")