accountsservice: Require the systemd distro feature

libaccountsservice uses sd-login for its session tracking and links
against libsystemd or libelogind unconditionally. There is no elogind
recipe to satisfy the alternative, so on sysvinit distros configure fails:

  meson.build:206:2: ERROR: Assert failed: systemd required but not found

Declare the requirement so that the recipe is skipped there.

Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
This commit is contained in:
Khem Raj committed 2026-11-01 16:27:04 -08:00
1 parent 6f74c160b1
commit 7f106dffb2
1 file changed
+2 -1
@@ -13,7 +13,8 @@ DEPENDS = " \
inherit meson gobject-introspection gtk-doc features_check systemd vala pkgconfig
REQUIRED_DISTRO_FEATURES = "polkit"
# libaccountsservice needs libsystemd or libelogind for its session tracking
REQUIRED_DISTRO_FEATURES = "polkit systemd"
SRC_URI = "git://gitlab.freedesktop.org/${BPN}/${BPN}.git;protocol=https;branch=main;tag=${PV}"
SRCREV = "4e254d9624cc48224c9920b9509df0b144f7be0c"