diff mbox series

[meta-gnome] gdm: optionally enable plymouth

Message ID 20241119203151.1061658-1-danismostlikely@gmail.com
State Accepted
Headers show
Series [meta-gnome] gdm: optionally enable plymouth | expand

Commit Message

Dan McGregor Nov. 19, 2024, 8:31 p.m. UTC
From: Dan McGregor <dan.mcgregor@usask.ca>

Instead of disabling plymouth, allow a distribution to enable it
with a PACKAGECONFIG.

Signed-off-by: Dan McGregor <dan.mcgregor@usask.ca>
---
 meta-gnome/recipes-gnome/gdm/gdm_47.0.bb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/meta-gnome/recipes-gnome/gdm/gdm_47.0.bb b/meta-gnome/recipes-gnome/gdm/gdm_47.0.bb
index 94836cdbc99..e43b75880e6 100644
--- a/meta-gnome/recipes-gnome/gdm/gdm_47.0.bb
+++ b/meta-gnome/recipes-gnome/gdm/gdm_47.0.bb
@@ -23,8 +23,10 @@  inherit gnomebase gsettings pkgconfig gobject-introspection gettext systemd user
 
 SRC_URI[archive.sha256sum] = "c5858326bfbcc8ace581352e2be44622dc0e9e5c2801c8690fd2eed502607f84"
 
+PACKAGECONFIG ??= ""
+PACKAGECONFIG[plymouth] = "-Dplymouth=enabled,-Dplymouth=disabled,plymouth"
+
 EXTRA_OEMESON = " \
-    -Dplymouth=disabled \
     -Ddefault-pam-config=openembedded \
     -Dpam-mod-dir=${base_libdir}/security \
 "