From c25c86635486c8e49bc5025566b4711974063efa Mon Sep 17 00:00:00 2001 From: Zheng Junjie Date: Tue, 9 Jul 2024 17:19:01 +0800 Subject: gnu: krita: Update to 5.2.3. * gnu/packages/kde.scm (krita): Update to 5.2.3. [inputs]: Remove karchive, kcompletion, kconfig, kcoreaddons, kcrash, kguiaddons, ki18n, kiconthemes, kio, kitemviews, kwidgetsaddons, kwindowsystem, kxmlgui, and libkdcraw; add karchive-5, kcompletion-5, kconfig-5, kcoreaddons-5, kcrash-5, kguiaddons-5, ki18n-5, kiconthemes-5, kio-5, kitemviews-5, kwidgetsaddons-5, kwindowsystem-5, kxmlgui-5, and libkdcraw-qt5. [arguments]<#:phases>: Add wrap-bin phase. Change-Id: I1247092650f9dee766a8937e8c88be216285072a --- gnu/packages/kde.scm | 40 +++++++++++++++++++++++----------------- 1 file changed, 23 insertions(+), 17 deletions(-) diff --git a/gnu/packages/kde.scm b/gnu/packages/kde.scm index eb564bb130..bdd6dd1b20 100644 --- a/gnu/packages/kde.scm +++ b/gnu/packages/kde.scm @@ -781,7 +781,7 @@ (define-public kolourpaint (define-public krita (package (name "krita") - (version "5.2.1") + (version "5.2.3") (source (origin (method url-fetch) @@ -789,7 +789,7 @@ (define-public krita "mirror://kde/stable/krita/" version "/krita-" version ".tar.gz")) (sha256 - (base32 "1kzmn89b1vrasba7z8hp8izyrrskgc7ggnz82zqyyy1v5d8mnri7")) + (base32 "1h2whbccgr2xhln4zx708hksg4284dhgjz10cnnkfgiwp7nlcsj6")) (patches (search-patches "krita-bump-sip-abi-version-to-12.8.patch")))) (build-system qt-build-system) (arguments @@ -811,7 +811,13 @@ (define-public krita (("set\\(CMAKE_AUTOMOC OFF\\)") "set(CMAKE_AUTOMOC OFF) set(CMAKE_CXX_FLAGS \"${CMAKE_CXX_FLAGS} -fPIC\" ) -set(CMAKE_C_FLAGS \"${CMAKE_C_FLAGS} -fPIC\" ) "))))))) +set(CMAKE_C_FLAGS \"${CMAKE_C_FLAGS} -fPIC\" ) ")))) + (add-after 'install 'wrap-bin + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (python-path (getenv "GUIX_PYTHONPATH"))) + (wrap-program (string-append out "/bin/krita") + `("GUIX_PYTHONPATH" ":" prefix (,python-path))))))))) (native-inputs (list curl eigen @@ -837,26 +843,26 @@ (define-public krita harfbuzz imath immer - karchive - kcompletion - kconfig - kcoreaddons - kcrash - kguiaddons - ki18n - kiconthemes - kio - kitemviews + karchive-5 + kcompletion-5 + kconfig-5 + kcoreaddons-5 + kcrash-5 + kguiaddons-5 + ki18n-5 + kiconthemes-5 + kio-5 + kitemviews-5 kseexpr - kwidgetsaddons - kwindowsystem - kxmlgui + kwidgetsaddons-5 + kwindowsystem-5 + kxmlgui-5 lager lcms libheif libjpeg-turbo libjxl - libkdcraw + libkdcraw-qt5 libmypaint libpng ;; libraqm -- cgit v1.2.3