1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-14 09:00:39 +02:00

gnu: libkdcraw(-qt5): Move to kde-graphics.scm.

* gnu/packages/kde-frameworks.scm (libkdcraw): Remove variable.
(libkdcraw-qt5): Ditto.
* gnu/packages/kde-graphics.scm (libkdcraw): New variable.
(libkdcraw-qt5): Ditto.

Change-Id: Ibb12a66a2fac35cf8332620da7daf081cf19870a
This commit is contained in:
Sughosha
2025-10-10 14:03:52 +05:30
committed by Andreas Enge
parent db566fc3ba
commit 2f33de1dfd
2 changed files with 38 additions and 35 deletions

View File

@@ -2204,41 +2204,6 @@ uses a job-based interface to queue tasks and execute them in an efficient way."
(inputs
(list qtbase-5))))
(define-public libkdcraw
(package
(name "libkdcraw")
(version "24.12.1")
(source
(origin
(method url-fetch)
(uri (string-append "mirror://kde/stable/release-service/" version
"/src/" name "-" version ".tar.xz"))
(sha256
(base32 "0m2wi3bhfd5yn57dpix9mbsrzkxm7p1s42zs1x899wmznk8blnib"))))
(build-system cmake-build-system)
(native-inputs
(list pkg-config extra-cmake-modules))
(inputs
(list libraw qtbase))
(arguments (list #:tests? #f
#:configure-flags
#~(list #$(string-append
"-DQT_MAJOR_VERSION="
(version-major
(package-version
(this-package-input "qtbase")))))))
(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))))
(define-public libkdcraw-qt5
(package
(inherit libkdcraw)
(name "libkdcraw-qt5")
(inputs (modify-inputs (package-inputs libkdcraw)
(replace "qtbase" qtbase-5)))))
;; Tier 2
;;

View File

@@ -14,6 +14,7 @@
;;; Copyright © 2022 Petr Hodina <phodina@protonmail.com>
;;; Copyright © 2023 Mehmet Tekman <mtekman89@gmail.com>
;;; Copyright © 2023, 2025 Sughosha <sughosha@disroot.org>
;;; Copyright © 2024 Maxim Cournoyer <maxim@guixotic.coop>
;;; Copyright © 2024 Remco van 't Veer <remco@remworks.net>
;;; Copyright © 2025 Sergio Pastor Pérez <sergio.pastorperez@gmail.com>
;;; Copyright © 2025 pinoaffe <pinoaffe@gmail.com>
@@ -41,6 +42,7 @@
#:use-module (guix gexp)
#:use-module (guix git-download)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix utils)
#:use-module (guix packages)
#:use-module (gnu packages)
#:use-module (gnu packages algebra)
@@ -661,6 +663,42 @@ features include brush stabilizers, brush engines and wrap-around mode.")
expression library, that is used in Krita.")
(license license:gpl3+)))
(define-public libkdcraw
(package
(name "libkdcraw")
(version "24.12.1")
(source
(origin
(method url-fetch)
(uri (string-append "mirror://kde/stable/release-service/" version
"/src/" name "-" version ".tar.xz"))
(sha256
(base32 "0m2wi3bhfd5yn57dpix9mbsrzkxm7p1s42zs1x899wmznk8blnib"))))
(build-system cmake-build-system)
(native-inputs
(list pkg-config extra-cmake-modules))
(inputs
(list libraw qtbase))
(arguments (list #:tests? #f
#:configure-flags
#~(list #$(string-append
"-DQT_MAJOR_VERSION="
(version-major
(package-version
(this-package-input "qtbase")))))))
(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))))
(define-public libkdcraw-qt5
(package
(inherit libkdcraw)
(name "libkdcraw-qt5")
(inputs (modify-inputs (package-inputs libkdcraw)
(replace "qtbase" qtbase-5)))))
(define-public libksane
(package
(name "libksane")