summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/mesa/mesa-demos_8.1.0.bb
diff options
context:
space:
mode:
authorMartin Jansa <martin.jansa@gmail.com>2014-07-31 18:16:17 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-08-02 09:26:17 +0100
commit7ff489d32e44201ba9c46f9c1ec9174dd1351c84 (patch)
tree1133d95ce5a0b7575a944ee3eed18a07a402e489 /meta/recipes-graphics/mesa/mesa-demos_8.1.0.bb
parent8034d7726c28fcd3f0af1c6d942602179d9d6e0c (diff)
downloadpoky-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.bb53
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 @@
1SUMMARY = "Mesa demo applications"
2DESCRIPTION = "This package includes the demonstration application, such as glxgears. \
3These applications can be used for Mesa validation and benchmarking."
4HOMEPAGE = "http://mesa3d.org"
5BUGTRACKER = "https://bugs.freedesktop.org"
6SECTION = "x11"
7
8LICENSE = "MIT & PD"
9LIC_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
12DEPENDS = "virtual/libgl glew"
13
14SRC_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
21SRC_URI[md5sum] = "9df33ba69a26bbfbc7c8148602e59542"
22SRC_URI[sha256sum] = "9703fa0646b32a1e68d2abf5628f936f77bf97c69ffcaac90de380820a87a828"
23
24inherit autotools pkgconfig
25
26PACKAGECONFIG ?= "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
32EXTRA_OECONF = "--with-system-data-files"
33
34PACKAGECONFIG[drm] = "--enable-libdrm,--disable-libdrm,libdrm"
35PACKAGECONFIG[egl] = "--enable-egl,--disable-egl,virtual/egl"
36PACKAGECONFIG[freetype2] = "--enable-freetype2,--disable-freetype2,freetype"
37PACKAGECONFIG[gbm] = "--enable-gbm,--disable-gbm,virtual/libgl"
38PACKAGECONFIG[gles1] = "--enable-gles1,--disable-gles1,virtual/libgles1"
39PACKAGECONFIG[gles2] = "--enable-gles2,--disable-gles2,virtual/libgles2"
40PACKAGECONFIG[glut] = "--with-glut=${STAGING_EXECPREFIXDIR},--without-glut,"
41PACKAGECONFIG[osmesa] = "--enable-osmesa,--disable-osmesa,"
42PACKAGECONFIG[vg] = "--enable-vg,--disable-vg,virtual/libvg"
43PACKAGECONFIG[wayland] = "--enable-wayland,--disable-wayland,virtual/libgl wayland"
44PACKAGECONFIG[x11] = "--enable-x11,--disable-x11,virtual/libx11"
45
46do_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}