forked from mirrors/nixpkgs
intel-media-sdk: init at 18.4.1
This commit is contained in:
parent
4f7a762d6b
commit
d1d3973142
28
pkgs/development/libraries/intel-media-sdk/default.nix
Normal file
28
pkgs/development/libraries/intel-media-sdk/default.nix
Normal 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;
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue