Merge pull request #175647 from Mindavi/gstreamer-good/cross
gstreamer-good: support cross-compilation
This commit is contained in:
commit
de7510053c
2 changed files with 9 additions and 0 deletions
|
@ -42,6 +42,7 @@
|
|||
, xorg
|
||||
, libgudev
|
||||
, wavpack
|
||||
, glib
|
||||
}:
|
||||
|
||||
assert raspiCameraSupport -> (stdenv.isLinux && stdenv.isAarch64);
|
||||
|
@ -57,6 +58,10 @@ stdenv.mkDerivation rec {
|
|||
sha256 = "1al4f35mx41cy2h6agvmsqkjfchsyfs0iyxzpv6pnl0xh9pqfriw";
|
||||
};
|
||||
|
||||
strictDeps = true;
|
||||
|
||||
depsBuildBuild = [ pkg-config ];
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
python3
|
||||
|
@ -64,6 +69,9 @@ stdenv.mkDerivation rec {
|
|||
ninja
|
||||
gettext
|
||||
nasm
|
||||
orc
|
||||
libshout
|
||||
glib
|
||||
] ++ lib.optionals stdenv.isLinux [
|
||||
wayland-protocols
|
||||
];
|
||||
|
|
|
@ -14,6 +14,7 @@ stdenv.mkDerivation rec {
|
|||
|
||||
outputs = [ "out" "dev" "doc" ];
|
||||
|
||||
depsBuildBuild = [ pkg-config ];
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
propagatedBuildInputs = [ libvorbis libtheora speex ];
|
||||
|
||||
|
|
Loading…
Reference in a new issue