gnu: kvantum: Update to 1.1.2.

* gnu/packages/qt.scm (kvantum): Update to 1.1.2.
[source]: Switch to git-fetch.
[arguments]: Set #:qtbase to qtbase.
<#:phases>: Adjust patch-style-dir phase.
[inputs]: Remove libx11, libxext, qtbase-5, qtsvg-5, and qtx11extras; add qtsvg.
[native-inputs]: Remove qttools-5; add qttools.

Change-Id: I1dbfe5587467df747f91eccbc2b3ce3f3ed21e31
This commit is contained in:
Zheng Junjie 2024-07-29 15:46:06 +08:00
parent 882077fd30
commit 22e071e38a
No known key found for this signature in database
GPG key ID: 3B5AA993E1A2DFF0

View file

@ -313,19 +313,21 @@ (define-public kddockwidgets
(define-public kvantum
(package
(name "kvantum")
(version "1.0.7")
(version "1.1.2")
(source (origin
(method url-fetch)
(uri (string-append
"https://github.com/tsujan/Kvantum/releases/download/V"
version "/Kvantum-" version ".tar.xz"))
(method git-fetch)
(uri (git-reference
(url "https://github.com/tsujan/Kvantum")
(commit (string-append "V" version))))
(file-name (git-file-name name version))
(sha256
(base32
"0zwxswbgd3wc7al3fhrl5qc0fmmb6mkygywjh1spbqpl7s8jw5s3"))))
"1prlv2fqwbxj9fqs4xf925qh9m9ginh0mcc618yg3h23vxq9g9ym"))))
(build-system qt-build-system)
(arguments
(list
#:tests? #f ;no tests
#:qtbase qtbase
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'chdir
@ -336,15 +338,11 @@ (define-public kvantum
(substitute* "style/CMakeLists.txt"
(("\\$\\{KVANTUM_STYLE_DIR\\}")
(string-append #$output
"/lib/qt5/plugins/styles"))))))))
(native-inputs (list qttools-5))
"/lib/qt6/plugins/styles"))))))))
(native-inputs (list qttools))
(inputs (list
kwindowsystem
libx11
libxext
qtbase-5
qtsvg-5
qtx11extras))
qtsvg))
(synopsis "SVG-based theme engine for Qt")
(description
"Kvantum is an SVG-based theme engine for Qt,