mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 21:33:03 +03:00
intel-media-driver: init at 18.3.0
This commit is contained in:
parent
ec21607d14
commit
e48b9b5d0e
34
pkgs/development/libraries/intel-media-driver/default.nix
Normal file
34
pkgs/development/libraries/intel-media-driver/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -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 {};
|
||||
|
Loading…
Reference in New Issue
Block a user