gst_all_1.base: fix strictDeps
This commit is contained in:
parent
faef083426
commit
8473cb3a2a
|
@ -5,7 +5,6 @@
|
|||
, meson
|
||||
, ninja
|
||||
, gettext
|
||||
, gobject-introspection
|
||||
, python3
|
||||
, gstreamer
|
||||
, orc
|
||||
|
@ -37,6 +36,8 @@
|
|||
, enableCdparanoia ? (!stdenv.isDarwin)
|
||||
, cdparanoia
|
||||
, glib
|
||||
, withIntrospection ? stdenv.buildPlatform == stdenv.hostPlatform
|
||||
, gobject-introspection
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
|
@ -50,6 +51,7 @@ stdenv.mkDerivation rec {
|
|||
sha256 = "0162ly7pscymq6bsf1d5fva2k9s16zvfwyi1q6z4yfd97d0sdn4n";
|
||||
};
|
||||
|
||||
strictDeps = true;
|
||||
nativeBuildInputs = [
|
||||
meson
|
||||
ninja
|
||||
|
@ -58,10 +60,11 @@ stdenv.mkDerivation rec {
|
|||
gettext
|
||||
orc
|
||||
glib
|
||||
gobject-introspection
|
||||
|
||||
gstreamer
|
||||
# docs
|
||||
# TODO add hotdoc here
|
||||
] ++ lib.optionals withIntrospection [
|
||||
gobject-introspection
|
||||
] ++ lib.optional enableWayland wayland;
|
||||
|
||||
buildInputs = [
|
||||
|
@ -88,6 +91,8 @@ stdenv.mkDerivation rec {
|
|||
] ++ lib.optionals enableWayland [
|
||||
wayland
|
||||
wayland-protocols
|
||||
] ++ lib.optionals withIntrospection [
|
||||
gobject-introspection
|
||||
] ++ lib.optional enableCocoa Cocoa
|
||||
++ lib.optional enableCdparanoia cdparanoia;
|
||||
|
||||
|
@ -101,8 +106,8 @@ stdenv.mkDerivation rec {
|
|||
"-Dgl-graphene=disabled" # not packaged in nixpkgs as of writing
|
||||
# See https://github.com/GStreamer/gst-plugins-base/blob/d64a4b7a69c3462851ff4dcfa97cc6f94cd64aef/meson_options.txt#L15 for a list of choices
|
||||
"-Dgl_winsys=${lib.concatStringsSep "," (lib.optional enableX11 "x11" ++ lib.optional enableWayland "wayland" ++ lib.optional enableCocoa "cocoa")}"
|
||||
"-Dintrospection=${if withIntrospection then "enabled" else "disabled"}"
|
||||
] ++ lib.optionals (stdenv.buildPlatform != stdenv.hostPlatform) [
|
||||
"-Dintrospection=disabled"
|
||||
"-Dtests=disabled"
|
||||
]
|
||||
++ lib.optional (!enableX11) "-Dx11=disabled"
|
||||
|
|
Loading…
Reference in a new issue