BuildRequire python3-sphinxcontrib-inkscapeconverter when inkscape is installed

Co-Authored-By: Miro Hrončok <miro@hroncok.cz>
This commit is contained in:
Thomas Moschny 2022-09-06 16:51:52 +02:00 committed by Miro Hrončok
parent e41002857c
commit c322ce5183

View File

@ -66,6 +66,9 @@ BuildRequires: python3-Pallets-Sphinx-Themes
BuildRequires: python3-sphinx
BuildRequires: python3-sphinx-removed-in
BuildRequires: python3-sphinxcontrib-trio
# See doc/en/conf.py -- sphinxcontrib.inkscapeconverter is only used when inkscape is available
# we don't BR inkscape so we generally don't need it, but in case inkscape is installed accidentally:
BuildRequires: (python3-sphinxcontrib-inkscapeconverter if inkscape)
BuildRequires: make
%endif