Files
FreeBSD-ports/net-im/libnice/files/patch-docs_reference_libnice_meson.build
Jan Beich afb3593eef devel/meson: update to 0.58.1
Changes:	https://mesonbuild.com/Release-notes-for-0-58-0.html
Reported by:	GitHub (watch releases)
PR:		255550
Exp-run by:	antoine
Approved by:	tcberner
2021-06-09 21:29:24 +00:00

29 lines
1.1 KiB
INI
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
- Keep graphviz optional with meson >= 0.58 after
https://github.com/mesonbuild/meson/commit/80c89a650b6f
--- docs/reference/libnice/meson.build.orig 2020-11-25 16:39:27 UTC
+++ docs/reference/libnice/meson.build
@@ -26,7 +26,7 @@ ignore_headers = [
]
if dependency('gtk-doc', version: '<1.30', required: false).found()
- prog_python = import('python').find_installation('python3')
+ prog_python = import('python').find_installation()
fake_makefile = custom_target ('libnice-docs-test-Makefile',
output: 'Makefile',
command: [
@@ -67,6 +67,8 @@ gnome.gtkdoc('libnice',
# If we ever need to regenerate this diagram.
# Since its not expected to change much, lets not depend on GraphViz to
# build the docs (that's also why we don't use find_program('dot') here)
+dot = find_program('dot', required: false)
+if dot.found()
run_target('update-states.png',
command: ['dot',
'-Tpng',
@@ -74,3 +76,4 @@ run_target('update-states.png',
'-Gsize=9.6,2.9!',
'-Gdpi=200',
files('states.gv')])
+endif