Merge remote-tracking branch 'upstream/x-updates' into wayland
Conflicts: pkgs/development/libraries/mesa/default.nix pkgs/top-level/all-packages.nix
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, flex, bison, pkgconfig, libdrm, file, expat, makedepend
|
||||
{ stdenv, fetchurl, flex, bison, pkgconfig, intltool, libdrm, file, expat, makedepend
|
||||
, libXxf86vm, libXfixes, libXdamage, glproto, dri2proto, libX11, libxcb, libXext
|
||||
, libXt, udev, enableTextureFloats ? false, enableR600LlvmCompiler ? false
|
||||
, python, libxml2Python, autoconf, automake, libtool, llvm, writeText
|
||||
@@ -9,14 +9,14 @@ if ! stdenv.lib.lists.elem stdenv.system stdenv.lib.platforms.mesaPlatforms then
|
||||
else
|
||||
|
||||
let
|
||||
version = "9.0.2";
|
||||
version = "9.1";
|
||||
in
|
||||
stdenv.mkDerivation {
|
||||
name = "mesa-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "ftp://ftp.freedesktop.org/pub/mesa/${version}/MesaLib-${version}.tar.bz2";
|
||||
sha256="0knnb8srr1xbin25js4y5kmpw7xys5gh1h8hwqamayvfdkr33gvm";
|
||||
sha256="0yvhl0vdg32h0xr4xi348gkp0hlcc16j1cfxn4pyc9pywyzlqj5g";
|
||||
};
|
||||
|
||||
prePatch = "patchShebangs .";
|
||||
@@ -32,10 +32,13 @@ stdenv.mkDerivation {
|
||||
# Texture floats are patented, see docs/patents.txt
|
||||
+ stdenv.lib.optionalString enableTextureFloats " --enable-texture-float";
|
||||
|
||||
buildInputs = [ expat libdrm libXxf86vm libXfixes libXdamage glproto dri2proto
|
||||
libxml2Python libX11 libXext libxcb libXt udev llvm wayland ];
|
||||
buildInputs = [
|
||||
autoconf automake libtool intltool expat libxml2Python udev llvm
|
||||
libdrm libXxf86vm libXfixes libXdamage glproto dri2proto libX11 libXext libxcb libXt
|
||||
wayland
|
||||
];
|
||||
|
||||
buildNativeInputs = [ pkgconfig python makedepend file flex bison automake autoconf libtool ];
|
||||
nativeBuildInputs = [ pkgconfig python makedepend file flex bison ];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user