mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-10-14 08:31:40 +03:00
gst_all_1.gst-plugins-rs: add withGtkPlugins option
This commit is contained in:
parent
93a707cfe2
commit
70ec3a3c0f
@ -29,6 +29,7 @@
|
||||
, nix-update-script
|
||||
# specifies a limited subset of plugins to build (the default `null` means all plugins supported on the stdenv platform)
|
||||
, plugins ? null
|
||||
, withGtkPlugins ? true
|
||||
# Checks meson.is_cross_build(), so even canExecute isn't enough.
|
||||
, enableDocumentation ? stdenv.hostPlatform == stdenv.buildPlatform && plugins == null
|
||||
, hotdoc
|
||||
@ -114,7 +115,7 @@ let
|
||||
"reqwest" # tests hang on darwin
|
||||
"threadshare" # tests cannot bind to localhost on darwin
|
||||
"webp" # not supported on darwin (upstream crate issue)
|
||||
] ++ lib.optionals (!gst-plugins-base.glEnabled) [
|
||||
] ++ lib.optionals (!gst-plugins-base.glEnabled || !withGtkPlugins) [
|
||||
# these require gstreamer-gl
|
||||
"gtk4"
|
||||
"livesync"
|
||||
|
Loading…
Reference in New Issue
Block a user