me
/
guix
Archived
1
0
Fork 0

gnu: Add kimageformats-5.

* gnu/packages/kde-frameworks.scm (kimageformats-5): New variable.

Change-Id: I151594513fde3f38d6f4858f938128878e1cacee
master
Zheng Junjie 2024-07-14 17:23:22 +08:00
parent 12303853c7
commit 7db116a322
No known key found for this signature in database
GPG Key ID: 3B5AA993E1A2DFF0
1 changed files with 34 additions and 0 deletions

View File

@ -2696,6 +2696,40 @@ but may be a runtime requirement for Qt-based software to support certain image
formats.") formats.")
(license license:lgpl2.1+))) (license license:lgpl2.1+)))
(define-public kimageformats-5
(package
(inherit kimageformats)
(name "kimageformats")
(version "5.116.0")
(source (origin
(method url-fetch)
(uri (string-append
"mirror://kde/stable/frameworks/"
(version-major+minor version) "/"
name "-" version ".tar.xz"))
(sha256
(base32
"174g32s3m7irzv2h3lk7bmp3yfc7zrmp7lmp02n3m5ppbv6rn4bw"))))
(native-inputs
(list extra-cmake-modules pkg-config))
(inputs
(list karchive-5 ; for Krita and OpenRaster images
openexr-2 ; for OpenEXR high dynamic-range images
qtbase-5
qtimageformats-5))
(arguments
(list
#:phases
#~(modify-phases %standard-phases
(add-before 'check 'check-setup
(lambda _
;; make Qt render "offscreen", required for tests
(setenv "QT_QPA_PLATFORM" "offscreen"))))
#:configure-flags #~(list (string-append "-DCMAKE_CXX_FLAGS=-I"
(assoc-ref %build-inputs
"ilmbase")
"/include/OpenEXR"))))))
(define-public kjobwidgets (define-public kjobwidgets
(package (package
(name "kjobwidgets") (name "kjobwidgets")