mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-17 18:34:41 +00:00
mesa: enable full gallium, xcb, and egl support, and build all available dri back-ends
svn path=/nixpkgs/trunk/; revision=27786
This commit is contained in:
parent
18bd4e67d7
commit
e7a9b41e9c
|
@ -22,10 +22,10 @@ stdenv.mkDerivation {
|
|||
'';
|
||||
|
||||
configureFlags =
|
||||
"--enable-gallium --enable-gl-osmesa --with-dri-drivers=swrast,radeon,r600 "
|
||||
+ stdenv.lib.optionalString (stdenv.system == "mips64-linux")
|
||||
" --with-dri-drivers=swrast --with-driver=dri"
|
||||
+ stdenv.lib.optionalString stdenv.isDarwin " --disable-egl";
|
||||
" --with-driver=dri --enable-gl-osmesa --enable-gles1"
|
||||
+ " --enable-gallium --enable-gallium-r600 --enable-gles2"
|
||||
+ " --enable-gallium-swrast --enable-gallium-egl --enable-glx-tls"
|
||||
+ " --enable-xcb --enable-egl --disable-glut";
|
||||
|
||||
buildInputs =
|
||||
[ pkgconfig expat x11 libdrm xlibs.makedepend xlibs.glproto
|
||||
|
|
Loading…
Reference in a new issue