From 22841e60b76bb622af501bc0f3e1555981e9e7ea Mon Sep 17 00:00:00 2001 From: Sughosha Date: Wed, 16 Aug 2023 22:29:36 +0200 Subject: [PATCH] gnu: Add kde-gtk-config. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/kde-plasma.scm (kde-gtk-config): New variable. Signed-off-by: 宋文武 --- gnu/packages/kde-plasma.scm | 39 +++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) 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 @@ (define-public kactivitymanagerd (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")