Subject: [PATCH v2] gnu: Add kamera.

From: Sughosha <[email-masked]>
Date: Sun, 9 Mar 2025 16:02:02 +0530

* gnu/packages/kde-utils.scm (kamera): New variable.

Change-Id: Ic1ff5c386cc40f58cd0e3b8486b9127f5b1e61fd
---
 gnu/packages/kde-utils.scm | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

diff --git a/gnu/packages/kde-utils.scm b/gnu/packages/kde-utils.scm
index 300b90a49f..3101738452 100644
--- a/gnu/packages/kde-utils.scm
+++ b/gnu/packages/kde-utils.scm
@@ -46,6 +46,7 @@ (define-module (gnu packages kde-utils)
   #:use-module (gnu packages mp3)
   #:use-module (gnu packages multiprecision)
   #:use-module (gnu packages pdf)
+  #:use-module (gnu packages photo)
   #:use-module (gnu packages pkg-config)
   #:use-module (gnu packages kde)
   #:use-module (gnu packages kde-frameworks)
@@ -349,6 +350,38 @@ (define-public isoimagewriter
      "This package provides a tool to write ISO files to USB disks.")
     (license license:gpl3+)))
 
+(define-public kamera
+  (package
+    (name "kamera")
+    (version "24.12.3")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "mirror://kde/stable/release-service/"
+                                  version "/src/kamera-" version ".tar.xz"))
+              (sha256
+               (base32
+                "1jvd5lhjpfl9zs53qg69440awqxxhzdkjni0pqk80y953kfsghx0"))))
+    (build-system qt-build-system)
+    (arguments
+     (list #:qtbase qtbase))
+    (native-inputs
+     (list extra-cmake-modules kdoctools))
+    (inputs
+     (list kcmutils
+           kconfig
+           kconfigwidgets
+           kxmlgui
+           ki18n
+           kio
+           libgphoto2))
+    (home-page "https://apps.kde.org/kamera/")
+    (synopsis "KDE integration to digital cameras")
+    (description
+     "Kamera provides a configuration tool and a KIO worker to read and write
+to camera devices supported by @code{libgphoto2} using
+@acronym{PTP,Pictute Transfer Protocol}.")
+    (license license:gpl2+)))
+
 (define-public kate
   (package
     (name "kate")

base-commit: f3f09fb4a370fd0363fd216f73736164a2a29f7b
-- 
2.47.1