mesa: 19.2.1 -> 19.2.3
This commit is contained in:
parent
52997f11ca
commit
1733a6f941
2 changed files with 4 additions and 4 deletions
|
@ -27,7 +27,7 @@
|
|||
with stdenv.lib;
|
||||
|
||||
let
|
||||
version = "19.2.1";
|
||||
version = "19.2.3";
|
||||
branch = versions.major version;
|
||||
in
|
||||
|
||||
|
@ -42,7 +42,7 @@ stdenv.mkDerivation {
|
|||
"ftp://ftp.freedesktop.org/pub/mesa/older-versions/${branch}.x/${version}/mesa-${version}.tar.xz"
|
||||
"https://mesa.freedesktop.org/archive/mesa-${version}.tar.xz"
|
||||
];
|
||||
sha256 = "4cc53ca1a8d12c6ff0e5ea44a5213c05c88447ab50d7e28bb350cd29199f01e9";
|
||||
sha256 = "0ish3izys9rr8rpr8h56a0jmnrvacn16k8pblv4xqhgy0hjy9rjy";
|
||||
};
|
||||
|
||||
prePatch = "patchShebangs .";
|
||||
|
|
|
@ -51,7 +51,7 @@ stdenv.mkDerivation {
|
|||
ln -s ${libglvnd.out}/lib $out/lib
|
||||
|
||||
mkdir -p $dev/{,lib/pkgconfig,nix-support}
|
||||
echo "$out" > $dev/nix-support/propagated-build-inputs
|
||||
echo "$out ${libglvnd} ${libglvnd.dev}" > $dev/nix-support/propagated-build-inputs
|
||||
ln -s ${mesa.dev}/include $dev/include
|
||||
|
||||
genPkgConfig() {
|
||||
|
@ -63,7 +63,7 @@ stdenv.mkDerivation {
|
|||
Description: $lib library
|
||||
Version: ${mesa.version}
|
||||
Libs: -L${libglvnd.out}/lib -l$lib
|
||||
Cflags: -I${mesa.dev}/include
|
||||
Cflags: -I${mesa.dev}/include -I${libglvnd.dev}/include
|
||||
EOF
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue