[meta-arago][scarthgap][PATCH 01/10] offscreendemo: Add REQUIRED_DISTRO_FEATURES
Ryan Eatmon <[email protected]>
| Newsgroups | org.yoctoproject.lists.meta-arago |
|---|---|
| Message-ID | <[email protected]> |
Since this recipe depends on virtual/egl and virtual/libgles2 it should be gated by a check for the "opengl" DISTRO_FEATURE. Signed-off-by: Ryan Eatmon <[email protected]> --- .../recipes-graphics/offscreen-demo/offscreendemo_0.0.1.bb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/meta-arago-test/recipes-graphics/offscreen-demo/offscreendemo_0.0.1.bb b/meta-arago-test/recipes-graphics/offscreen-demo/offscreendemo_0.0.1.bb index c2ad5012..a341c872 100644 --- a/meta-arago-test/recipes-graphics/offscreen-demo/offscreendemo_0.0.1.bb +++ b/meta-arago-test/recipes-graphics/offscreen-demo/offscreendemo_0.0.1.bb @@ -13,4 +13,6 @@ S = "${WORKDIR}/git" DEPENDS += "virtual/egl virtual/libgles2" -inherit pkgconfig meson +inherit pkgconfig meson features_check + +REQUIRED_DISTRO_FEATURES = "opengl" -- 2.17.1