On Thu, 03 Oct 2019 at 08:52:24 +0200, Helmut Grohne wrote: > Build-Depends: ... > - gtk-doc-tools (>= 1.25), > +Build-Depends-Indep: gtk-doc-tools (>= 1.25), ...
gtk-doc-tools usually needs to stay in Build-Depends for Autotools-based packages, because it is required at autoreconf time. For Meson-based packages it might be OK to move it to B-D-I - I haven't tried that yet - but gnome-panel is still using Autotools at the moment. You're right that actually *enabling* gtk-doc in architecture-specific builds is unnecessary, and I think just changing the dh_auto_configure arguments (without changing the B-D/B-D-I) would be sufficient to have the effect you're looking for here? smcv