diff options
author | Jussi Kukkonen <jussi.kukkonen@intel.com> | 2016-07-18 14:54:48 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-07-20 10:28:52 +0100 |
commit | 00191b802dff6a17812be07887168b7e1bcc5a43 (patch) | |
tree | 9c8ba11c7c49f0a8495c7baa3660097483c20820 /meta/recipes-graphics/mesa | |
parent | 45180589422cb49d480830ca373122b484b71494 (diff) | |
download | poky-00191b802dff6a17812be07887168b7e1bcc5a43.tar.gz |
mesa-demos: Require X11 distro feature
Mesa-demos theoretically does not require X11 (apart from xdemos/)
but reality is that every other binary requires glut. So:
* 'non-glut' part of mesa-demos requires X11
* current freeglut recipe also depends on X11
There is apparently wayland support in freeglut now: This recipe
should be modified when meta-oe freeglut recipe has that feature.
The change became necessary now because mesa no longer mistakenly
installs GL files when X11 is disabled (and mesa-demos configure
currently requires GL).
(From OE-Core rev: d02a3a745fbb7b534f22de861e7a43e7dacc7970)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/mesa')
-rw-r--r-- | meta/recipes-graphics/mesa/mesa-demos_8.3.0.bb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-graphics/mesa/mesa-demos_8.3.0.bb b/meta/recipes-graphics/mesa/mesa-demos_8.3.0.bb index ee0bb020a3..fab0bdb2ee 100644 --- a/meta/recipes-graphics/mesa/mesa-demos_8.3.0.bb +++ b/meta/recipes-graphics/mesa/mesa-demos_8.3.0.bb | |||
@@ -24,10 +24,10 @@ SRC_URI[sha256sum] = "c173154bbd0d5fb53d732471984def42fb1b14ac85fcb834138fb9518b | |||
24 | 24 | ||
25 | inherit autotools pkgconfig distro_features_check | 25 | inherit autotools pkgconfig distro_features_check |
26 | # depends on virtual/egl, virtual/libgl ... | 26 | # depends on virtual/egl, virtual/libgl ... |
27 | REQUIRED_DISTRO_FEATURES = "opengl" | 27 | REQUIRED_DISTRO_FEATURES = "opengl x11" |
28 | 28 | ||
29 | PACKAGECONFIG ?= "drm osmesa freetype2 gbm egl gles1 gles2 \ | 29 | PACKAGECONFIG ?= "drm osmesa freetype2 gbm egl gles1 gles2 \ |
30 | ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11 glew glu glx', '', d)}" | 30 | x11 glew glu glx" |
31 | 31 | ||
32 | # The Wayland code doesn't work with Wayland 1.0, so disable it for now | 32 | # The Wayland code doesn't work with Wayland 1.0, so disable it for now |
33 | #${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland', '', d)}" | 33 | #${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland', '', d)}" |