mirror of
https://codeberg.org/guix/guix.git
synced 2026-01-25 20:15:25 -06:00
gnu: Add hyprlock.
* gnu/packages/xdisorg.scm (hyprlock): New variable. Co-authored-by: Tanguy Le Carrour <tanguy@bioneland.org> Change-Id: I208cf75393deab40c1420c37b2f09d2835c858cc Signed-off-by: Danny Milosavljevic <dannym@friendly-machines.com>
This commit is contained in:
parent
c019b500cd
commit
e5bfbd8650
1 changed files with 51 additions and 0 deletions
|
|
@ -3796,6 +3796,57 @@ This package is the fork of hsetroot by Hyriand.")
|
|||
"This package provides Hyprland cursor format, library and utilities.")
|
||||
(license license:bsd-3)))
|
||||
|
||||
(define-public hyprlock
|
||||
(package
|
||||
(name "hyprlock")
|
||||
(version "0.7.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 "03ivr5nsjwiwvpdxpjnldwawy8sx8qgwhs57242xkb0zz0w0gvsk"))))
|
||||
(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
|
||||
hyprgraphics
|
||||
hyprlang
|
||||
hyprutils
|
||||
hyprwayland-scanner
|
||||
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
|
||||
"This package provides Hyprland's simple, yet multi-threaded and
|
||||
GPU-accelerated screen locking utility.")
|
||||
(license license:bsd-3)))
|
||||
|
||||
(define-public hyprpaper
|
||||
(package
|
||||
(name "hyprpaper")
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue