* [PATCH] weston: Fix builds that don't include XWayland support
@ 2016-06-09 19:39 Tom Hochstein
0 siblings, 0 replies; only message in thread
From: Tom Hochstein @ 2016-06-09 19:39 UTC (permalink / raw)
To: openembedded-core
If DISTRO_FEATURES contained wayland but not x11, the build
would fail due to nothing providing xserver-xorg-xwayland.
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
---
meta/recipes-graphics/wayland/weston_1.10.0.bb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/recipes-graphics/wayland/weston_1.10.0.bb b/meta/recipes-graphics/wayland/weston_1.10.0.bb
index 37a4839..5bbbeb8 100644
--- a/meta/recipes-graphics/wayland/weston_1.10.0.bb
+++ b/meta/recipes-graphics/wayland/weston_1.10.0.bb
@@ -100,7 +100,7 @@ do_install_append() {
fi
}
-PACKAGE_BEFORE_PN += "${PN}-xwayland"
+PACKAGE_BEFORE_PN += "${@bb.utils.contains('DISTRO_FEATURES', 'x11 wayland', '${PN}-xwayland', '', d)}"
PACKAGES += "${PN}-examples"
FILES_${PN} = "${bindir}/weston ${bindir}/weston-terminal ${bindir}/weston-info ${bindir}/weston-launch ${bindir}/wcap-decode ${libexecdir} ${libdir}/${BPN}/*.so ${datadir}"
--
1.9.1
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2016-06-09 19:58 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-06-09 19:39 [PATCH] weston: Fix builds that don't include XWayland support Tom Hochstein
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.