meson, mkosi: pull in jinja2 as required

In preparation for subsequent changes.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2021-05-16 15:31:00 +02:00 committed by Yu Watanabe
parent be21b60b89
commit e0698c66f4
7 changed files with 12 additions and 0 deletions

View file

@ -41,6 +41,7 @@ BuildPackages=
pkgconfig
python
python-lxml
python-jinja
qrencode
rsync
xz

View file

@ -51,6 +51,7 @@ BuildPackages=
pkg-config
python3
python3-lxml
python3-jinja2
tree
uuid-dev
xsltproc

View file

@ -55,6 +55,7 @@ BuildPackages=
pkgconfig
python3-devel
python3-lxml
python3dist(jinja2)
qrencode-devel
rpm
tpm2-tss-devel

View file

@ -37,6 +37,7 @@ BuildPackages=
pcre-devel
python3
python3-lxml
python3-jinja2
qrencode-devel
system-user-nobody
systemd-sysvinit

View file

@ -54,6 +54,7 @@ BuildPackages=
pkg-config
python3
python3-lxml
python3-jinja2
tree
tzdata
uuid-dev

1
README
View file

@ -190,6 +190,7 @@ REQUIREMENTS:
gperf
docbook-xsl (optional, required for documentation)
xsltproc (optional, required for documentation)
python-jinja2
python-lxml (optional, required to build the indices)
python >= 3.5
meson >= 0.46 (>= 0.49 is required to build position-independent executables)

View file

@ -655,6 +655,12 @@ endif
############################################################
if run_command('python3', '-c', 'import jinja2').returncode() != 0
error('python3 jinja2 missing')
endif
############################################################
gperf = find_program('gperf')
gperf_test_format = '''