diff mbox series

[1/3] seatd: add PACKAGECONFIG for the man-pages

Message ID 20260916160246.276107-1-ross.burton@arm.com
State New
Headers show
Series [1/3] seatd: add PACKAGECONFIG for the man-pages | expand

Commit Message

Ross Burton Sept. 16, 2026, 4:02 p.m. UTC
seatd will build manpages if scdoc is present.  Inherit manpages and
add a PACKAGECONFIG so that we build them if they're enabled.

This also removes a floating dependency on scdoc.

Signed-off-by: Ross Burton <ross.burton@arm.com>
---
 meta/recipes-core/seatd/seatd_0.9.3.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/meta/recipes-core/seatd/seatd_0.9.3.bb b/meta/recipes-core/seatd/seatd_0.9.3.bb
index 72c54d58ab9..82a47196a73 100644
--- a/meta/recipes-core/seatd/seatd_0.9.3.bb
+++ b/meta/recipes-core/seatd/seatd_0.9.3.bb
@@ -10,7 +10,7 @@  SRC_URI = "git://git.sr.ht/~kennylevinsen/seatd;protocol=https;branch=master;tag
            file://init"
 SRCREV = "daa8196e10b180b8b0caeafa8e5f860eb1bd6706"
 
-inherit meson pkgconfig systemd update-rc.d useradd
+inherit meson manpages pkgconfig systemd update-rc.d useradd
 
 # https://www.openwall.com/lists/musl/2020/01/20/3
 CFLAGS:append:libc-musl:powerpc64le = " -Wno-error=overflow"
@@ -30,6 +30,7 @@  PACKAGECONFIG ?= " \
 
 PACKAGECONFIG[libseat-builtin] = "-Dlibseat-builtin=enabled,-Dlibseat-builtin=disabled"
 PACKAGECONFIG[systemd] = "-Dlibseat-logind=systemd,,systemd"
+PACKAGECONFIG[manpages] = "-Dman-pages=enabled,-Dman-pages-disabled,scdoc-native"
 
 do_install:append() {
         if [ "${VIRTUAL-RUNTIME_init_manager}" != "systemd" ]; then