diff mbox series

[bug#72812,2/2] gnu: Add guix-simplyblack-sddm-theme-qt5.

Message ID 8ce7d877f79811619bddf641158a00e86053a6c3.1724635645.git.plattfot@posteo.net
State New
Headers show
Series gnu: guix-simplyblack-sddm-theme: Update to 0.2. | expand

Commit Message

Fredrik Salomonsson Aug. 26, 2024, 1:27 a.m. UTC
* gnu/packages/display-managers.scm (guix-simplyblack-sddm-theme-qt5): New variable.

Change-Id: Ia4caa3126a37b8b4f885286d60a27cd72272a75b
---
 gnu/packages/display-managers.scm | 13 +++++++++++++
 1 file changed, 13 insertions(+)
diff mbox series

Patch

diff --git a/gnu/packages/display-managers.scm b/gnu/packages/display-managers.scm
index 55c50d59d0..9fef85d71f 100644
--- a/gnu/packages/display-managers.scm
+++ b/gnu/packages/display-managers.scm
@@ -256,6 +256,19 @@  (define-public guix-simplyblack-sddm-theme
     ;; Theme under cc-by-sa3.0, guix logo under license:cc-by-sa4.0
     (license (list license:cc-by-sa3.0 license:cc-by-sa4.0))))
 
+(define-public guix-simplyblack-sddm-theme-qt5
+  (package
+    (inherit guix-simplyblack-sddm-theme)
+    (name "guix-simplyblack-sddm-theme-qt5")
+    (source
+     (origin
+       (inherit (package-source guix-simplyblack-sddm-theme))
+       (modules '((guix build utils)))
+       (snippet '(begin
+                   (substitute* "metadata.desktop"
+                     (("QtVersion=6")
+                      "QtVersion=5"))))))))
+
 (define-public chili-sddm-theme
   (package
     (name "chili-sddm-theme")