Merge pull request #89223 from midchildan/cleanup/intel-media-sdk
intel-media-sdk: remove samples
This commit is contained in:
commit
5cad739409
@ -1,6 +1,5 @@
|
||||
{ stdenv, fetchurl, autoPatchelfHook, cmake, pkgconfig, libdrm, libpciaccess
|
||||
, libva , libX11, libXau, libXdmcp, libpthreadstubs
|
||||
}:
|
||||
{ stdenv, fetchurl, cmake, pkgconfig, gtest, libdrm, libpciaccess, libva, libX11
|
||||
, libXau, libXdmcp, libpthreadstubs }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "intel-media-sdk";
|
||||
@ -11,12 +10,19 @@ 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
|
||||
];
|
||||
checkInputs = [ gtest ];
|
||||
|
||||
cmakeFlags = [
|
||||
"-DBUILD_SAMPLES=OFF"
|
||||
"-DBUILD_TESTS=${if doCheck then "ON" else "OFF"}"
|
||||
"-DUSE_SYSTEM_GTEST=ON"
|
||||
];
|
||||
|
||||
doCheck = true;
|
||||
enableParallelBuild = true;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
|
Loading…
Reference in New Issue
Block a user