aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorSughosha <sughosha@disroot.org>2023-08-16 22:29:36 +0200
committer宋文武 <iyzsong@member.fsf.org>2023-08-17 18:37:10 +0800
commit22841e60b76bb622af501bc0f3e1555981e9e7ea (patch)
treeb91030a3a910f3a1a4c2a651f43a74f14f8c9f17 /gnu/packages
parentdf2b206f6fa306d8fe9bdb503e5afb47d5a892d6 (diff)
downloadguix-22841e60b76bb622af501bc0f3e1555981e9e7ea.tar.gz
guix-22841e60b76bb622af501bc0f3e1555981e9e7ea.zip
gnu: Add kde-gtk-config.
* gnu/packages/kde-plasma.scm (kde-gtk-config): New variable. Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/kde-plasma.scm39
1 files changed, 39 insertions, 0 deletions
diff --git a/gnu/packages/kde-plasma.scm b/gnu/packages/kde-plasma.scm
index 25b1370947..3e1d257091 100644
--- a/gnu/packages/kde-plasma.scm
+++ b/gnu/packages/kde-plasma.scm
@@ -357,6 +357,45 @@ concept.")
(home-page "https://invent.kde.org/plasma/kactivitymanagerd")
(license (list license:gpl2 license:gpl3))))
+(define-public kde-gtk-config
+ (package
+ (name "kde-gtk-config")
+ (version "5.27.7")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "mirror://kde/stable/plasma/" version
+ "/kde-gtk-config-" version ".tar.xz"))
+ (sha256
+ (base32
+ "13qwj3gdfvs0l6k01n8hf25kzrsksi3qi0b1rzpshcj1ix31wamf"))))
+ (build-system qt-build-system)
+ (arguments
+ (list #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'patch-gsettings-schemas-path
+ (lambda* (#:key inputs #:allow-other-keys)
+ (substitute* "cmake/modules/FindGSettingSchemas.cmake"
+ (("\\$\\{PC_GLIB2_PREFIX\\}")
+ (assoc-ref inputs "gsettings-desktop-schemas"))))))))
+ (native-inputs
+ (list extra-cmake-modules pkg-config qtsvg-5 sassc))
+ (inputs
+ (list gsettings-desktop-schemas
+ gtk+
+ kconfig
+ kconfigwidgets
+ kcoreaddons
+ kguiaddons
+ kdbusaddons
+ kdecoration
+ kwindowsystem
+ xsettingsd))
+ (home-page "https://invent.kde.org/plasma/kde-gtk-config")
+ (synopsis "Sync of KDE settings to GTK applications")
+ (description "This package provides tools to sync KDE settings to GTK
+applications.")
+ (license (list license:bsd-2 license:bsd-3 license:gpl2 license:gpl3))))
+
(define-public kdecoration
(package
(name "kdecoration")