[gedit] meson: fix gtk_doc build
- From: Jeremy Bicha <jbicha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit] meson: fix gtk_doc build
- Date: Sat, 12 Jan 2019 15:57:09 +0000 (UTC)
commit 103b5154aa78bf3de67fa9915b43425349ba8ee5
Author: Jeremy Bicha <jbicha ubuntu com>
Date: Wed Jan 9 21:08:20 2019 -0500
meson: fix gtk_doc build
Specifically we don't need libgd included
docs/reference/meson.build | 20 +++++++++++++++++++-
1 file changed, 19 insertions(+), 1 deletion(-)
---
diff --git a/docs/reference/meson.build b/docs/reference/meson.build
index 260cf4f0c..acceb544a 100644
--- a/docs/reference/meson.build
+++ b/docs/reference/meson.build
@@ -7,6 +7,24 @@ gobject_docpath = join_paths(gobject_prefix, 'share', 'gtk-doc', 'html', 'gobjec
gtk_prefix = gtk_dep.get_pkgconfig_variable('prefix')
gtk_docpath = join_paths(gobject_prefix, 'share', 'gtk-doc', 'html', 'gtk')
+gedit_doc_deps = [
+ glib_dep,
+ gobject_dep,
+ gio_dep,
+ gtk_dep,
+ gtksourceview_dep,
+ libpeas_dep,
+ libpeas_gtk_dep,
+ libxml_dep,
+]
+
+gedit_doc_dep = declare_dependency(
+ link_with: libgedit_sha,
+ include_directories: rootdir,
+ dependencies: gedit_doc_deps,
+ sources: libgedit_dep_sources,
+)
+
libgedit_reference_ignored_h = [
'gedit-app-osx.h',
'gedit-app-win32.h',
@@ -73,7 +91,7 @@ gnome.gtkdoc(
package_name,
main_sgml: 'gedit-docs.xml',
src_dir: join_paths(srcdir, 'gedit'),
- dependencies: libgedit_dep,
+ dependencies: gedit_doc_dep,
scan_args: libgedit_reference_scan_args,
mkdb_args: libgedit_reference_mkdb_args,
fixxref_args: libgedit_reference_fixxref_args,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]