If we're compiling with gstreamer, make sure we includ the gstreamer gir when building the gir

Thu, 27 Jul 2017 20:54:49 -0500

author
Gary Kramlich <grim@reaperworld.com>
date
Thu, 27 Jul 2017 20:54:49 -0500
changeset 38631
89ded010f76c
parent 38600
dae74aa0ce02
child 38632
4cbae4a1bac1

If we're compiling with gstreamer, make sure we includ the gstreamer gir when building the gir

libpurple/meson.build file | annotate | diff | comparison | revisions
meson.build file | annotate | diff | comparison | revisions
--- a/libpurple/meson.build	Fri Jul 21 01:54:41 2017 +0000
+++ b/libpurple/meson.build	Thu Jul 27 20:54:49 2017 -0500
@@ -452,6 +452,9 @@
 	if enable_dbus
 		Purple_gir_includes += ['DBus-1.0', 'DBusGLib-1.0']
 	endif
+	if enable_gst
+		Purple_gir_includes += ['Gst-1.0']
+	endif
 
 	libpurple_gir = gnome.generate_gir(libpurple,
 	    sources : introspection_sources,
--- a/meson.build	Fri Jul 21 01:54:41 2017 +0000
+++ b/meson.build	Thu Jul 27 20:54:49 2017 -0500
@@ -1323,9 +1323,9 @@
 # check for gtk-doc
 ENABLE_DOC = get_option('doc')
 if ENABLE_DOC
-	if meson.version().version_compare('<0.42.0')
+	if meson.version().version_compare('<0.41.2')
 		if force_deps
-			error('Meson 0.42.0 or newer is required to build documentation.')
+			error('Meson 0.41.2 or newer is required to build documentation.')
 		endif
 		ENABLE_DOC = false
 	endif

mercurial