diff options
author | Alexander Kanavin <alex.kanavin@gmail.com> | 2021-03-03 14:06:39 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-03-06 22:36:34 +0000 |
commit | 5dd4bf88f59d3dddb5368163baba02f053eec502 (patch) | |
tree | 1518813bef67be217375c62bd81551ad54743d58 /meta/recipes-graphics | |
parent | 5702f7c489ed45b7f4a69c78aa8215e2c98e21c4 (diff) | |
download | openembedded-core-contrib-5dd4bf88f59d3dddb5368163baba02f053eec502.tar.gz |
core-image.bbclass: add a weston IMAGE_FEATURE, similar to x11-base
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics')
-rw-r--r-- | meta/recipes-graphics/images/core-image-weston.bb | 8 | ||||
-rw-r--r-- | meta/recipes-graphics/packagegroups/packagegroup-core-weston.bb | 13 |
2 files changed, 16 insertions, 5 deletions
diff --git a/meta/recipes-graphics/images/core-image-weston.bb b/meta/recipes-graphics/images/core-image-weston.bb index 8d88e3bc0c..e82e4fbb3f 100644 --- a/meta/recipes-graphics/images/core-image-weston.bb +++ b/meta/recipes-graphics/images/core-image-weston.bb @@ -1,14 +1,12 @@ SUMMARY = "A very basic Wayland image with a terminal" -IMAGE_FEATURES += "splash package-management ssh-server-dropbear hwcodecs" +IMAGE_FEATURES += "splash package-management ssh-server-dropbear hwcodecs weston" LICENSE = "MIT" -inherit core-image features_check +inherit core-image -REQUIRED_DISTRO_FEATURES = "wayland" - -CORE_IMAGE_BASE_INSTALL += "weston weston-init weston-examples wayland-utils gtk+3-demo clutter-1.0-examples" +CORE_IMAGE_BASE_INSTALL += "gtk+3-demo clutter-1.0-examples" CORE_IMAGE_BASE_INSTALL += "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'weston-xwayland matchbox-terminal', '', d)}" QB_MEM = "-m 512" diff --git a/meta/recipes-graphics/packagegroups/packagegroup-core-weston.bb b/meta/recipes-graphics/packagegroups/packagegroup-core-weston.bb new file mode 100644 index 0000000000..340c8e75ed --- /dev/null +++ b/meta/recipes-graphics/packagegroups/packagegroup-core-weston.bb @@ -0,0 +1,13 @@ +SUMMARY = "Basic Weston compositor setup" +DESCRIPTION = "Packages required to set up a basic working Weston session" +PR = "r1" + +inherit packagegroup features_check +REQUIRED_DISTRO_FEATURES = "wayland" + +RDEPENDS_${PN} = "\ + weston \ + weston-init \ + weston-examples \ + wayland-utils \ + " |