2021-06-17 21:00:38 +02:00
|
|
|
SUMMARY = "swaylock is a screen locking utility for Wayland compositors."
|
|
|
|
HOMEPAGE = "https://github.com/swaywm/swaylock"
|
|
|
|
BUGTRACKER = "https://github.com/swaywm/swaylock/issues"
|
|
|
|
SECTION = "base/wayland"
|
|
|
|
LICENSE = "MIT"
|
|
|
|
|
|
|
|
LIC_FILES_CHKSUM = "file://LICENSE;md5=b53d9ec16b9125995437ac9efab1b450"
|
|
|
|
|
|
|
|
REQUIRED_DISTRO_FEATURES = "wayland"
|
|
|
|
|
|
|
|
DEPENDS = " \
|
|
|
|
cairo \
|
|
|
|
libxkbcommon \
|
|
|
|
wayland \
|
|
|
|
wayland-native \
|
|
|
|
wayland-protocols \
|
|
|
|
"
|
|
|
|
|
|
|
|
SRC_URI = " \
|
|
|
|
git://github.com/swaywm/swaylock.git;protocol=https \
|
2021-08-20 13:51:05 +02:00
|
|
|
file://0001-load_config-fix-mismatched-allocation-function.patch \
|
2021-06-17 21:00:38 +02:00
|
|
|
"
|
|
|
|
|
|
|
|
S = "${WORKDIR}/git"
|
|
|
|
PV = "1.5"
|
|
|
|
SRCREV = "${PV}"
|
|
|
|
|
|
|
|
PACKAGECONFIG[pam] = ",,libpam"
|
|
|
|
PACKAGECONFIG[gdk-pixbuf] = ",,gdk-pixbuf"
|
|
|
|
PACKAGECONFIG[man-pages] = ",,scdoc-native"
|
|
|
|
|
|
|
|
PACKAGECONFIG ?= " \
|
|
|
|
gdk-pixbuf \
|
|
|
|
pam \
|
|
|
|
"
|
|
|
|
|
2021-08-20 13:51:05 +02:00
|
|
|
# Reproducibility issue. Fix me!
|
|
|
|
CFLAGS:append = " -Wno-error=date-time"
|
|
|
|
|
2021-06-17 21:00:38 +02:00
|
|
|
inherit meson pkgconfig features_check
|
|
|
|
|
|
|
|
EXTRA_OEMESON += "--buildtype release"
|
|
|
|
|
2021-08-07 06:23:26 +02:00
|
|
|
FILES:${PN} += "${datadir}"
|
2021-06-17 21:00:38 +02:00
|
|
|
|
|
|
|
BBCLASSEXTEND = ""
|
|
|
|
|