Subject: [PATCH 2/3] gnu: Add gtkgreet.

From: muradm <[email-masked]>
Date: Thu, 2 Jan 2025 01:53:14 +0300

* gnu/packages/admin.scm (gtkgreet): New variable.

Change-Id: I1ba56f77dc4059ac17d1f8e9f0d89fd0f65cb008
---
 gnu/packages/admin.scm | 25 ++++++++++++++++++++++++-
 1 file changed, 24 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm
index dce93e4f3a..e28b59d51c 100644
--- a/gnu/packages/admin.scm
+++ b/gnu/packages/admin.scm
@@ -44,7 +44,7 @@
 ;;; Copyright © 2021 WinterHound <[email-masked]>
 ;;; Copyright © 2021 Brice Waegeneire <[email-masked]>
 ;;; Copyright © 2021 Maxime Devos <[email-masked]>
-;;; Copyright © 2021 muradm <[email-masked]>
+;;; Copyright © 2021, 2025 muradm <[email-masked]>
 ;;; Copyright © 2021 pineapples <[email-masked]>
 ;;; Copyright © 2021 Petr Hodina <[email-masked]>
 ;;; Copyright © 2021-2024 Artyom V. Poptsov <[email-masked]>
@@ -5827,6 +5827,29 @@ (define-public wlgreet
 on a GUI toolkit.")
       (license license:gpl3))))
 
+(define-public gtkgreet
+  (package
+    (name "gtkgreet")
+    (version "0.8")
+    (source
+     (origin
+       (method git-fetch)
+       (uri
+        (git-reference
+         (url "https://git.sr.ht/~kennylevinsen/gtkgreet")
+         (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0bqxz39lc8vh6bkirvrbn2lgf1qz5b04lfwgp5xa1ki1bnm5i80q"))))
+    (build-system meson-build-system)
+    (native-inputs (list pkg-config scdoc))
+    (inputs (list gtk+ gtk-layer-shell json-c))
+    (synopsis "GTK based greeter for greetd")
+    (description
+     "GTK based greeter for greetd, to be run under cage or similar.")
+    (home-page "https://git.sr.ht/~kennylevinsen/gtkgreet")
+    (license license:gpl3+)))
+
 (define-public libseat
   (package
     (name "libseat")
-- 
2.47.1