mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
gst_all_1.gst-plugins-bad: don't build with gtk3 by default (#459808)
This commit is contained in:
commit
82a3bffc28
1 changed files with 5 additions and 2 deletions
|
|
@ -108,7 +108,8 @@
|
|||
# Checks meson.is_cross_build(), so even canExecute isn't enough.
|
||||
enableDocumentation ? stdenv.hostPlatform == stdenv.buildPlatform,
|
||||
hotdoc,
|
||||
guiSupport ? true,
|
||||
# causes gtk4 to depend on gtk3 and makes little sense
|
||||
guiSupport ? false,
|
||||
gst-plugins-bad,
|
||||
apple-sdk_gstreamer,
|
||||
}:
|
||||
|
|
@ -370,8 +371,10 @@ stdenv.mkDerivation (finalAttrs: {
|
|||
++ lib.optionals (!gst-plugins-base.glEnabled) [
|
||||
"-Dgl=disabled"
|
||||
]
|
||||
++ lib.optionals (!gst-plugins-base.waylandEnabled || !guiSupport) [
|
||||
++ lib.optionals (!guiSupport) [
|
||||
"-Dgtk3=disabled" # Wayland-based GTK sink
|
||||
]
|
||||
++ lib.optionals (!gst-plugins-base.waylandEnabled) [
|
||||
"-Dwayland=disabled"
|
||||
]
|
||||
++ lib.optionals (!gst-plugins-base.glEnabled) [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue