mirror of
https://codeberg.org/flk/meta-wayland.git
synced 2024-12-30 15:28:22 +01:00
45 lines
1.1 KiB
BlitzBasic
45 lines
1.1 KiB
BlitzBasic
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 \
|
|
"
|
|
|
|
SRC_URI = " \
|
|
git://github.com/swaywm/swayidle.git;protocol=https;branch=master \
|
|
"
|
|
|
|
S = "${WORKDIR}/git"
|
|
PV = "1.8.0"
|
|
SRCREV = "f554943bec003c2f70306123bd8db18465fcc3e4"
|
|
|
|
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)} \
|
|
"
|
|
|
|
# Reproducibility issue. Fix me!
|
|
CFLAGS:append = " -Wno-error=date-time"
|
|
|
|
FILES:${PN} += "${datadir}"
|
|
|
|
EXTRA_OEMESON += "--buildtype release"
|
|
|
|
BBCLASSEXTEND = ""
|
|
|