2011-02-02 14:43:42 +00:00
|
|
|
SUMMARY = "Mesa demo applications"
|
|
|
|
DESCRIPTION = "This package includes the demonstration application, such as glxgears. \
|
|
|
|
These applications can be used for Mesa validation and benchmarking."
|
2010-11-27 11:45:12 +00:00
|
|
|
HOMEPAGE = "http://mesa3d.org"
|
|
|
|
BUGTRACKER = "https://bugs.freedesktop.org"
|
|
|
|
SECTION = "x11"
|
|
|
|
|
|
|
|
LICENSE = "MIT & PD"
|
|
|
|
LIC_FILES_CHKSUM = "file://src/xdemos/glxgears.c;beginline=1;endline=20;md5=914225785450eff644a86c871d3ae00e \
|
|
|
|
file://src/xdemos/glxdemo.c;beginline=1;endline=8;md5=b01d5ab1aee94d35b7efaa2ef48e1a06"
|
|
|
|
|
mesa-demos: Use PACKAGECONFIG to enable/disable features
This allow selection of following features:
drm, egl, freetype2, gbm, gles1, gles2, glut, osmesa, vg, wayland, x11
The x11 features is enabled depending on distro features but the
wayland has not been enabled as it does not work with Wayland
1.0. Rest were enabled for a sane default.
(From OE-Core rev: dc2de313febfc817640e4e55c75d0cb21c70c0ba)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-05-02 15:28:04 +00:00
|
|
|
DEPENDS = "virtual/libgl glew"
|
2010-11-27 11:45:12 +00:00
|
|
|
|
2011-03-14 22:33:13 +00:00
|
|
|
SRC_URI = "ftp://ftp.freedesktop.org/pub/mesa/demos/${PV}/${BPN}-${PV}.tar.bz2 \
|
2013-04-12 14:18:57 +00:00
|
|
|
file://glut.patch \
|
|
|
|
file://egl-mesa-screen-surface-build-fix.patch \
|
2013-04-21 21:43:31 +00:00
|
|
|
file://egl-mesa-screen-surface-query.patch"
|
2013-04-12 14:18:57 +00:00
|
|
|
|
2013-04-21 21:43:31 +00:00
|
|
|
SRC_URI[md5sum] = "9df33ba69a26bbfbc7c8148602e59542"
|
|
|
|
SRC_URI[sha256sum] = "9703fa0646b32a1e68d2abf5628f936f77bf97c69ffcaac90de380820a87a828"
|
2010-11-27 11:45:12 +00:00
|
|
|
|
|
|
|
inherit autotools pkgconfig
|
|
|
|
|
mesa-demos: Use PACKAGECONFIG to enable/disable features
This allow selection of following features:
drm, egl, freetype2, gbm, gles1, gles2, glut, osmesa, vg, wayland, x11
The x11 features is enabled depending on distro features but the
wayland has not been enabled as it does not work with Wayland
1.0. Rest were enabled for a sane default.
(From OE-Core rev: dc2de313febfc817640e4e55c75d0cb21c70c0ba)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-05-02 15:28:04 +00:00
|
|
|
PACKAGECONFIG ?= "drm osmesa freetype2 gbm egl gles1 gles2 \
|
|
|
|
${@base_contains('DISTRO_FEATURES', 'x11', 'x11', '', d)}"
|
|
|
|
|
|
|
|
# The Wayland code doesn't work with Wayland 1.0, so disable it for now
|
|
|
|
#${@base_contains('DISTRO_FEATURES', 'wayland', 'wayland', '', d)}"
|
|
|
|
|
|
|
|
PACKAGECONFIG[drm] = "--enable-libdrm,--disable-libdrm,libdrm"
|
|
|
|
PACKAGECONFIG[egl] = "--enable-egl,--disable-egl,virtual/egl"
|
|
|
|
PACKAGECONFIG[freetype2] = "--enable-freetype2,--disable-freetype2,freetype"
|
|
|
|
PACKAGECONFIG[gbm] = "--enable-gbm,--disable-gbm,virtual/libgl"
|
|
|
|
PACKAGECONFIG[gles1] = "--enable-gles1,--disable-gles1,virtual/libgles1"
|
|
|
|
PACKAGECONFIG[gles2] = "--enable-gles2,--disable-gles2,virtual/libgles2"
|
|
|
|
PACKAGECONFIG[glut] = "--with-glut,--without-glut,"
|
|
|
|
PACKAGECONFIG[osmesa] = "--enable-libosmesa,--disable-libosmesa,"
|
|
|
|
PACKAGECONFIG[vg] = "--enable-vg,--disable-vg,virtual/libvg"
|
|
|
|
PACKAGECONFIG[wayland] = "--enable-wayland,--disable-wayland,virtual/libgl wayland"
|
|
|
|
PACKAGECONFIG[x11] = "--enable-libx11,--disable-libx11,virtual/libx11"
|