gst_all_1.gst-plugins-bad: disable zbar by default

gst-plugins-bad by default used to pull in gtk3 and qtbase and qtx11extras because of the default dependency on zbar.
As zbar is a rarely needed gstreamer plugin, this unnecessarily
increased the closure size.
I am only aware of gnome-keysign actually using the zbar plugin, so that
uses a zbar-enabled gst-plugins-bad.

closes #84845
This commit is contained in:
Trolli Schmittlauch 2020-04-11 01:58:35 +02:00
parent f2198c46b2
commit 2df7f920d6
2 changed files with 2 additions and 2 deletions

View File

@ -10,7 +10,7 @@
, gst-plugins-base
, orc
, gobject-introspection
, enableZbar ? true
, enableZbar ? false
, faacSupport ? false
, faac ? null
, faad2

View File

@ -53,7 +53,7 @@ python3.pkgs.buildPythonApplication rec {
gst_all_1.gstreamer
gst_all_1.gst-plugins-base
(gst_all_1.gst-plugins-good.override { gtkSupport = true; })
gst_all_1.gst-plugins-bad # for zbar plug-in
(gst_all_1.gst-plugins-bad.override { enableZbar = true; }) # for zbar plug-in
];
propagatedBuildInputs = with python3.pkgs; [