intel-media-driver: init at 18.3.0

This commit is contained in:
Johannes Frankenau 2018-11-07 17:53:57 +01:00
parent ec21607d14
commit e48b9b5d0e
2 changed files with 36 additions and 0 deletions

View File

@ -0,0 +1,34 @@
{ stdenv, fetchFromGitHub
, cmake, pkgconfig
, libva, libpciaccess, intel-gmmlib, libX11
}:
stdenv.mkDerivation rec {
name = "intel-media-driver-${version}";
version = "18.3.0";
src = fetchFromGitHub {
owner = "intel";
repo = "media-driver";
rev = "intel-media-${version}";
sha256 = "15kcyg9ss2v1bbw6yvxqb833h1vs0h659n8ix0x5x03cfm1wsi57";
};
cmakeFlags = [ "-DINSTALL_DRIVER_SYSCONF=OFF" ];
preConfigure = ''
cmakeFlags="$cmakeFlags -DLIBVA_DRIVERS_PATH=$out/lib/dri"
'';
nativeBuildInputs = [ cmake pkgconfig ];
buildInputs = [ libva libpciaccess intel-gmmlib libX11 ];
meta = with stdenv.lib; {
homepage = https://github.com/intel/media-driver;
license = with licenses; [ bsd3 mit ];
description = "Intel Media Driver for VAAPI Broadwell+ iGPUs";
platforms = platforms.linux;
maintainers = with maintainers; [ jfrankenau ];
};
}

View File

@ -10255,6 +10255,8 @@ with pkgs;
intel-gmmlib = callPackage ../development/libraries/intel-gmmlib { };
intel-media-driver = callPackage ../development/libraries/intel-media-driver { };
intltool = callPackage ../development/tools/misc/intltool { };
ios-cross-compile = callPackage ../development/compilers/ios-cross-compile/9.2.nix {};