From f70eb0ec006ddd6cc21a1a57b263c13fd6c0ec90 Mon Sep 17 00:00:00 2001 From: Changqing Li Date: Tue, 14 Apr 2026 15:55:20 +0800 Subject: [PATCH] libxfce4ui: add wayland PACKAGECONFIG Add wayland PACKAGECONFIG and add wayland and x11 dependency explicitly Signed-off-by: Changqing Li Signed-off-by: Khem Raj --- meta-xfce/recipes-xfce/libxfce4ui/libxfce4ui_4.21.7.bb | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/meta-xfce/recipes-xfce/libxfce4ui/libxfce4ui_4.21.7.bb b/meta-xfce/recipes-xfce/libxfce4ui/libxfce4ui_4.21.7.bb index e672eae540..9c86da48e6 100644 --- a/meta-xfce/recipes-xfce/libxfce4ui/libxfce4ui_4.21.7.bb +++ b/meta-xfce/recipes-xfce/libxfce4ui/libxfce4ui_4.21.7.bb @@ -3,7 +3,7 @@ HOMEPAGE = "https://docs.xfce.org/xfce/libxfce4ui/start" SECTION = "x11/libs" LICENSE = "LGPL-2.0-or-later" LIC_FILES_CHKSUM = "file://COPYING;md5=4cf66a4984120007c9881cc871cf49db" -DEPENDS = "intltool-native perl-native gtk+3 libxfce4util xfce4-dev-tools xfconf" +DEPENDS = "intltool-native perl-native gtk+3 libxfce4util xfce4-dev-tools xfconf gdk-pixbuf" XFCE_COMPRESS_TYPE = "xz" XFCEBASEBUILDCLASS = "meson" @@ -26,7 +26,6 @@ SRC_URI[sha256sum] = "a72a7af39cf183819bcfb61b1747d425261e966ccb172b2fc28f1494f5 EXTRA_OEMESON = "-Dvala=disabled -Dvendor-info=${DISTRO}" -PACKAGECONFIG ??= " \ - ${@bb.utils.contains('DISTRO_FEATURES', 'x11','x11', "", d)} \ -" -PACKAGECONFIG[x11] = "-Dstartup-notification=enabled,-Dstartup-notification=disabled,libepoxy libice libsm startup-notification" +PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'wayland x11', d)}" +PACKAGECONFIG[x11] = "-Dsession-management=enabled -Dstartup-notification=enabled,-Dsession-management=disabled -Dstartup-notification=disabled,libepoxy libice libsm startup-notification" +PACKAGECONFIG[wayland] = "-Dwayland=enabled, -Dwayland=disabled,"