summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/mesa/mesa-demos_8.2.0.bb
diff options
context:
space:
mode:
authorAwais Belal <awais_belal@mentor.com>2016-05-19 16:26:59 +0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-05-20 10:20:54 +0100
commit982b63129e2c3ce8cbe30c03e1d43497cb4d50bf (patch)
treef1a4edb9797ef2cf74dd08b3425456e7aa3c016f /meta/recipes-graphics/mesa/mesa-demos_8.2.0.bb
parent409c940533d532512d9c0d155b110d6c744bcacb (diff)
downloadpoky-982b63129e2c3ce8cbe30c03e1d43497cb4d50bf.tar.gz
mesa-demos: provide option for disabling GLX demos
There are platforms that default to EGL only configurations in which case the GLX applications are not required at all. Allow the user to control generation of these demos as needed through a configure switch. (From OE-Core rev: 226492af41234dec47066d576d0de78fd09a4ca8) Signed-off-by: Awais Belal <awais_belal@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/mesa/mesa-demos_8.2.0.bb')
-rw-r--r--meta/recipes-graphics/mesa/mesa-demos_8.2.0.bb4
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/recipes-graphics/mesa/mesa-demos_8.2.0.bb b/meta/recipes-graphics/mesa/mesa-demos_8.2.0.bb
index 034e01d069..53bd5e2b41 100644
--- a/meta/recipes-graphics/mesa/mesa-demos_8.2.0.bb
+++ b/meta/recipes-graphics/mesa/mesa-demos_8.2.0.bb
@@ -22,6 +22,7 @@ SRC_URI = "ftp://ftp.freedesktop.org/pub/mesa/demos/${PV}/${BPN}-${PV}.tar.bz2 \
22 file://0010-sharedtex_mt-fix-rendering-thread-hang.patch \ 22 file://0010-sharedtex_mt-fix-rendering-thread-hang.patch \
23 file://0011-drop-demos-dependant-on-obsolete-MESA_screen_surface.patch \ 23 file://0011-drop-demos-dependant-on-obsolete-MESA_screen_surface.patch \
24 file://0012-mesa-demos-OpenVG-demos-with-single-frame-need-eglSw.patch \ 24 file://0012-mesa-demos-OpenVG-demos-with-single-frame-need-eglSw.patch \
25 file://0013-only-build-GLX-demos-if-needed.patch \
25" 26"
26SRC_URI[md5sum] = "72613a2c8c013716db02e3ff59d29061" 27SRC_URI[md5sum] = "72613a2c8c013716db02e3ff59d29061"
27SRC_URI[sha256sum] = "e4bfecb5816ddd4b7b37c1bc876b63f1f7f06fda5879221a9774d0952f90ba92" 28SRC_URI[sha256sum] = "e4bfecb5816ddd4b7b37c1bc876b63f1f7f06fda5879221a9774d0952f90ba92"
@@ -31,7 +32,7 @@ inherit autotools pkgconfig distro_features_check
31REQUIRED_DISTRO_FEATURES = "opengl" 32REQUIRED_DISTRO_FEATURES = "opengl"
32 33
33PACKAGECONFIG ?= "drm osmesa freetype2 gbm egl gles1 gles2 \ 34PACKAGECONFIG ?= "drm osmesa freetype2 gbm egl gles1 gles2 \
34 ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11 glew glu', '', d)}" 35 ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11 glew glu glx', '', d)}"
35 36
36# The Wayland code doesn't work with Wayland 1.0, so disable it for now 37# The Wayland code doesn't work with Wayland 1.0, so disable it for now
37#${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland', '', d)}" 38#${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland', '', d)}"
@@ -51,6 +52,7 @@ PACKAGECONFIG[wayland] = "--enable-wayland,--disable-wayland,virtual/libgl wayla
51PACKAGECONFIG[x11] = "--enable-x11,--disable-x11,virtual/libx11" 52PACKAGECONFIG[x11] = "--enable-x11,--disable-x11,virtual/libx11"
52PACKAGECONFIG[glew] = "--enable-glew,--disable-glew,glew" 53PACKAGECONFIG[glew] = "--enable-glew,--disable-glew,glew"
53PACKAGECONFIG[glu] = "--enable-glu,--disable-glu,virtual/libgl" 54PACKAGECONFIG[glu] = "--enable-glu,--disable-glu,virtual/libgl"
55PACKAGECONFIG[glx] = "--enable-glx-demos,--disable-glx-demos"
54 56
55do_install_append() { 57do_install_append() {
56 # it can be completely empty when all PACKAGECONFIG options are disabled 58 # it can be completely empty when all PACKAGECONFIG options are disabled