mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-31 23:06:59 +01:00
gnu: kimageformats: Update to 6.3.0.
* gnu/packages/kde-frameworks.scm (kimageformats): Update to 6.3.0. [inputs]: Remove openexr-2 and qtbase-5; add openexr, qtbase, libjxl, libraw, libavif, qtimageformats, imath, and zlib. [arguments]: Stop replace check phase; Remove configure-flags. Change-Id: Ia2258792a5a867ff4c33843c1a1a91cc496f9ec7
This commit is contained in:
parent
ba33f53c48
commit
a3a8c9dc71
1 changed files with 13 additions and 23 deletions
|
@ -1879,7 +1879,7 @@ (define-public kimageannotator
|
|||
(define-public kimageformats
|
||||
(package
|
||||
(name "kimageformats")
|
||||
(version "5.114.0")
|
||||
(version "6.3.0")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (string-append
|
||||
|
@ -1888,14 +1888,22 @@ (define-public kimageformats
|
|||
name "-" version ".tar.xz"))
|
||||
(sha256
|
||||
(base32
|
||||
"1nfzpgnrbwncx9zp9cwa169jlfv7i85p00a07d4jc5hrdyvvkn0w"))))
|
||||
"040j1jr7v4bc0zh4lf7bn9sj4a7g3c8icljagjpm7v9mpmqhgm0f"))))
|
||||
(build-system cmake-build-system)
|
||||
(native-inputs
|
||||
(list extra-cmake-modules pkg-config))
|
||||
(inputs
|
||||
(list karchive ; for Krita and OpenRaster images
|
||||
openexr-2 ; for OpenEXR high dynamic-range images
|
||||
qtbase-5))
|
||||
openexr ; for OpenEXR high dynamic-range images
|
||||
qtbase
|
||||
libjxl
|
||||
libraw
|
||||
libavif
|
||||
;; see https://bugs.kde.org/show_bug.cgi?id=468288,
|
||||
;; kimageformats-read-psd test need QTiffPlugin
|
||||
qtimageformats
|
||||
;; FIXME: make openexr propagate two package
|
||||
imath zlib))
|
||||
(arguments
|
||||
(list
|
||||
#:phases
|
||||
|
@ -1903,25 +1911,7 @@ (define-public kimageformats
|
|||
(add-before 'check 'check-setup
|
||||
(lambda _
|
||||
;; make Qt render "offscreen", required for tests
|
||||
(setenv "QT_QPA_PLATFORM" "offscreen")
|
||||
(setenv "QT_PLUGIN_PATH"
|
||||
(string-append (getcwd) "/bin:"
|
||||
(getenv "QT_PLUGIN_PATH")))))
|
||||
(replace 'check
|
||||
(lambda* (#:key tests? #:allow-other-keys)
|
||||
(when tests?
|
||||
(setenv "HOME"
|
||||
(getcwd))
|
||||
;; FIXME: I guess kde's qt no this fail.
|
||||
;; see https://invent.kde.org/frameworks/kimageformats/-/jobs/1046283
|
||||
(invoke "ctest" "-E" "kimageformats-read-psd")))))
|
||||
;; FIXME: The header files of ilmbase (propagated by openexr) are not
|
||||
;; found when included by the header files of openexr, and an explicit
|
||||
;; flag needs to be set.
|
||||
#:configure-flags #~(list (string-append "-DCMAKE_CXX_FLAGS=-I"
|
||||
(assoc-ref %build-inputs
|
||||
"ilmbase")
|
||||
"/include/OpenEXR"))))
|
||||
(setenv "QT_QPA_PLATFORM" "offscreen"))))))
|
||||
(home-page "https://community.kde.org/Frameworks")
|
||||
(synopsis "Plugins to allow QImage to support extra file formats")
|
||||
(description "This framework provides additional image format plugins for
|
||||
|
|
Loading…
Reference in a new issue