summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@gnome.org>2016-06-19 11:18:46 +0100
committerEmmanuele Bassi <ebassi@gnome.org>2016-06-19 11:18:46 +0100
commit294ba933429672b0be32d84b5331a7ecac98340e (patch)
tree5d3253e6aa5b7e7ae5d813c17331892f593d18e3
parenta559637b7c756013d990e1007da619b3442815d1 (diff)
downloadclutter-gst-2.0.tar.gz
build: Attempt at replicating introspection's build rulesclutter-gst-2.0
Since Clutter-GStreamer does not use Makefile.introspection to generate the GIR and typelib files, we need to try and keep the build rules as close as possible, in the hope that the reason why Continuous breaks whenever generating the introspection data for GStreamer and GStreamer-based libraries lies in how the build rules for generating introspection data are defined.
-rw-r--r--clutter-gst/Makefile.am13
1 files changed, 8 insertions, 5 deletions
diff --git a/clutter-gst/Makefile.am b/clutter-gst/Makefile.am
index b09eb40..381365d 100644
--- a/clutter-gst/Makefile.am
+++ b/clutter-gst/Makefile.am
@@ -135,13 +135,9 @@ BUILT_GIRSOURCES =
ClutterGst-@CLUTTER_GST_API_VERSION@.gir: $(INTROSPECTION_SCANNER) libclutter-gst-@CLUTTER_GST_API_VERSION@.la
$(QUIET_GEN) \
GST_PLUGIN_SYSTEM_PATH_1_0="" GST_PLUGIN_PATH_1_0="" GST_REGISTRY_UPDATE=no DISPLAY="" \
+ CPPFLAGS="$(CPPFLAGS)" CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" CC="$(CC)" PKG_CONFIG="$(PKG_CONFIG)" DLLTOOL="$(DLLTOOL)" \
$(INTROSPECTION_SCANNER) -v \
--namespace ClutterGst --nsversion=@CLUTTER_GST_API_VERSION@ \
- $(AM_CPPFLAGS) \
- $(CLUTTER_GST_CFLAGS) \
- $(GST_CFLAGS) \
- $(HW_CFLAGS) \
- -D GST_USE_UNSTABLE_API \
--quiet --warn-all \
--add-include-path=$(srcdir) --add-include=path=. \
--c-include="clutter-gst/clutter-gst.h" \
@@ -164,6 +160,13 @@ ClutterGst-@CLUTTER_GST_API_VERSION@.gir: $(INTROSPECTION_SCANNER) libclutter-gs
--pkg gstreamer-1.0 \
--pkg gstreamer-base-1.0 \
--pkg-export clutter-gst-@CLUTTER_GST_API_VERSION@ \
+ --cflags-begin \
+ $(AM_CPPFLAGS) \
+ $(CLUTTER_GST_CFLAGS) \
+ $(GST_CFLAGS) \
+ $(HW_CFLAGS) \
+ -DGST_USE_UNSTABLE_API \
+ --cflags-end \
$(cluttergstheaders_HEADERS) \
$(addprefix $(srcdir)/, $(source_c))