intel-media-sdk: remove samples

fix #88939
This commit is contained in:
midchildan 2020-05-31 00:33:18 +09:00
parent 35142ce3a4
commit 22ff785205
No known key found for this signature in database
GPG Key ID: D9A5748BACC6E3C2

View File

@ -1,6 +1,5 @@
{ stdenv, fetchurl, autoPatchelfHook, cmake, pkgconfig, libdrm, libpciaccess
, libva , libX11, libXau, libXdmcp, libpthreadstubs
}:
{ stdenv, fetchurl, cmake, pkgconfig, libdrm, libpciaccess, libva
, libX11 , libXau, libXdmcp, libpthreadstubs }:
stdenv.mkDerivation rec {
pname = "intel-media-sdk";
@ -11,12 +10,15 @@ stdenv.mkDerivation rec {
sha256 = "1p13b4abslq31pbgqf0bzs2ixns85yfdsm94326h2vcg0q7hqc24";
};
# patchelf is needed for binaries in $out/share/samples
nativeBuildInputs = [ autoPatchelfHook cmake pkgconfig ];
nativeBuildInputs = [ cmake pkgconfig ];
buildInputs = [
libdrm libva libpciaccess libX11 libXau libXdmcp libpthreadstubs
];
cmakeFlags = [
"-DBUILD_SAMPLES=OFF"
];
enableParallelBuild = true;
meta = with stdenv.lib; {