intel-media-sdk: init at 18.4.1

This commit is contained in:
midchildan 2019-03-11 04:40:54 +09:00
parent 4f7a762d6b
commit d1d3973142
No known key found for this signature in database
GPG Key ID: D9A5748BACC6E3C2
2 changed files with 30 additions and 0 deletions

View File

@ -0,0 +1,28 @@
{ stdenv, fetchurl, autoPatchelfHook, cmake, pkgconfig, libdrm, libpciaccess
, libva , libX11, libXau, libXdmcp, libpthreadstubs
}:
stdenv.mkDerivation rec {
name = "intel-media-sdk-${version}";
version = "18.4.1";
src = fetchurl {
url = "https://github.com/Intel-Media-SDK/MediaSDK/archive/intel-mediasdk-${version}.tar.gz";
sha256 = "0yqqw6hyjn28zk4f4wznqpyiz9vinnjj8067dim64bz1f4pjhyra";
};
# 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 ];
platforms = with platforms; linux;
};
}

View File

@ -3511,6 +3511,8 @@ in
intecture-cli = callPackage ../tools/admin/intecture/cli.nix { };
intel-media-sdk = callPackage ../development/libraries/intel-media-sdk { };
invoice2data = callPackage ../tools/text/invoice2data { };
inxi = callPackage ../tools/system/inxi { };