all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Yash Tiwari via Guix-patches via <guix-patches@gnu.org>
To: 59536@debbugs.gnu.org
Cc: Yash Tiwari <yasht@mailbox.org>
Subject: [bug#59536] [PATCH] gnu: Add kvantum.
Date: Thu, 24 Nov 2022 11:47:48 +0530	[thread overview]
Message-ID: <2a24602de5005d98057016dcf28ca07f676952f7.1669270666.git.yasht@mailbox.org> (raw)

* gnu/packages/qt.scm (kvantum): New variable.
---
 gnu/packages/qt.scm | 40 ++++++++++++++++++++++++++++++++++++++++
 1 file changed, 40 insertions(+)

diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm
index 30bf429897..bc380c68ba 100644
--- a/gnu/packages/qt.scm
+++ b/gnu/packages/qt.scm
@@ -26,6 +26,7 @@
 ;;; Copyright © 2022 Foo Chuan Wei <chuanwei.foo@hotmail.com>
 ;;; Copyright © 2022 Zhu Zihao <all_but_last@163.com>
 ;;; Copyright © 2022 Petr Hodina <phodina@protonmail.com>
+;;; Copyright © 2022 Yash Tiwari <yasht@mailbox.org>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -185,6 +186,45 @@ (define-public qt5ct
     (home-page "https://qt5ct.sourceforge.io/")
     (license license:bsd-2)))
 
+(define-public kvantum
+  (package
+    (name "kvantum")
+    (version "1.0.6")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append
+                    "https://github.com/tsujan/Kvantum/releases/download/V"
+                    version "/Kvantum-" version ".tar.xz"))
+              (sha256
+               (base32
+                "1vmnb6hxy6nwjjm2asrq9av7rbrrs2rllzq7iwmsm9nidy7i7qxg"))))
+    (build-system qt-build-system)
+    (arguments
+     (list #:tests? #f
+           #:phases #~(modify-phases %standard-phases
+                        (add-after 'unpack 'chdir
+                          (lambda _
+                            (chdir "Kvantum") #t))
+                        (add-after 'chdir 'patch-style-dir
+                          (lambda _
+                            (substitute* "style/CMakeLists.txt"
+                              (("\\$\\{KVANTUM_STYLE_DIR\\}")
+                               (string-append #$output
+                                              "/lib/qt5/plugins/styles"))))))))
+    (native-inputs (list qttools-5))
+    (inputs (list libx11
+                  libxext
+                  qtbase-5
+                  qtsvg-5
+                  qtx11extras
+                  kwindowsystem))
+    (synopsis "SVG-based theme engine for Qt")
+    (description
+     "Kvantum is an SVG-based theme engine for Qt,
+tuned to KDE and LXQt, with an emphasis on elegance, usability and practicality.")
+    (home-page "https://github.com/tsujan/Kvantum")
+    (license license:gpl3)))
+
 (define-public materialdecoration
   (let ((commit "6a5de23f2e5162fbee39d16f938473ff970a2ec0")
         (revision "9"))

base-commit: 22d44f87763f86a05e9679d9ad2c99e17f4c79be
-- 
2.38.1





             reply	other threads:[~2022-11-24  9:14 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-24  6:17 Yash Tiwari via Guix-patches via [this message]
2022-11-25 10:39 ` [bug#59536] [PATCH] gnu: Add kvantum Christopher Baines
2022-11-25 13:48   ` Yash Tiwari via Guix-patches via
2023-01-30  3:23 ` bug#59536: " 宋文武 via Guix-patches via

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2a24602de5005d98057016dcf28ca07f676952f7.1669270666.git.yasht@mailbox.org \
    --to=guix-patches@gnu.org \
    --cc=59536@debbugs.gnu.org \
    --cc=yasht@mailbox.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.