gnu: Add kiconthemes-5.

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

Change-Id: Idec5d6d1bab80637333af7a180f02f2e435d53f3
This commit is contained in:
Zheng Junjie 2024-07-08 13:59:34 +08:00
parent 7d1ed997cc
commit 6a5abb1f17
No known key found for this signature in database
GPG key ID: 3B5AA993E1A2DFF0

View file

@ -3357,6 +3357,49 @@ (define-public kiconthemes
in applications using the KDE Frameworks.") in applications using the KDE Frameworks.")
(license license:lgpl2.1+))) (license license:lgpl2.1+)))
(define-public kiconthemes-5
(package
(inherit kiconthemes)
(name "kiconthemes")
(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
"0q859zbjys7lajwpgl78ji4dif7cxdxirqb8b6f7k7bk53ignvly"))))
(build-system cmake-build-system)
(native-inputs
(list extra-cmake-modules qttools-5 shared-mime-info))
(inputs
(list karchive-5
kauth-5
kcodecs-5
kcoreaddons-5
kconfig-5
kconfigwidgets-5
ki18n-5
kitemviews-5
kwidgetsaddons-5
qtbase-5
qtdeclarative-5
qtsvg-5))
(arguments
(list #:phases
#~(modify-phases %standard-phases
(add-before 'check 'check-setup
(lambda* (#:key inputs #:allow-other-keys)
(setenv "XDG_DATA_DIRS"
(string-append #$(this-package-native-input
"shared-mime-info")
"/share"))
(setenv "HOME" (getcwd))
;; make Qt render "offscreen", required for tests
(setenv "QT_QPA_PLATFORM" "offscreen"))))))))
(define-public kinit (define-public kinit
(package (package
(name "kinit") (name "kinit")