gplugin/gplugin

Add a gir for gplugin-gtk as well
feature/glade
2018-05-06, Gary Kramlich
5a92f9f03028
Add a gir for gplugin-gtk as well
--- a/gplugin-gtk/meson.build Sun May 06 16:49:08 2018 -0500
+++ b/gplugin-gtk/meson.build Sun May 06 17:04:28 2018 -0500
@@ -122,6 +122,22 @@
endif
###############################################################################
+# GObject Introspection
+###############################################################################
+if get_option('gobject-introspection')
+ gplugin_gtk_gir = gnome.generate_gir(
+ gplugin_gtk,
+ sources : GPLUGIN_GTK_SOURCES + GPLUGIN_GTK_HEADERS +
+ GPLUGIN_GTK_PUBLIC_BUILT_SOURCES +
+ GPLUGIN_GTK_PUBLIC_BUILT_HEADERS,
+ includes : [gplugin_gir[0], 'Gtk-3.0'],
+ namespace : 'GPluginGtk',
+ symbol_prefix : 'gplugin_gtk',
+ nsversion : '@0@.0'.format(GPLUGIN_MAJOR_VERSION),
+ install : true)
+endif
+
+###############################################################################
# Install Stuff
###############################################################################
# install the normal includes into the gplugin-gtk subdirectory