mirror of
https://github.com/hyprwm/hyprlock.git
synced 2025-05-12 21:30:37 +01:00
misc: readme cleanup, remove deps required by hyprgraphics (#762)
Some checks failed
Build / nix (push) Has been cancelled
Some checks failed
Build / nix (push) Has been cancelled
This commit is contained in:
parent
e3bd47e177
commit
fae1c4f6fe
4 changed files with 21 additions and 30 deletions
|
@ -82,9 +82,6 @@ pkg_check_modules(
|
||||||
hyprlang>=0.6.0
|
hyprlang>=0.6.0
|
||||||
egl
|
egl
|
||||||
xkbcommon
|
xkbcommon
|
||||||
libjpeg
|
|
||||||
libwebp
|
|
||||||
libmagic
|
|
||||||
cairo
|
cairo
|
||||||
pangocairo
|
pangocairo
|
||||||
libdrm
|
libdrm
|
||||||
|
|
39
README.md
39
README.md
|
@ -2,10 +2,14 @@
|
||||||
Hyprland's simple, yet multi-threaded and GPU-accelerated screen locking utility.
|
Hyprland's simple, yet multi-threaded and GPU-accelerated screen locking utility.
|
||||||
|
|
||||||
## Features
|
## Features
|
||||||
- uses the secure ext-session-lock protocol
|
- Uses the ext-session-lock protocol
|
||||||
- full support for fractional-scale
|
- Support for fractional-scale
|
||||||
- fully GPU accelerated
|
- Fully GPU accelerated
|
||||||
- multi-threaded resource acquisition for no hitches
|
- Multi-threaded resource acquisition
|
||||||
|
- Blurred screenshot as the background
|
||||||
|
- Native fingerprint support (using libfprint's dbus interface)
|
||||||
|
- Some of Hyprland's eyecandy: gradient borders, blur, animations, shadows, etc.
|
||||||
|
- and more...
|
||||||
|
|
||||||
## How it looks
|
## How it looks
|
||||||
|
|
||||||
|
@ -25,26 +29,23 @@ yay -S hyprlock-git # compiles from latest source
|
||||||
|
|
||||||
### Deps
|
### Deps
|
||||||
You need the following dependencies
|
You need the following dependencies
|
||||||
- wayland-client
|
|
||||||
- wayland-protocols
|
|
||||||
- mesa
|
|
||||||
- hyprwayland-scanner
|
|
||||||
|
|
||||||
And the development libraries for the following
|
|
||||||
- cairo
|
- cairo
|
||||||
- libdrm
|
- hyprgraphics
|
||||||
- pango
|
- hyprland-protocols
|
||||||
- xkbcommon
|
|
||||||
- pam
|
|
||||||
- hyprlang
|
- hyprlang
|
||||||
- hyprutils
|
- hyprutils
|
||||||
- hyprgraphics
|
- hyprwayland-scanner
|
||||||
- libmagic (file-devel on Fedora)
|
- mesa (required is libgbm, libdrm and the opengl runtime)
|
||||||
|
- pam
|
||||||
|
- pango
|
||||||
|
- sdbus-cpp (>= 2.0.0)
|
||||||
|
- wayland-client
|
||||||
|
- wayland-protocols
|
||||||
|
- xkbcommon
|
||||||
|
|
||||||
Development libraries are usually suffixed with `-devel` or `-dev` in most distro repos.
|
Sometimes distro packages are missing required development files.
|
||||||
|
Such distros usually offer development versions of library package - commonly suffixed with `-devel` or `-dev`.
|
||||||
You also need to install `mesa-libgbm-devel` on some distros like RPM based ones where its not
|
|
||||||
bundled with the mesa package.
|
|
||||||
|
|
||||||
### Building
|
### Building
|
||||||
|
|
||||||
|
|
|
@ -4,11 +4,8 @@
|
||||||
cmake,
|
cmake,
|
||||||
pkg-config,
|
pkg-config,
|
||||||
cairo,
|
cairo,
|
||||||
file,
|
|
||||||
libdrm,
|
libdrm,
|
||||||
libGL,
|
libGL,
|
||||||
libjpeg,
|
|
||||||
libwebp,
|
|
||||||
libxkbcommon,
|
libxkbcommon,
|
||||||
libgbm,
|
libgbm,
|
||||||
hyprgraphics,
|
hyprgraphics,
|
||||||
|
@ -40,11 +37,8 @@ stdenv.mkDerivation {
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
cairo
|
cairo
|
||||||
file
|
|
||||||
libdrm
|
libdrm
|
||||||
libGL
|
libGL
|
||||||
libjpeg
|
|
||||||
libwebp
|
|
||||||
libxkbcommon
|
libxkbcommon
|
||||||
libgbm
|
libgbm
|
||||||
hyprgraphics
|
hyprgraphics
|
||||||
|
|
|
@ -2,7 +2,6 @@
|
||||||
#include "../config/ConfigManager.hpp"
|
#include "../config/ConfigManager.hpp"
|
||||||
#include "../core/Egl.hpp"
|
#include "../core/Egl.hpp"
|
||||||
#include <cairo/cairo.h>
|
#include <cairo/cairo.h>
|
||||||
#include <magic.h>
|
|
||||||
#include <pango/pangocairo.h>
|
#include <pango/pangocairo.h>
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
#include <filesystem>
|
#include <filesystem>
|
||||||
|
|
Loading…
Reference in a new issue