mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-19 02:44:17 +03:00
* Mesa 7.9.1.
svn path=/nixpkgs/branches/x-updates/; revision=25905
This commit is contained in:
parent
e877e4dc13
commit
2c72c03de5
@ -1,36 +0,0 @@
|
||||
{ stdenv, fetchurl, pkgconfig, x11, xlibs, libdrm, expat, lipo ? null,
|
||||
talloc, python, libxml2, libxml2Python}:
|
||||
|
||||
if ! stdenv.lib.lists.elem stdenv.system stdenv.lib.platforms.mesaPlatforms then
|
||||
throw "unsupported platform for Mesa"
|
||||
else
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "7.9";
|
||||
name = "mesa-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "ftp://ftp.freedesktop.org/pub/mesa/${version}/MesaLib-${version}.tar.bz2";
|
||||
sha256 = "1wr927mdghn7w1cmp0bxswjda5s2x0hwfpf8zcc9x03da7s6gkg0";
|
||||
};
|
||||
|
||||
configureFlags =
|
||||
"--disable-gallium"
|
||||
+ (if stdenv.system == "mips64-linux" then
|
||||
" --with-dri-drivers=swrast --with-driver=dri" else "")
|
||||
+ (if stdenv.isDarwin then " --disable-egl" else "");
|
||||
|
||||
buildInputs =
|
||||
[ pkgconfig expat x11 libdrm xlibs.glproto
|
||||
xlibs.libXxf86vm xlibs.libXfixes xlibs.libXdamage xlibs.dri2proto
|
||||
lipo talloc python libxml2 libxml2Python
|
||||
];
|
||||
|
||||
passthru = { inherit libdrm; };
|
||||
|
||||
meta = {
|
||||
description = "An open source implementation of OpenGL";
|
||||
homepage = http://www.mesa3d.org/;
|
||||
license = "bsd";
|
||||
};
|
||||
}
|
@ -1,27 +1,29 @@
|
||||
{ stdenv, fetchurl, pkgconfig, x11, xlibs, libdrm, expat, lipo ? null }:
|
||||
{ stdenv, fetchurl, pkgconfig, x11, xlibs, libdrm, expat, lipo ? null, talloc }:
|
||||
|
||||
if ! stdenv.lib.lists.elem stdenv.system stdenv.lib.platforms.mesaPlatforms then
|
||||
throw "unsupported platform for Mesa"
|
||||
else
|
||||
|
||||
let version = "7.9.1"; in
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "mesa-7.8.2";
|
||||
name = "mesa-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = ftp://ftp.freedesktop.org/pub/mesa/7.8.2/MesaLib-7.8.2.tar.bz2;
|
||||
md5 = "6be2d343a0089bfd395ce02aaf8adb57";
|
||||
url = "ftp://ftp.freedesktop.org/pub/mesa/${version}/MesaLib-${version}.tar.bz2";
|
||||
md5 = "07dc6cfb5928840b8b9df5bd1b3ae434";
|
||||
};
|
||||
|
||||
configureFlags =
|
||||
"--disable-gallium"
|
||||
+ (if stdenv.system == "mips64-linux" then
|
||||
" --with-dri-drivers=swrast --with-driver=dri" else "")
|
||||
+ (if stdenv.isDarwin then " --disable-egl" else "");
|
||||
+ stdenv.lib.optionalString (stdenv.system == "mips64-linux")
|
||||
" --with-dri-drivers=swrast --with-driver=dri"
|
||||
+ stdenv.lib.optionalString stdenv.isDarwin " --disable-egl";
|
||||
|
||||
buildInputs =
|
||||
[ pkgconfig expat x11 libdrm xlibs.glproto
|
||||
xlibs.libXxf86vm xlibs.libXfixes xlibs.libXdamage xlibs.dri2proto
|
||||
lipo
|
||||
lipo talloc
|
||||
];
|
||||
|
||||
passthru = { inherit libdrm; };
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ fetchurl, stdenv}:
|
||||
{ fetchurl, stdenv }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "talloc-2.0.1";
|
||||
@ -9,12 +9,11 @@ stdenv.mkDerivation rec {
|
||||
};
|
||||
|
||||
configureFlags = "--enable-talloc-compat1 --enable-largefile";
|
||||
|
||||
meta = {
|
||||
description = "talloc is a hierarchical pool based memory allocator with destructors";
|
||||
|
||||
homepage = http://tdb.samba.org/;
|
||||
license = "GPLv3";
|
||||
|
||||
platforms = stdenv.lib.platforms.all;
|
||||
};
|
||||
}
|
||||
|
@ -3773,10 +3773,6 @@ let
|
||||
mesa = callPackage ../development/libraries/mesa {
|
||||
lipo = if stdenv.isDarwin then darwinLipoUtility else null;
|
||||
};
|
||||
mesa_7_9 = callPackage ../development/libraries/mesa/7.9.nix {
|
||||
lipo = if stdenv.isDarwin then darwinLipoUtility else null;
|
||||
};
|
||||
|
||||
|
||||
metaEnvironment = recurseIntoAttrs (let callPackage = newScope pkgs.metaEnvironment; in rec {
|
||||
sdfLibrary = callPackage ../development/libraries/sdf-library { aterm = aterm28; };
|
||||
|
Loading…
Reference in New Issue
Block a user