2019-03-10 19:40:54 +00:00
|
|
|
{ stdenv, fetchurl, autoPatchelfHook, cmake, pkgconfig, libdrm, libpciaccess
|
|
|
|
, libva , libX11, libXau, libXdmcp, libpthreadstubs
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "intel-media-sdk";
|
2020-01-06 18:52:08 +00:00
|
|
|
version = "19.4.0";
|
2019-03-10 19:40:54 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/Intel-Media-SDK/MediaSDK/archive/intel-mediasdk-${version}.tar.gz";
|
2020-01-06 18:52:08 +00:00
|
|
|
sha256 = "1l8wjb933wdl3vyq6r36a9pgf8n6pm9g9vcp3m393hixwzzl16i8";
|
2019-03-10 19:40:54 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
# patchelf is needed for binaries in $out/share/samples
|
|
|
|
nativeBuildInputs = [ autoPatchelfHook cmake pkgconfig ];
|
|
|
|
buildInputs = [
|
|
|
|
libdrm libva libpciaccess libX11 libXau libXdmcp libpthreadstubs
|
|
|
|
];
|
|
|
|
|
|
|
|
enableParallelBuild = true;
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Intel Media SDK.";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ midchildan ];
|
2019-12-07 11:39:51 +00:00
|
|
|
platforms = [ "x86_64-linux" ];
|
2019-03-10 19:40:54 +00:00
|
|
|
};
|
|
|
|
}
|