gnu: mesa: Enable wayland support.

* gnu/packages/gl.scm (mesa): Enable configure-flags required by wayland.
This commit is contained in:
David Craven 2016-07-18 18:37:58 +02:00
parent e0b744f1a8
commit 8ea75f2723
No known key found for this signature in database
GPG key ID: C5E051C79C0BECDB

View file

@ -223,7 +223,8 @@ (define-public mesa
("makedepend" ,makedepend)
("presentproto" ,presentproto)
("s2tc" ,s2tc)
("udev" ,eudev)))
("udev" ,eudev)
("wayland" ,wayland)))
(native-inputs
`(("pkg-config" ,pkg-config)
("python" ,python-2)))
@ -233,12 +234,16 @@ (define-public mesa
"--with-gallium-drivers=r600,svga,swrast,nouveau"
;; Enable various optional features. TODO: opencl requires libclc,
;; omx requires libomxil-bellagio
"--with-egl-platforms=x11,drm"
"--with-egl-platforms=x11,drm,wayland"
"--enable-glx-tls" ;Thread Local Storage, improves performance
;; "--enable-opencl"
;; "--enable-omx"
"--enable-osmesa"
"--enable-xa"
;; features required by wayland
"--enable-gles2"
"--enable-gbm"
"--enable-shared-glapi"
;; on non-intel systems, drop i915 and i965
;; from the default dri drivers