Merge pull request #150138 from primeos/intel-gmmlib

intel-gmmlib: 21.3.3 -> 22.0.1, intel-media-driver: 21.4.3 -> 22.1.0
This commit is contained in:
Michael Weiss 2021-12-30 15:46:40 +01:00 committed by GitHub
commit 09930ec7d0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 5 deletions

View File

@ -6,13 +6,13 @@
stdenv.mkDerivation rec {
pname = "intel-gmmlib";
version = "21.3.3";
version = "22.0.1";
src = fetchFromGitHub {
owner = "intel";
repo = "gmmlib";
rev = "intel-gmmlib-${version}";
sha256 = "0hvly3fykhy4m7mzaa7xadaz7jz8krnfgj3zgzl2a2rpzja6frdn";
sha256 = "1s46vwcs26hdlsa8h51gq4fyi9i8k5hrcx5ffbv9g7v3x706nplf";
};
nativeBuildInputs = [ cmake ];

View File

@ -7,13 +7,14 @@
, libva
, libpciaccess
, intel-gmmlib
, libdrm
, enableX11 ? stdenv.isLinux
, libX11
}:
stdenv.mkDerivation rec {
pname = "intel-media-driver";
version = "21.4.3";
version = "22.1.0";
outputs = [ "out" "dev" ];
@ -21,7 +22,7 @@ stdenv.mkDerivation rec {
owner = "intel";
repo = "media-driver";
rev = "intel-media-${version}";
sha256 = "04r03f48j1nly0j6aq8017va9m3yrnscv6lbrvf3a98fpwk9gc1l";
sha256 = "0giba5274kzpjb5rp3d9bbnvcz7fp8ybi4s3hha2idxk0l5yamf1";
};
patches = [
@ -43,7 +44,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ cmake pkg-config ];
buildInputs = [ libva libpciaccess intel-gmmlib ]
buildInputs = [ libva libpciaccess intel-gmmlib libdrm ]
++ lib.optional enableX11 libX11;
postFixup = lib.optionalString enableX11 ''