[gexiv2/gexiv2-0.10] build: Fix building gtk-doc
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gexiv2/gexiv2-0.10] build: Fix building gtk-doc
- Date: Tue, 1 Jan 2019 13:39:43 +0000 (UTC)
commit 31409ff7c27611b21c17a42392dc281b14f7f6d0
Author: Jens Georg <mail jensge org>
Date: Fri Nov 30 11:38:20 2018 +0100
build: Fix building gtk-doc
It was missing the gobject_types directive
docs/reference/meson.build | 3 ++-
gexiv2/meson.build | 5 +++++
2 files changed, 7 insertions(+), 1 deletion(-)
---
diff --git a/docs/reference/meson.build b/docs/reference/meson.build
index cc91e64..1b5dea1 100644
--- a/docs/reference/meson.build
+++ b/docs/reference/meson.build
@@ -1,7 +1,8 @@
subdir('xml')
gnome.gtkdoc('gexiv2',
main_xml : 'gexiv2-docs.xml',
+ gobject_typesfile : 'gexiv2.types',
src_dir : [join_paths(meson.source_root(), 'gexiv2'),
join_paths(meson.build_root(), 'gexiv2')],
- dependencies : gexiv2,
+ dependencies : libgexiv2,
install : true)
diff --git a/gexiv2/meson.build b/gexiv2/meson.build
index aeca227..311e841 100644
--- a/gexiv2/meson.build
+++ b/gexiv2/meson.build
@@ -66,6 +66,11 @@ gexiv2 = library('gexiv2',
dependencies : [gobject, exiv2],
install : true)
+libgexiv2 = declare_dependency(
+ link_with : gexiv2,
+ incldue_directories : include_directories('..')
+)
+
pc_deps = ['glib-2.0', 'gobject-2.0']
pkg.generate(
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]