diff options
author | Wenzong Fan <wenzong.fan@windriver.com> | 2015-10-21 04:23:55 -0400 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-11-16 11:39:27 +0000 |
commit | d3da00648ccd4b281871efdd1be7790fe77e5d1e (patch) | |
tree | b29a775270802af68a1bcd80b1256f93027911ee /meta/recipes-graphics/cogl/cogl-1.0.inc | |
parent | 63690f0914786c941af760735f60135a717d9e5d (diff) | |
download | poky-d3da00648ccd4b281871efdd1be7790fe77e5d1e.tar.gz |
recipes: add distro_features_check for some packages
* The packages that depends on gtk+3 require any of distro features
from ${GTK3DISTROFEATURES}
* The packages that depends on virtual/egl, virtual/libgl ... require
distro feature 'opengl'
(From OE-Core rev: 3edf08b38b0af93cef0933b061349264dc86d54c)
Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/cogl/cogl-1.0.inc')
-rw-r--r-- | meta/recipes-graphics/cogl/cogl-1.0.inc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/recipes-graphics/cogl/cogl-1.0.inc b/meta/recipes-graphics/cogl/cogl-1.0.inc index 3da31c85fd..88d84ea5fe 100644 --- a/meta/recipes-graphics/cogl/cogl-1.0.inc +++ b/meta/recipes-graphics/cogl/cogl-1.0.inc | |||
@@ -2,7 +2,9 @@ SUMMARY = "Modern 3D graphics API with associated utility APIs" | |||
2 | HOMEPAGE = "http://wiki.clutter-project.org/wiki/Cogl" | 2 | HOMEPAGE = "http://wiki.clutter-project.org/wiki/Cogl" |
3 | LICENSE = "MIT" | 3 | LICENSE = "MIT" |
4 | 4 | ||
5 | inherit clutter | 5 | inherit clutter distro_features_check |
6 | # cogl-1.0 needs opengl to build | ||
7 | REQUIRED_DISTRO_FEATURES ?= "opengl" | ||
6 | 8 | ||
7 | DEPENDS = "glib-2.0 gdk-pixbuf" | 9 | DEPENDS = "glib-2.0 gdk-pixbuf" |
8 | PACKAGES =+ "${PN}-examples \ | 10 | PACKAGES =+ "${PN}-examples \ |