gi: Use INTROSPECTION_INIT for --add-init-section

This new define was added to common. The new init section fixed
compilation warning found in the init line that was spread across
all files.
This commit is contained in:
Nicolas Dufresne 2015-06-16 18:04:57 -04:00
parent b59cc6acb7
commit c101452a4a
8 changed files with 8 additions and 8 deletions

View file

@ -56,7 +56,7 @@ GstApp-@GST_API_VERSION@.gir: $(INTROSPECTION_SCANNER) libgstapp-@GST_API_VERSIO
--pkg gstreamer-@GST_API_VERSION@ \ --pkg gstreamer-@GST_API_VERSION@ \
--pkg gstreamer-base-@GST_API_VERSION@ \ --pkg gstreamer-base-@GST_API_VERSION@ \
--pkg-export gstreamer-app-@GST_API_VERSION@ \ --pkg-export gstreamer-app-@GST_API_VERSION@ \
--add-init-section="gst_init(NULL,NULL);" \ --add-init-section="$(INTROSPECTION_INIT)" \
--output $@ \ --output $@ \
$(gir_headers) \ $(gir_headers) \
$(gir_sources) $(gir_sources)

View file

@ -110,7 +110,7 @@ GstAudio-@GST_API_VERSION@.gir: $(INTROSPECTION_SCANNER) libgstaudio-@GST_API_VE
--pkg gstreamer-@GST_API_VERSION@ \ --pkg gstreamer-@GST_API_VERSION@ \
--pkg gstreamer-base-@GST_API_VERSION@ \ --pkg gstreamer-base-@GST_API_VERSION@ \
--pkg-export gstreamer-audio-@GST_API_VERSION@ \ --pkg-export gstreamer-audio-@GST_API_VERSION@ \
--add-init-section="gst_init(NULL,NULL);" \ --add-init-section="$(INTROSPECTION_INIT)" \
--output $@ \ --output $@ \
$(gir_headers) \ $(gir_headers) \
$(gir_sources) $(gir_sources)

View file

@ -100,7 +100,7 @@ GstPbutils-@GST_API_VERSION@.gir: $(INTROSPECTION_SCANNER) libgstpbutils-@GST_AP
--pkg gstreamer-video-@GST_API_VERSION@ \ --pkg gstreamer-video-@GST_API_VERSION@ \
--pkg gstreamer-audio-@GST_API_VERSION@ \ --pkg gstreamer-audio-@GST_API_VERSION@ \
--pkg-export gstreamer-pbutils-@GST_API_VERSION@ \ --pkg-export gstreamer-pbutils-@GST_API_VERSION@ \
--add-init-section="gst_init(NULL,NULL);" \ --add-init-section="$(INTROSPECTION_INIT)" \
--output $@ \ --output $@ \
$(gir_headers) \ $(gir_headers) \
$(gir_sources) $(gir_sources)

View file

@ -52,7 +52,7 @@ libgstriff_@GST_API_VERSION@_la_LDFLAGS = $(GST_LIB_LDFLAGS) $(GST_ALL_LDFLAGS)
# --pkg gstreamer-tag-@GST_API_VERSION@ \ # --pkg gstreamer-tag-@GST_API_VERSION@ \
# --pkg gstreamer-audio-@GST_API_VERSION@ \ # --pkg gstreamer-audio-@GST_API_VERSION@ \
# --pkg-export gstreamer-riff-@GST_API_VERSION@ \ # --pkg-export gstreamer-riff-@GST_API_VERSION@ \
# --add-init-section="gst_init(NULL,NULL);" \ # --add-init-section="$(INTROSPECTION_INIT)" \
# --output $@ \ # --output $@ \
# $(gir_headers) \ # $(gir_headers) \
# $(gir_sources) # $(gir_sources)

View file

@ -68,7 +68,7 @@ GstRtp-@GST_API_VERSION@.gir: $(INTROSPECTION_SCANNER) libgstrtp-@GST_API_VERSIO
--pkg gstreamer-@GST_API_VERSION@ \ --pkg gstreamer-@GST_API_VERSION@ \
--pkg gstreamer-base-@GST_API_VERSION@ \ --pkg gstreamer-base-@GST_API_VERSION@ \
--pkg-export gstreamer-rtp-@GST_API_VERSION@ \ --pkg-export gstreamer-rtp-@GST_API_VERSION@ \
--add-init-section="gst_init(NULL,NULL);" \ --add-init-section="$(INTROSPECTION_INIT)" \
--output $@ \ --output $@ \
$(gir_headers) \ $(gir_headers) \
$(gir_sources) $(gir_sources)

View file

@ -76,7 +76,7 @@ GstRtsp-@GST_API_VERSION@.gir: $(INTROSPECTION_SCANNER) libgstrtsp-@GST_API_VERS
--pkg gstreamer-@GST_API_VERSION@ \ --pkg gstreamer-@GST_API_VERSION@ \
--pkg gstreamer-sdp-@GST_API_VERSION@ \ --pkg gstreamer-sdp-@GST_API_VERSION@ \
--pkg-export gstreamer-rtsp-@GST_API_VERSION@ \ --pkg-export gstreamer-rtsp-@GST_API_VERSION@ \
--add-init-section="gst_init(NULL,NULL);" \ --add-init-section="$(INTROSPECTION_INIT)" \
--output $@ \ --output $@ \
$(gir_headers) \ $(gir_headers) \
$(gir_sources) $(gir_sources)

View file

@ -48,7 +48,7 @@ GstTag-@GST_API_VERSION@.gir: $(INTROSPECTION_SCANNER) libgsttag-@GST_API_VERSIO
--pkg gstreamer-@GST_API_VERSION@ \ --pkg gstreamer-@GST_API_VERSION@ \
--pkg gstreamer-base-@GST_API_VERSION@ \ --pkg gstreamer-base-@GST_API_VERSION@ \
--pkg-export gstreamer-tag-@GST_API_VERSION@ \ --pkg-export gstreamer-tag-@GST_API_VERSION@ \
--add-init-section="gst_init(NULL,NULL);" \ --add-init-section="$(INTROSPECTION_INIT)" \
--output $@ \ --output $@ \
$(gir_headers) \ $(gir_headers) \
$(gir_sources) $(gir_sources)

View file

@ -117,7 +117,7 @@ GstVideo-@GST_API_VERSION@.gir: $(INTROSPECTION_SCANNER) libgstvideo-@GST_API_VE
--pkg gstreamer-@GST_API_VERSION@ \ --pkg gstreamer-@GST_API_VERSION@ \
--pkg gstreamer-base-@GST_API_VERSION@ \ --pkg gstreamer-base-@GST_API_VERSION@ \
--pkg-export gstreamer-video-@GST_API_VERSION@ \ --pkg-export gstreamer-video-@GST_API_VERSION@ \
--add-init-section="gst_init(NULL,NULL);" \ --add-init-section="$(INTROSPECTION_INIT)" \
--output $@ \ --output $@ \
$(gir_headers) \ $(gir_headers) \
$(gir_sources) $(gir_sources)