z572 pushed a commit to branch kde-team
in repository guix.

commit f15e9c6fef8e995200ab700e477fbdf1b635d087
Author: Zheng Junjie <zhengjun...@iscas.ac.cn>
AuthorDate: Mon Jul 8 10:10:22 2024 +0800

    gnu: libkdcraw: Update to 24.05.2.
    
    * gnu/packages/kde-frameworks.scm (libkdcraw): Update to 24.05.2.
    [inputs]: Remove qtbase-5; add qtbase.
    [arguments]<#:configure-flags>: Set QT_MAJOR_VERSION.
    
    Change-Id: I420cf3dabd5f6e748e604aac8433d90d0676b5dc
---
 gnu/packages/kde-frameworks.scm | 12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm
index 69c39ec2b0..c4e6146c3f 100644
--- a/gnu/packages/kde-frameworks.scm
+++ b/gnu/packages/kde-frameworks.scm
@@ -1585,19 +1585,25 @@ uses a job-based interface to queue tasks and execute 
them in an efficient way."
 (define-public libkdcraw
   (package
     (name "libkdcraw")
-    (version "23.08.4")
+    (version "24.05.2")
     (source
      (origin
        (method url-fetch)
        (uri (string-append "mirror://kde/stable/release-service/" version
                            "/src/" name "-" version ".tar.xz"))
        (sha256
-        (base32 "1mm3gsp7lfqxb9irk59hrzaxdqjv28iwaa1xmpazw4q62nmlj7mi"))))
+        (base32 "0a4aifi3jwkizdn2qsa441f28j9ykymw4bn922d5pz6c9riw3ssr"))))
     (build-system cmake-build-system)
     (native-inputs
      (list pkg-config extra-cmake-modules))
     (inputs
-     (list libraw qtbase-5))
+     (list libraw qtbase))
+    (arguments (list #: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

Reply via email to