Path: blob/main/net-im/libnice/files/patch-docs_reference_libnice_meson.build
16461 views
- Keep graphviz optional with meson >= 0.58 after1https://github.com/mesonbuild/meson/commit/80c89a650b6f23--- docs/reference/libnice/meson.build.orig 2020-11-25 16:39:27 UTC4+++ docs/reference/libnice/meson.build5@@ -26,7 +26,7 @@ ignore_headers = [6]78if dependency('gtk-doc', version: '<1.30', required: false).found()9- prog_python = import('python').find_installation('python3')10+ prog_python = import('python').find_installation()11fake_makefile = custom_target ('libnice-docs-test-Makefile',12output: 'Makefile',13command: [14@@ -67,6 +67,8 @@ gnome.gtkdoc('libnice',15# If we ever need to regenerate this diagram.16# Since it’s not expected to change much, let’s not depend on GraphViz to17# build the docs (that's also why we don't use find_program('dot') here)18+dot = find_program('dot', required: false)19+if dot.found()20run_target('update-states.png',21command: ['dot',22'-Tpng',23@@ -74,3 +76,4 @@ run_target('update-states.png',24'-Gsize=9.6,2.9!',25'-Gdpi=200',26files('states.gv')])27+endif282930