diff options
author | Spenser Gilliland <spenser@gillilanding.com> | 2014-10-17 22:07:08 +0200 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2014-10-26 22:05:30 +0100 |
commit | 8011e4ffc590014dd24d310c7dde3a900d270cb4 (patch) | |
tree | 5a7ae6232639bd20360e9b2b2ab665920e425589 /package/mesa3d-demos/0003-demos-x11-fix.patch | |
parent | 286e4d94344f04c80cc4f3158bc0a14b80301638 (diff) | |
download | buildroot-8011e4ffc590014dd24d310c7dde3a900d270cb4.tar.gz buildroot-8011e4ffc590014dd24d310c7dde3a900d270cb4.zip |
mesa3d-demos: new package
[Thomas:
- add license information, even if there's unfortunately no license
file
- rename patches to use the correct convention.]
Signed-off-by: Spenser Gilliland <spenser@gillilanding.com>
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/mesa3d-demos/0003-demos-x11-fix.patch')
-rw-r--r-- | package/mesa3d-demos/0003-demos-x11-fix.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/package/mesa3d-demos/0003-demos-x11-fix.patch b/package/mesa3d-demos/0003-demos-x11-fix.patch new file mode 100644 index 0000000000..f6b3b0cb3e --- /dev/null +++ b/package/mesa3d-demos/0003-demos-x11-fix.patch @@ -0,0 +1,30 @@ +This patch ensures that programs which depend on x11 are not build if x11 +is not available. + +Signed-off-by: Spenser Gilliland <spenser@gillilanding.com> +--- +Index: mesa3d-demos-8.1.0/src/egl/opengles2/Makefile.am +=================================================================== +--- mesa3d-demos-8.1.0.orig/src/egl/opengles2/Makefile.am ++++ mesa3d-demos-8.1.0/src/egl/opengles2/Makefile.am +@@ -35,9 +35,10 @@ AM_LDFLAGS = \ + + if HAVE_EGL + if HAVE_GLESV2 +-bin_PROGRAMS = \ ++bin_PROGRAMS = es2gears_screen ++if HAVE_X11 ++bin_PROGRAMS += \ + es2_info \ +- es2gears_screen \ + es2gears_x11 \ + es2tri + if HAVE_WAYLAND +@@ -45,6 +46,7 @@ bin_PROGRAMS += es2gears_wayland + endif + endif + endif ++endif + + es2_info_LDADD = $(X11_LIBS) + es2tri_LDADD = $(X11_LIBS) |