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