From 22e071e38ae6fb87a74df9c5ff645f0c5c551f32 Mon Sep 17 00:00:00 2001 From: Zheng Junjie Date: Mon, 29 Jul 2024 15:46:06 +0800 Subject: [PATCH] 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 --- gnu/packages/qt.scm | 24 +++++++++++------------- 1 file changed, 11 insertions(+), 13 deletions(-) diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm index c150dca78b..a91bebf358 100644 --- a/gnu/packages/qt.scm +++ b/gnu/packages/qt.scm @@ -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,