diff options
author | squishypinkelephant <squishypinkelephant@gmail.com> | 2025-03-30 23:47:32 +0200 |
---|---|---|
committer | Danny Milosavljevic <dannym@friendly-machines.com> | 2025-03-30 23:49:56 +0200 |
commit | e5bfbd865035382ecb32b8d050cf998209be72a2 (patch) | |
tree | 736d70280ca07244a6cca0c2cac4efbcc5716859 | |
parent | c019b500cddf2efb8fe7c8e6fa84d098f24287f1 (diff) |
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>
-rw-r--r-- | gnu/packages/xdisorg.scm | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/gnu/packages/xdisorg.scm b/gnu/packages/xdisorg.scm index e83f96978c..302c0434ca 100644 --- a/gnu/packages/xdisorg.scm +++ b/gnu/packages/xdisorg.scm @@ -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") |