diff options
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-graphics/mesa/mesa-demos_8.1.0.bb | 20 |
1 files changed, 18 insertions, 2 deletions
diff --git a/meta/recipes-graphics/mesa/mesa-demos_8.1.0.bb b/meta/recipes-graphics/mesa/mesa-demos_8.1.0.bb index 055f73d515..3ac81ef05f 100644 --- a/meta/recipes-graphics/mesa/mesa-demos_8.1.0.bb +++ b/meta/recipes-graphics/mesa/mesa-demos_8.1.0.bb | |||
@@ -9,7 +9,7 @@ LICENSE = "MIT & PD" | |||
9 | LIC_FILES_CHKSUM = "file://src/xdemos/glxgears.c;beginline=1;endline=20;md5=914225785450eff644a86c871d3ae00e \ | 9 | LIC_FILES_CHKSUM = "file://src/xdemos/glxgears.c;beginline=1;endline=20;md5=914225785450eff644a86c871d3ae00e \ |
10 | file://src/xdemos/glxdemo.c;beginline=1;endline=8;md5=b01d5ab1aee94d35b7efaa2ef48e1a06" | 10 | file://src/xdemos/glxdemo.c;beginline=1;endline=8;md5=b01d5ab1aee94d35b7efaa2ef48e1a06" |
11 | 11 | ||
12 | DEPENDS = "virtual/libx11 virtual/libgl glew" | 12 | DEPENDS = "virtual/libgl glew" |
13 | 13 | ||
14 | SRC_URI = "ftp://ftp.freedesktop.org/pub/mesa/demos/${PV}/${BPN}-${PV}.tar.bz2 \ | 14 | SRC_URI = "ftp://ftp.freedesktop.org/pub/mesa/demos/${PV}/${BPN}-${PV}.tar.bz2 \ |
15 | file://glut.patch \ | 15 | file://glut.patch \ |
@@ -21,4 +21,20 @@ SRC_URI[sha256sum] = "9703fa0646b32a1e68d2abf5628f936f77bf97c69ffcaac90de380820a | |||
21 | 21 | ||
22 | inherit autotools pkgconfig | 22 | inherit autotools pkgconfig |
23 | 23 | ||
24 | EXTRA_OECONF = "--without-glut" | 24 | PACKAGECONFIG ?= "drm osmesa freetype2 gbm egl gles1 gles2 \ |
25 | ${@base_contains('DISTRO_FEATURES', 'x11', 'x11', '', d)}" | ||
26 | |||
27 | # The Wayland code doesn't work with Wayland 1.0, so disable it for now | ||
28 | #${@base_contains('DISTRO_FEATURES', 'wayland', 'wayland', '', d)}" | ||
29 | |||
30 | PACKAGECONFIG[drm] = "--enable-libdrm,--disable-libdrm,libdrm" | ||
31 | PACKAGECONFIG[egl] = "--enable-egl,--disable-egl,virtual/egl" | ||
32 | PACKAGECONFIG[freetype2] = "--enable-freetype2,--disable-freetype2,freetype" | ||
33 | PACKAGECONFIG[gbm] = "--enable-gbm,--disable-gbm,virtual/libgl" | ||
34 | PACKAGECONFIG[gles1] = "--enable-gles1,--disable-gles1,virtual/libgles1" | ||
35 | PACKAGECONFIG[gles2] = "--enable-gles2,--disable-gles2,virtual/libgles2" | ||
36 | PACKAGECONFIG[glut] = "--with-glut,--without-glut," | ||
37 | PACKAGECONFIG[osmesa] = "--enable-libosmesa,--disable-libosmesa," | ||
38 | PACKAGECONFIG[vg] = "--enable-vg,--disable-vg,virtual/libvg" | ||
39 | PACKAGECONFIG[wayland] = "--enable-wayland,--disable-wayland,virtual/libgl wayland" | ||
40 | PACKAGECONFIG[x11] = "--enable-libx11,--disable-libx11,virtual/libx11" | ||