meta-wayland/recipes-support/hyprland/hyprlock_git.bb
2024-04-10 16:17:52 +02:00

23 lines
747 B
BlitzBasic

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"
DEPENDS = "wayland wayland-native wayland-protocols hyprlang libxkbcommon cairo pango libdrm libpam virtual/libgl virtual/egl"
S = "${WORKDIR}/git"
SRCREV = "bc87adf9ec997090f15d9b662d6ca2f86e25f264"
PV = "0.3.0"
inherit cmake pkgconfig features_check
do_install() {
install -Dm755 ${B}/hyprlock ${D}${bindir}/hyprlock
install -Dm644 ${S}/pam/hyprlock ${D}${sysconfdir}/pam.d/hyprlock
}