gstreamer: needs extra build inputs

Cross needs some extra native tools:

- glib
- wayland
- orc
- glib is needed in nativeBuildInputs

Also:

- bash-completion needs to be available for PKG_CONFIG_PATH
This commit is contained in:
Matthew Bauer 2020-02-24 21:47:55 -05:00
parent de14f0c6e1
commit 5198179adc
2 changed files with 8 additions and 2 deletions

View File

@ -37,6 +37,7 @@
, enableGl ? (enableX11 || enableWayland || enableCocoa) , enableGl ? (enableX11 || enableWayland || enableCocoa)
, enableCdparanoia ? (!stdenv.isDarwin) , enableCdparanoia ? (!stdenv.isDarwin)
, cdparanoia , cdparanoia
, glib
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
@ -60,13 +61,15 @@ stdenv.mkDerivation rec {
pkgconfig pkgconfig
python3 python3
gettext gettext
orc
glib
gobject-introspection gobject-introspection
# docs # docs
gtk-doc gtk-doc
docbook_xsl docbook_xsl
docbook_xml_dtd_43 docbook_xml_dtd_43
]; ] ++ lib.optional enableWayland wayland;
buildInputs = [ buildInputs = [
orc orc

View File

@ -48,6 +48,7 @@ stdenv.mkDerivation rec {
flex flex
python3 python3
makeWrapper makeWrapper
glib
gobject-introspection gobject-introspection
bash-completion bash-completion
@ -57,7 +58,9 @@ stdenv.mkDerivation rec {
docbook_xml_dtd_43 docbook_xml_dtd_43
]; ];
buildInputs = lib.optionals stdenv.isLinux [ buildInputs = [
bash-completion
] ++ lib.optionals stdenv.isLinux [
libcap libcap
libunwind libunwind
elfutils elfutils