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
This commit is contained in:
Zheng Junjie 2024-07-09 17:19:01 +08:00
parent fc31bb9f0f
commit c25c866354
No known key found for this signature in database
GPG Key ID: 3B5AA993E1A2DFF0

View File

@ -781,7 +781,7 @@ painting, image manipulating and icon editing.")
(define-public krita (define-public krita
(package (package
(name "krita") (name "krita")
(version "5.2.1") (version "5.2.3")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
@ -789,7 +789,7 @@ painting, image manipulating and icon editing.")
"mirror://kde/stable/krita/" version "/krita-" version "mirror://kde/stable/krita/" version "/krita-" version
".tar.gz")) ".tar.gz"))
(sha256 (sha256
(base32 "1kzmn89b1vrasba7z8hp8izyrrskgc7ggnz82zqyyy1v5d8mnri7")) (base32 "1h2whbccgr2xhln4zx708hksg4284dhgjz10cnnkfgiwp7nlcsj6"))
(patches (search-patches "krita-bump-sip-abi-version-to-12.8.patch")))) (patches (search-patches "krita-bump-sip-abi-version-to-12.8.patch"))))
(build-system qt-build-system) (build-system qt-build-system)
(arguments (arguments
@ -811,7 +811,13 @@ painting, image manipulating and icon editing.")
(("set\\(CMAKE_AUTOMOC OFF\\)") (("set\\(CMAKE_AUTOMOC OFF\\)")
"set(CMAKE_AUTOMOC OFF) "set(CMAKE_AUTOMOC OFF)
set(CMAKE_CXX_FLAGS \"${CMAKE_CXX_FLAGS} -fPIC\" ) 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 (native-inputs
(list curl (list curl
eigen eigen
@ -837,26 +843,26 @@ set(CMAKE_C_FLAGS \"${CMAKE_C_FLAGS} -fPIC\" ) ")))))))
harfbuzz harfbuzz
imath imath
immer immer
karchive karchive-5
kcompletion kcompletion-5
kconfig kconfig-5
kcoreaddons kcoreaddons-5
kcrash kcrash-5
kguiaddons kguiaddons-5
ki18n ki18n-5
kiconthemes kiconthemes-5
kio kio-5
kitemviews kitemviews-5
kseexpr kseexpr
kwidgetsaddons kwidgetsaddons-5
kwindowsystem kwindowsystem-5
kxmlgui kxmlgui-5
lager lager
lcms lcms
libheif libheif
libjpeg-turbo libjpeg-turbo
libjxl libjxl
libkdcraw libkdcraw-qt5
libmypaint libmypaint
libpng libpng
;; libraqm ;; libraqm