2024-02-19 20:08:52 +01:00
|
|
|
SUMMARY = "Hyprland's simple, yet multi-threaded and GPU-accelerated screen locking utility"
|
|
|
|
HOMEPAGE = "https:/github.com/hyprwm/hyprlock"
|
|
|
|
LICENSE = "BSD-3-Clause"
|
|
|
|
|
|
|
|
LIC_FILES_CHKSUM = "file://LICENSE;md5=778ddc598b3f2a2da3657dda514da983"
|
|
|
|
|
|
|
|
SRC_URI = "git://github.com/hyprwm/hyprlock.git;protocol=https;branch=main"
|
|
|
|
|
|
|
|
REQUIRED_DISTRO_FEATURES = "opengl"
|
|
|
|
|
2024-06-21 19:33:22 +02:00
|
|
|
DEPENDS = " \
|
|
|
|
cairo \
|
2024-12-19 18:44:40 +01:00
|
|
|
hyprgraphics \
|
2024-06-21 19:33:22 +02:00
|
|
|
hyprlang \
|
|
|
|
hyprutils \
|
|
|
|
jpeg \
|
|
|
|
libdrm \
|
|
|
|
libpam \
|
|
|
|
libwebp \
|
|
|
|
libxkbcommon \
|
|
|
|
pango \
|
2024-10-23 17:15:58 +02:00
|
|
|
sdbus-c++ \
|
2024-06-21 19:33:22 +02:00
|
|
|
virtual/egl \
|
|
|
|
virtual/libgl \
|
|
|
|
wayland \
|
|
|
|
wayland-native \
|
|
|
|
wayland-protocols \
|
|
|
|
"
|
2024-02-19 20:08:52 +01:00
|
|
|
|
|
|
|
S = "${WORKDIR}/git"
|
2024-12-19 18:44:40 +01:00
|
|
|
SRCREV = "d12b4a7fbaf570fbe9322c09a777c124fbf15306"
|
|
|
|
PV = "0.6.0"
|
2024-02-19 20:08:52 +01:00
|
|
|
|
|
|
|
inherit cmake pkgconfig features_check
|
2024-04-10 15:54:02 +02:00
|
|
|
|
|
|
|
do_install() {
|
|
|
|
install -Dm755 ${B}/hyprlock ${D}${bindir}/hyprlock
|
|
|
|
install -Dm644 ${S}/pam/hyprlock ${D}${sysconfdir}/pam.d/hyprlock
|
|
|
|
}
|