all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#72360] [PATCH] gnu: kvantum: Update to 1.1.2.
@ 2024-07-30  5:13 Zheng Junjie
  2024-07-31  6:01 ` Maxim Cournoyer
  0 siblings, 1 reply; 3+ messages in thread
From: Zheng Junjie @ 2024-07-30  5:13 UTC (permalink / raw)
  To: 72360; +Cc: Maxim Cournoyer, 宋文武

* 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,

base-commit: fdc6274de5b1d617fcabb3f3af9d2c0dd2a6520d
prerequisite-patch-id: 9429d31c7fc951f1c90d8df0d4c1d5655f38287f
prerequisite-patch-id: 4206102002e22b11bda8bfb3e70e7c2d46f38cda
-- 
2.45.2





^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-08-01 16:05 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-30  5:13 [bug#72360] [PATCH] gnu: kvantum: Update to 1.1.2 Zheng Junjie
2024-07-31  6:01 ` Maxim Cournoyer
2024-08-01 15:54   ` bug#72360: " Z572

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.