meta-wayland/recipes-support/swayidle/swayidle_git.bb

45 lines
1.1 KiB
BlitzBasic
Raw Permalink Normal View History

2021-06-18 11:26:48 +02:00
SUMMARY = "This is sway's idle management daemon."
HOMEPAGE = "https://github.com/swaywm/swayidle"
BUGTRACKER = "https://github.com/swaywm/swayidle/issues"
SECTION = "graphics"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=42c09cdd4a8d20e68711825e20cba37e"
REQUIRED_DISTRO_FEATURES = "wayland"
DEPENDS = " \
wayland \
wayland-native \
wayland-protocols \
2021-06-18 11:48:33 +02:00
"
2021-06-18 11:26:48 +02:00
SRC_URI = " \
2021-11-23 17:16:27 +01:00
git://github.com/swaywm/swayidle.git;protocol=https;branch=master \
2021-06-18 11:26:48 +02:00
"
S = "${WORKDIR}/git"
2022-01-27 19:08:02 +01:00
PV = "1.7.1"
SRCREV = "081d61670387da8fd36bad630d8ced5e48a5fcf0"
2021-06-18 11:26:48 +02:00
inherit meson pkgconfig features_check
PACKAGECONFIG[systemd] = "-Dlogind-provider=systemd,,systemd"
PACKAGECONFIG[sysvinit] = "-Dlogind-provider=elogind,,elogind"
PACKAGECONFIG[man-pages] = ",,scdoc-native"
PACKAGECONFIG ?= " \
${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)} \
${@bb.utils.filter('DISTRO_FEATURES', 'sysvinit', d)} \
"
2021-08-20 13:51:23 +02:00
# Reproducibility issue. Fix me!
CFLAGS:append = " -Wno-error=date-time"
2021-08-07 06:23:26 +02:00
FILES:${PN} += "${datadir}"
2021-06-18 11:26:48 +02:00
EXTRA_OEMESON += "--buildtype release"
BBCLASSEXTEND = ""