gnu: kde-gtk-config: Update to 6.1.2.

* gnu/packages/kde-plasma.scm (kde-gtk-config): Update to 6.1.2.
[arguments]: Set #:qtbase to qtbase.
[native-inputs]: Remove qtsvg-5; add qtsvg.

Change-Id: I771f422161d4459858709da7949fcdb10fd49708
This commit is contained in:
Zheng Junjie 2024-07-06 13:16:16 +08:00
parent 5870b4071f
commit ea0f237a89
No known key found for this signature in database
GPG key ID: 3B5AA993E1A2DFF0

View file

@ -387,25 +387,27 @@ (define-public kactivitymanagerd
(define-public kde-gtk-config (define-public kde-gtk-config
(package (package
(name "kde-gtk-config") (name "kde-gtk-config")
(version "5.27.7") (version "6.1.2")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (string-append "mirror://kde/stable/plasma/" version (uri (string-append "mirror://kde/stable/plasma/" version
"/kde-gtk-config-" version ".tar.xz")) "/kde-gtk-config-" version ".tar.xz"))
(sha256 (sha256
(base32 (base32
"13qwj3gdfvs0l6k01n8hf25kzrsksi3qi0b1rzpshcj1ix31wamf")))) "099n4dyyqirjm8ixgl3ifiral3jb2ivg74gzfv2xmfgj0cjwszza"))))
(build-system qt-build-system) (build-system qt-build-system)
(arguments (arguments
(list #:phases (list
#~(modify-phases %standard-phases #:qtbase qtbase
(add-after 'unpack 'patch-gsettings-schemas-path #:phases
(lambda* (#:key inputs #:allow-other-keys) #~(modify-phases %standard-phases
(substitute* "cmake/modules/FindGSettingSchemas.cmake" (add-after 'unpack 'patch-gsettings-schemas-path
(("\\$\\{PC_GLIB2_PREFIX\\}") (lambda* (#:key inputs #:allow-other-keys)
(assoc-ref inputs "gsettings-desktop-schemas")))))))) (substitute* "cmake/modules/FindGSettingSchemas.cmake"
(("\\$\\{PC_GLIB2_PREFIX\\}")
(assoc-ref inputs "gsettings-desktop-schemas"))))))))
(native-inputs (native-inputs
(list extra-cmake-modules pkg-config qtsvg-5 sassc)) (list extra-cmake-modules pkg-config qtsvg sassc))
(inputs (inputs
(list gsettings-desktop-schemas (list gsettings-desktop-schemas
gtk+ gtk+