mirror of
https://git.yoctoproject.org/poky
synced 2026-06-01 00:59:48 +00:00
weston: clean up and add comments
(From OE-Core rev: 46159f632513de1f14d03e425799a0c193532298) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
fcbf865992
commit
271ea8b628
@@ -17,14 +17,21 @@ inherit autotools pkgconfig useradd
|
|||||||
DEPENDS = "libxkbcommon gdk-pixbuf pixman cairo glib-2.0 mtdev jpeg"
|
DEPENDS = "libxkbcommon gdk-pixbuf pixman cairo glib-2.0 mtdev jpeg"
|
||||||
DEPENDS += "wayland mesa virtual/egl"
|
DEPENDS += "wayland mesa virtual/egl"
|
||||||
|
|
||||||
EXTRA_OECONF = "--disable-android-compositor --enable-setuid-install"
|
EXTRA_OECONF = "--disable-android-compositor \
|
||||||
EXTRA_OECONF += "--disable-tablet-shell --disable-xwayland"
|
--enable-setuid-install \
|
||||||
EXTRA_OECONF += "--enable-simple-clients --enable-clients --disable-simple-egl-clients"
|
--disable-tablet-shell \
|
||||||
|
--disable-xwayland \
|
||||||
|
--enable-simple-clients \
|
||||||
|
--enable-clients \
|
||||||
|
--disable-simple-egl-clients"
|
||||||
|
|
||||||
PACKAGECONFIG ??= "${@base_contains('DISTRO_FEATURES', 'wayland', 'kms wayland', '', d)} \
|
PACKAGECONFIG ??= "${@base_contains('DISTRO_FEATURES', 'wayland', 'kms wayland', '', d)} \
|
||||||
${@base_contains('DISTRO_FEATURES', 'x11', 'x11', '', d)} \
|
${@base_contains('DISTRO_FEATURES', 'x11', 'x11', '', d)} \
|
||||||
${@base_contains('DISTRO_FEATURES', 'opengles2', 'gles', '', d)} \
|
${@base_contains('DISTRO_FEATURES', 'opengles2', 'gles', '', d)} \
|
||||||
"
|
"
|
||||||
|
#
|
||||||
|
# Compositor choices
|
||||||
|
#
|
||||||
# Weston on KMS
|
# Weston on KMS
|
||||||
PACKAGECONFIG[kms] = "--enable-drm-compositor --enable-weston-launch,--disable-drm-compositor --disable-weston-launch,drm udev mesa libpam"
|
PACKAGECONFIG[kms] = "--enable-drm-compositor --enable-weston-launch,--disable-drm-compositor --disable-weston-launch,drm udev mesa libpam"
|
||||||
# Weston on Wayland (nested Weston)
|
# Weston on Wayland (nested Weston)
|
||||||
@@ -32,6 +39,7 @@ PACKAGECONFIG[wayland] = "--enable-wayland-compositor,--disable-wayland-composit
|
|||||||
# Weston on X11
|
# Weston on X11
|
||||||
PACKAGECONFIG[x11] = "--enable-x11-compositor,--disable-x11-compositor,virtual/libx11 libxcb libxcb libxcursor cairo"
|
PACKAGECONFIG[x11] = "--enable-x11-compositor,--disable-x11-compositor,virtual/libx11 libxcb libxcb libxcursor cairo"
|
||||||
|
|
||||||
|
# Use cairo-gl or cairo-glesv2
|
||||||
PACKAGECONFIG[gles] = "--with-cairo-glesv2,,virtual/libgles2"
|
PACKAGECONFIG[gles] = "--with-cairo-glesv2,,virtual/libgles2"
|
||||||
|
|
||||||
do_install_append() {
|
do_install_append() {
|
||||||
|
|||||||
Reference in New Issue
Block a user