gst_all_1: Fix evaluation on Darwin, fix gstreamer builds.

Commit be382109ad broke evaluation
on Darwin because it added these unconditional buildInputs
that don't evaluate on Darwin:

    libnice librdf lilv lv2 serd sord sratom

This commit fixes it, and also fixes recently-added new dependencies
for other packages accordingly.

It further fixes the build of many gstreamer packages on Darwin.
This commit is contained in:
Niklas Hambüchen
2019-11-14 12:22:46 +01:00
committed by Jan Tojnar
parent ffc9bdea32
commit 2c800ed685
3 changed files with 113 additions and 22 deletions
@@ -116,7 +116,14 @@ stdenv.mkDerivation rec {
] ++ optionals (!stdenv.isLinux || !enableJack) [
"-Djack=disabled" # unclear whether Jack works on Darwin
] ++ optionals (!stdenv.isLinux) [
"-Dv4l2-gudev=disabled"
"-Ddv1394=disabled" # Linux only
"-Doss4=disabled" # Linux only
"-Doss=disabled" # Linux only
"-Dpulse=disabled" # TODO check if we can keep this enabled
"-Dv4l2-gudev=disabled" # Linux-only
"-Dv4l2=disabled" # Linux-only
"-Dximagesrc=disabled" # Linux-only
"-Dpulse=disabled" # TODO check if we can keep this enabled
];