(address . guix-patches@gnu.org)(name . squishypinkelephant)(address . squishypinkelephant@gmail.com)
loosely dependent on the patch i've submit for hyprpaper to pull (guix packages file)
Change-Id: I541ac276c25b51f66aa5fd5d275e7b3897d5d6a1
---
gnu/packages/xdisorg.scm | 47 ++++++++++++++++++++++++++++++++++++++++
1 file changed, 47 insertions(+)
Toggle diff (62 lines)
diff --git a/gnu/packages/xdisorg.scm b/gnu/packages/xdisorg.scm
index 17ec74ca63..61ff5546ae 100644
--- a/gnu/packages/xdisorg.scm
+++ b/gnu/packages/xdisorg.scm
@@ -3707,6 +3707,53 @@ (define-public hyprcursor
"This package provides Hyprland cursor format, library and utilities.")
(license license:bsd-3)))
+(define-public hyprlock
+ (package
+ (name "hyprlock")
+ (version "0.5.0")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/hyprwm/hyprlock")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "07404h6w5934yimpwb0p9dxg1w3nv702bckm4m99jbjrda6jqhmi"))))
+ (build-system cmake-build-system)
+ (arguments
+ `(#:cmake ,cmake-3.30
+ #:phases
+ (modify-phases %standard-phases
+ ;; remove when fixed
+ (add-after 'unpack 'fixgldiscover
+ (lambda* (#:key inputs native-inputs #:allow-other-keys)
+ (substitute* "CMakeLists.txt"
+ ((" opengl") " gl")
+ (("OpenGL REQUIRED") "OpenGL REQUIRED COMPONENTS GLES2 EGL")))))
+ #:tests? #f)) ;; no test
+ (native-inputs (list gcc-14 pkg-config))
+ (inputs
+ (list cairo
+ file
+ hyprlang
+ hyprutils
+ libdrm
+ libjpeg-turbo
+ libwebp
+ libxkbcommon
+ linux-pam
+ mesa
+ pango
+ sdbus-c++
+ wayland
+ wayland-protocols))
+ (home-page "https://hyprland.org/")
+ (synopsis "Hyprland's screen locking utility")
+ (description
+ "Hyprland's simple, yet multi-threaded and GPU-accelerated screen locking utility.")
+ (license license:bsd-3)))
+
(define-public hyprpaper
(package
(name "hyprpaper")
base-commit: 43d64438c8c31600e392534d9373ff30dbf3bb05
--
2.47.1