Merge pull request #175647 from Mindavi/gstreamer-good/cross

gstreamer-good: support cross-compilation
This commit is contained in:
Rick van Schijndel 2022-06-02 07:17:01 +02:00 committed by GitHub
commit de7510053c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 0 deletions

View File

@ -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
];

View File

@ -14,6 +14,7 @@ stdenv.mkDerivation rec {
outputs = [ "out" "dev" "doc" ];
depsBuildBuild = [ pkg-config ];
nativeBuildInputs = [ pkg-config ];
propagatedBuildInputs = [ libvorbis libtheora speex ];