gst_all_1.gstreamer: re-enable auto_features

This commit is contained in:
Daiderd Jordan 2019-06-22 01:04:05 +02:00
parent 9983820e93
commit ce17e9941f
No known key found for this signature in database
GPG Key ID: D02435D05B810C96

View File

@ -42,20 +42,20 @@ stdenv.mkDerivation rec {
docbook_xsl docbook_xml_dtd_412 docbook_xsl docbook_xml_dtd_412
]; ];
buildInputs = [ libunwind ] buildInputs =
++ lib.optionals stdenv.isLinux [ libcap elfutils ] lib.optionals stdenv.isLinux [ libcap libunwind elfutils ]
++ lib.optional stdenv.isDarwin CoreServices; ++ lib.optional stdenv.isDarwin CoreServices;
propagatedBuildInputs = [ glib ]; propagatedBuildInputs = [ glib ];
mesonFlags = [ mesonFlags = [
# Enables all features, so that we know when new dependencies are necessary. # Enables all features, so that we know when new dependencies are necessary.
# "-Dauto_features=enabled" "-Dauto_features=enabled"
"-Ddbghelp=disabled" # not needed as we already provide libunwind and libdw, and dbghelp is a fallback to those "-Ddbghelp=disabled" # not needed as we already provide libunwind and libdw, and dbghelp is a fallback to those
"-Dexamples=disabled" # requires many dependencies and probably not useful for our users "-Dexamples=disabled" # requires many dependencies and probably not useful for our users
] ]
# darwin.libunwind doesn't have pkgconfig definitions so meson doesn't detect it. # darwin.libunwind doesn't have pkgconfig definitions so meson doesn't detect it.
++ stdenv.lib.optional stdenv.isDarwin "-DHAVE_UNWIND=1"; ++ stdenv.lib.optionals stdenv.isDarwin [ "-Dlibunwind=disabled" "-Dlibdw=disabled" ];
postInstall = '' postInstall = ''
for prog in "$dev/bin/"*; do for prog in "$dev/bin/"*; do