diff options
author | Martin Jansa <martin.jansa@gmail.com> | 2014-07-31 18:16:17 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-08-02 09:26:17 +0100 |
commit | 7ff489d32e44201ba9c46f9c1ec9174dd1351c84 (patch) | |
tree | 1133d95ce5a0b7575a944ee3eed18a07a402e489 /meta/recipes-graphics/mesa/mesa-demos_8.1.0.bb | |
parent | 8034d7726c28fcd3f0af1c6d942602179d9d6e0c (diff) | |
download | poky-7ff489d32e44201ba9c46f9c1ec9174dd1351c84.tar.gz |
mesa-demos: upgrade to 8.2.0 and allow building without GLEW/GLU
(From OE-Core rev: c58d3cb308e7e6fc3bad120019f257bf3834fa15)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/mesa/mesa-demos_8.1.0.bb')
-rw-r--r-- | meta/recipes-graphics/mesa/mesa-demos_8.1.0.bb | 53 |
1 files changed, 0 insertions, 53 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 deleted file mode 100644 index f95b0a33a0..0000000000 --- a/meta/recipes-graphics/mesa/mesa-demos_8.1.0.bb +++ /dev/null | |||
@@ -1,53 +0,0 @@ | |||
1 | SUMMARY = "Mesa demo applications" | ||
2 | DESCRIPTION = "This package includes the demonstration application, such as glxgears. \ | ||
3 | These applications can be used for Mesa validation and benchmarking." | ||
4 | HOMEPAGE = "http://mesa3d.org" | ||
5 | BUGTRACKER = "https://bugs.freedesktop.org" | ||
6 | SECTION = "x11" | ||
7 | |||
8 | LICENSE = "MIT & PD" | ||
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" | ||
11 | |||
12 | DEPENDS = "virtual/libgl glew" | ||
13 | |||
14 | SRC_URI = "ftp://ftp.freedesktop.org/pub/mesa/demos/${PV}/${BPN}-${PV}.tar.bz2 \ | ||
15 | file://glut.patch \ | ||
16 | file://egl-mesa-screen-surface-build-fix.patch \ | ||
17 | file://egl-mesa-screen-surface-query.patch \ | ||
18 | file://0001-mesa-demos-Add-missing-data-files.patch \ | ||
19 | file://0001-mesa-demos-Use-DEMOS_DATA_DIR-to-locate-data-files.patch" | ||
20 | |||
21 | SRC_URI[md5sum] = "9df33ba69a26bbfbc7c8148602e59542" | ||
22 | SRC_URI[sha256sum] = "9703fa0646b32a1e68d2abf5628f936f77bf97c69ffcaac90de380820a87a828" | ||
23 | |||
24 | inherit autotools pkgconfig | ||
25 | |||
26 | PACKAGECONFIG ?= "drm osmesa freetype2 gbm egl gles1 gles2 \ | ||
27 | ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', '', d)}" | ||
28 | |||
29 | # The Wayland code doesn't work with Wayland 1.0, so disable it for now | ||
30 | #${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland', '', d)}" | ||
31 | |||
32 | EXTRA_OECONF = "--with-system-data-files" | ||
33 | |||
34 | PACKAGECONFIG[drm] = "--enable-libdrm,--disable-libdrm,libdrm" | ||
35 | PACKAGECONFIG[egl] = "--enable-egl,--disable-egl,virtual/egl" | ||
36 | PACKAGECONFIG[freetype2] = "--enable-freetype2,--disable-freetype2,freetype" | ||
37 | PACKAGECONFIG[gbm] = "--enable-gbm,--disable-gbm,virtual/libgl" | ||
38 | PACKAGECONFIG[gles1] = "--enable-gles1,--disable-gles1,virtual/libgles1" | ||
39 | PACKAGECONFIG[gles2] = "--enable-gles2,--disable-gles2,virtual/libgles2" | ||
40 | PACKAGECONFIG[glut] = "--with-glut=${STAGING_EXECPREFIXDIR},--without-glut," | ||
41 | PACKAGECONFIG[osmesa] = "--enable-osmesa,--disable-osmesa," | ||
42 | PACKAGECONFIG[vg] = "--enable-vg,--disable-vg,virtual/libvg" | ||
43 | PACKAGECONFIG[wayland] = "--enable-wayland,--disable-wayland,virtual/libgl wayland" | ||
44 | PACKAGECONFIG[x11] = "--enable-x11,--disable-x11,virtual/libx11" | ||
45 | |||
46 | do_install_append () { | ||
47 | install -m 0644 ${S}/src/perf/*.frag \ | ||
48 | ${S}/src/perf/*.vert \ | ||
49 | ${S}/src/glsl/*.frag \ | ||
50 | ${S}/src/glsl/*.vert \ | ||
51 | ${S}/src/glsl/*.geom \ | ||
52 | ${S}/src/glsl/*.glsl ${D}${datadir}/${BPN} | ||
53 | } | ||