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
1 changed files with 7 additions and 2 deletions

View File

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