aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZheng Junjie <zhengjunjie@iscas.ac.cn>2024-07-08 13:59:34 +0800
committerZheng Junjie <zhengjunjie@iscas.ac.cn>2024-07-18 10:45:27 +0800
commit6a5abb1f17f8a3eaaa8b52f8ebabb4fecc4d80e5 (patch)
tree5dc8038b0d884ccdabf40281d3ef1f412c27163f
parent7d1ed997cc9d8a705d705e165106f19b413311d9 (diff)
downloadguix-6a5abb1f17f8a3eaaa8b52f8ebabb4fecc4d80e5.tar.gz
guix-6a5abb1f17f8a3eaaa8b52f8ebabb4fecc4d80e5.zip
gnu: Add kiconthemes-5.
* gnu/packages/kde-frameworks.scm (kiconthemes-5): New variable. Change-Id: Idec5d6d1bab80637333af7a180f02f2e435d53f3
-rw-r--r--gnu/packages/kde-frameworks.scm43
1 files changed, 43 insertions, 0 deletions
diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm
index f083f82117..8e07f8f768 100644
--- a/gnu/packages/kde-frameworks.scm
+++ b/gnu/packages/kde-frameworks.scm
@@ -3357,6 +3357,49 @@ window does not need focus for them to be activated.")
in applications using the KDE Frameworks.")
(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
(package
(name "kinit")