mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-20 08:59:32 +03:00
parent
35142ce3a4
commit
22ff785205
@ -1,6 +1,5 @@
|
|||||||
{ stdenv, fetchurl, autoPatchelfHook, cmake, pkgconfig, libdrm, libpciaccess
|
{ stdenv, fetchurl, cmake, pkgconfig, libdrm, libpciaccess, libva
|
||||||
, libva , libX11, libXau, libXdmcp, libpthreadstubs
|
, libX11 , libXau, libXdmcp, libpthreadstubs }:
|
||||||
}:
|
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "intel-media-sdk";
|
pname = "intel-media-sdk";
|
||||||
@ -11,12 +10,15 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "1p13b4abslq31pbgqf0bzs2ixns85yfdsm94326h2vcg0q7hqc24";
|
sha256 = "1p13b4abslq31pbgqf0bzs2ixns85yfdsm94326h2vcg0q7hqc24";
|
||||||
};
|
};
|
||||||
|
|
||||||
# patchelf is needed for binaries in $out/share/samples
|
nativeBuildInputs = [ cmake pkgconfig ];
|
||||||
nativeBuildInputs = [ autoPatchelfHook cmake pkgconfig ];
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
libdrm libva libpciaccess libX11 libXau libXdmcp libpthreadstubs
|
libdrm libva libpciaccess libX11 libXau libXdmcp libpthreadstubs
|
||||||
];
|
];
|
||||||
|
|
||||||
|
cmakeFlags = [
|
||||||
|
"-DBUILD_SAMPLES=OFF"
|
||||||
|
];
|
||||||
|
|
||||||
enableParallelBuild = true;
|
enableParallelBuild = true;
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
|
Loading…
Reference in New Issue
Block a user