From a900ccf6a68ed19769a2ed08edb0ac703daa4aa6 Mon Sep 17 00:00:00 2001 From: Sughosha Date: Sat, 12 Aug 2023 23:05:48 +0200 Subject: [PATCH] gnu: Add libkdcraw. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/kde-frameworks.scm (libkdcraw): New variable. Signed-off-by: 宋文武 --- gnu/packages/kde-frameworks.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm index 8e7916df25..445167279b 100644 --- a/gnu/packages/kde-frameworks.scm +++ b/gnu/packages/kde-frameworks.scm @@ -78,6 +78,7 @@ (define-module (gnu packages kde-frameworks) #:use-module (gnu packages pdf) #:use-module (gnu packages pcre) #:use-module (gnu packages perl) + #:use-module (gnu packages photo) #:use-module (gnu packages pkg-config) #:use-module (gnu packages polkit) #:use-module (gnu packages pulseaudio) @@ -1499,6 +1500,27 @@ (define-public threadweaver uses a job-based interface to queue tasks and execute them in an efficient way.") (license license:lgpl2.1+))) +(define-public libkdcraw + (package + (name "libkdcraw") + (version "23.04.3") + (source + (origin + (method url-fetch) + (uri (string-append "mirror://kde/stable/release-service/" version + "/src/" name "-" version ".tar.xz")) + (sha256 + (base32 "0vwr44j77c1vffsppkzdasd0l8apzx7jn6llwhzb4bjp93arx18w")))) + (build-system cmake-build-system) + (native-inputs + (list pkg-config extra-cmake-modules)) + (inputs + (list libraw qtbase-5)) + (home-page "https://invent.kde.org/graphics/libkdcraw") + (synopsis "C++ interface used to decode RAW picture files") + (description "Libkdcraw is a C++ interface around LibRaw library used to +decode RAW picture files.") + (license (list license:gpl2+ license:bsd-3)))) ;; Tier 2 ;;