--- a/doc/reference/finch/meson.build Mon Sep 27 20:42:30 2021 -0500
+++ b/doc/reference/finch/meson.build Mon Sep 27 22:46:03 2021 -0500
@@ -20,7 +20,6 @@
# Extra options to supply to fixxrefs
- '--extra-dir=@0@'.format(libgnt_docpath),
'--extra-dir=../libpurple',
--- a/finch/meson.build Mon Sep 27 20:42:30 2021 -0500
+++ b/finch/meson.build Mon Sep 27 22:46:03 2021 -0500
@@ -1,26 +1,8 @@
if get_option('consoleui')
- libgnt_dep = dependency('gnt3', version : '>= 3.0.0', required : false)
- libgnt_docpath = libgnt_dep.get_pkgconfig_variable('prefix') / 'share/gtk-doc/html'
- if enable_introspection
- libgnt_gir = ['Gnt-3.0']
- libgnt_proj = subproject('libgnt',
- 'doc=' + get_option('doc').to_string(),
- 'introspection=' + enable_introspection.to_string(),
- libgnt_dep = libgnt_proj.get_variable('libgnt_dep')
- libgnt_docpath = meson.project_build_root() / 'subprojects/libgnt/doc/'
- if enable_introspection
- libgnt_gir = libgnt_proj.get_variable('libgnt_gir')
+ libgnt_dep = dependency('gnt3', + fallback : ['libgnt', 'libgnt_dep']) #######################################################################
# Check for ncurses and other things used by it
@@ -209,7 +191,7 @@
introspection_sources = libfinch_headers
# subproject needs to be before libpurple in the repo so that
# meson will use our variables and not try to discover them from