aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZheng Junjie <zhengjunjie@iscas.ac.cn>2024-07-09 17:19:01 +0800
committerZheng Junjie <zhengjunjie@iscas.ac.cn>2024-07-18 10:45:34 +0800
commitc25c86635486c8e49bc5025566b4711974063efa (patch)
tree68256ff13e3978eef6872ede9b65182c2f313029
parentfc31bb9f0f681bff2e07e061b105778310605719 (diff)
downloadguix-c25c86635486c8e49bc5025566b4711974063efa.tar
guix-c25c86635486c8e49bc5025566b4711974063efa.tar.gz
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
-rw-r--r--gnu/packages/kde.scm40
1 files 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 @@ painting, image manipulating and icon editing.")
(define-public krita
(package
(name "krita")
- (version "5.2.1")
+ (version "5.2.3")
(source
(origin
(method url-fetch)
@@ -789,7 +789,7 @@ painting, image manipulating and icon editing.")
"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 @@ painting, image manipulating and icon editing.")
(("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 @@ set(CMAKE_C_FLAGS \"${CMAKE_C_FLAGS} -fPIC\" ) ")))))))
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