From a3c469f0f1a58bb3bbc01139d7765a788bb921c2 Mon Sep 17 00:00:00 2001
From: Declan Tsien <declantsien@riseup.net>
Date: Wed, 5 Oct 2022 21:48:18 +0800
Subject: [PATCH] gnu: Add greetd-gtkgreet.
* gnu/packages/display-managers.scm (greetd-gtkgreet): New variable.
---
gnu/packages/display-managers.scm | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
@@ -38,6 +38,7 @@ (define-module (gnu packages display-managers)
#:use-module (guix build-system qt)
#:use-module (guix build-system gnu)
#:use-module (guix build-system glib-or-gtk)
+ #:use-module (guix build-system meson)
#:use-module (guix build-system trivial)
#:use-module (guix packages)
#:use-module (guix utils)
@@ -55,12 +56,14 @@ (define-module (gnu packages display-managers)
#:use-module (gnu packages gnupg)
#:use-module (gnu packages gtk)
#:use-module (gnu packages guile)
+ #:use-module (gnu packages man)
#:use-module (gnu packages image)
#:use-module (gnu packages kde-frameworks)
#:use-module (gnu packages linux)
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages python)
#:use-module (gnu packages qt)
+ #:use-module (gnu packages web)
#:use-module (gnu packages xdisorg)
#:use-module (gnu packages xfce)
#:use-module (gnu packages xorg))
@@ -133,6 +136,33 @@ (define-public sddm
;; QML files are MIT licensed and images are CC BY 3.0.
(license (list license:gpl2+ license:expat license:cc-by3.0))))
+
+(define-public greetd-gtkgreet
+ (let ((revision "0")
+ (commit "c09696f6a27aa0e4769fd3f707f27be4407ec95d"))
+ (package
+ (name "greetd-gtkgreet")
+ (version (git-version "0.7" revision commit))
+ (home-page "https://git.sr.ht/~kennylevinsen/gtkgreet")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url home-page)
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1d19v60ilxw4szhc5mbpav5kzml5lvckdy3fasjrhlpl87slvfz9"))))
+ (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, to be run under cage or similar")
+ (description
+ "GTK based greeter for @command{greetd}, to be run under @command{cage}
+or similar.")
+ (license license:gpl3+))))
+
(define-public guix-simplyblack-sddm-theme
(package
(name "guix-simplyblack-sddm-theme")
base-commit: be1d561f1a74d158d67623bf037727918781bd96
--
2.37.3