libs: make sure gobject-introspection scanner calls gst_init()
Cherry-picked from 0.11, since it's the right thing to do (we now silently rely on various _get_type() working without gst_init() having been called).
This commit is contained in:
parent
a818fe7381
commit
45b6bda76c
@ -56,6 +56,7 @@ GstApp-@GST_MAJORMINOR@.gir: $(INTROSPECTION_SCANNER) libgstapp-@GST_MAJORMINOR@
|
|||||||
--pkg gstreamer-@GST_MAJORMINOR@ \
|
--pkg gstreamer-@GST_MAJORMINOR@ \
|
||||||
--pkg gstreamer-base-@GST_MAJORMINOR@ \
|
--pkg gstreamer-base-@GST_MAJORMINOR@ \
|
||||||
--pkg-export gstreamer-app-@GST_MAJORMINOR@ \
|
--pkg-export gstreamer-app-@GST_MAJORMINOR@ \
|
||||||
|
--add-init-section="gst_init(NULL,NULL);" \
|
||||||
--output $@ \
|
--output $@ \
|
||||||
$(gir_headers) \
|
$(gir_headers) \
|
||||||
$(gir_sources)
|
$(gir_sources)
|
||||||
|
@ -87,6 +87,7 @@ GstAudio-@GST_MAJORMINOR@.gir: $(INTROSPECTION_SCANNER) libgstaudio-@GST_MAJORMI
|
|||||||
--pkg gstreamer-base-@GST_MAJORMINOR@ \
|
--pkg gstreamer-base-@GST_MAJORMINOR@ \
|
||||||
--pkg gstreamer-interfaces-@GST_MAJORMINOR@ \
|
--pkg gstreamer-interfaces-@GST_MAJORMINOR@ \
|
||||||
--pkg-export gstreamer-audio-@GST_MAJORMINOR@ \
|
--pkg-export gstreamer-audio-@GST_MAJORMINOR@ \
|
||||||
|
--add-init-section="gst_init(NULL,NULL);" \
|
||||||
--output $@ \
|
--output $@ \
|
||||||
$(gir_headers) \
|
$(gir_headers) \
|
||||||
$(gir_sources)
|
$(gir_sources)
|
||||||
|
@ -40,6 +40,7 @@ GstCdda-@GST_MAJORMINOR@.gir: $(INTROSPECTION_SCANNER) libgstcdda-@GST_MAJORMINO
|
|||||||
--pkg gstreamer-base-@GST_MAJORMINOR@ \
|
--pkg gstreamer-base-@GST_MAJORMINOR@ \
|
||||||
--pkg gstreamer-tag-@GST_MAJORMINOR@ \
|
--pkg gstreamer-tag-@GST_MAJORMINOR@ \
|
||||||
--pkg-export gstreamer-cdda-@GST_MAJORMINOR@ \
|
--pkg-export gstreamer-cdda-@GST_MAJORMINOR@ \
|
||||||
|
--add-init-section="gst_init(NULL,NULL);" \
|
||||||
--output $@ \
|
--output $@ \
|
||||||
$(gir_headers) \
|
$(gir_headers) \
|
||||||
$(gir_sources)
|
$(gir_sources)
|
||||||
|
@ -63,6 +63,7 @@ GstFft-@GST_MAJORMINOR@.gir: $(INTROSPECTION_SCANNER) libgstfft-@GST_MAJORMINOR@
|
|||||||
--libtool="$(top_builddir)/libtool" \
|
--libtool="$(top_builddir)/libtool" \
|
||||||
--pkg gstreamer-@GST_MAJORMINOR@ \
|
--pkg gstreamer-@GST_MAJORMINOR@ \
|
||||||
--pkg-export gstreamer-fft-@GST_MAJORMINOR@ \
|
--pkg-export gstreamer-fft-@GST_MAJORMINOR@ \
|
||||||
|
--add-init-section="gst_init(NULL,NULL);" \
|
||||||
--output $@ \
|
--output $@ \
|
||||||
$(gir_headers) \
|
$(gir_headers) \
|
||||||
$(gir_sources)
|
$(gir_sources)
|
||||||
|
@ -94,6 +94,7 @@ GstInterfaces-@GST_MAJORMINOR@.gir: $(INTROSPECTION_SCANNER) libgstinterfaces-@G
|
|||||||
--libtool="$(top_builddir)/libtool" \
|
--libtool="$(top_builddir)/libtool" \
|
||||||
--pkg gstreamer-@GST_MAJORMINOR@ \
|
--pkg gstreamer-@GST_MAJORMINOR@ \
|
||||||
--pkg-export gstreamer-interfaces-@GST_MAJORMINOR@ \
|
--pkg-export gstreamer-interfaces-@GST_MAJORMINOR@ \
|
||||||
|
--add-init-section="gst_init(NULL,NULL);" \
|
||||||
--output $@ \
|
--output $@ \
|
||||||
$(gir_headers) \
|
$(gir_headers) \
|
||||||
$(gir_sources)
|
$(gir_sources)
|
||||||
|
@ -28,6 +28,7 @@ GstNetbuffer-@GST_MAJORMINOR@.gir: $(INTROSPECTION_SCANNER) libgstnetbuffer-@GST
|
|||||||
--libtool="$(top_builddir)/libtool" \
|
--libtool="$(top_builddir)/libtool" \
|
||||||
--pkg gstreamer-@GST_MAJORMINOR@ \
|
--pkg gstreamer-@GST_MAJORMINOR@ \
|
||||||
--pkg-export gstreamer-netbuffer-@GST_MAJORMINOR@ \
|
--pkg-export gstreamer-netbuffer-@GST_MAJORMINOR@ \
|
||||||
|
--add-init-section="gst_init(NULL,NULL);" \
|
||||||
--output $@ \
|
--output $@ \
|
||||||
$(gir_headers) \
|
$(gir_headers) \
|
||||||
$(gir_sources)
|
$(gir_sources)
|
||||||
|
@ -47,6 +47,7 @@ GstRiff-@GST_MAJORMINOR@.gir: $(INTROSPECTION_SCANNER) libgstriff-@GST_MAJORMINO
|
|||||||
--pkg gstreamer-audio-@GST_MAJORMINOR@ \
|
--pkg gstreamer-audio-@GST_MAJORMINOR@ \
|
||||||
--pkg gstreamer-interfaces-@GST_MAJORMINOR@ \
|
--pkg gstreamer-interfaces-@GST_MAJORMINOR@ \
|
||||||
--pkg-export gstreamer-riff-@GST_MAJORMINOR@ \
|
--pkg-export gstreamer-riff-@GST_MAJORMINOR@ \
|
||||||
|
--add-init-section="gst_init(NULL,NULL);" \
|
||||||
--output $@ \
|
--output $@ \
|
||||||
$(gir_headers) \
|
$(gir_headers) \
|
||||||
$(gir_sources)
|
$(gir_sources)
|
||||||
|
@ -43,6 +43,7 @@ GstRtp-@GST_MAJORMINOR@.gir: $(INTROSPECTION_SCANNER) libgstrtp-@GST_MAJORMINOR@
|
|||||||
--pkg gstreamer-@GST_MAJORMINOR@ \
|
--pkg gstreamer-@GST_MAJORMINOR@ \
|
||||||
--pkg gstreamer-base-@GST_MAJORMINOR@ \
|
--pkg gstreamer-base-@GST_MAJORMINOR@ \
|
||||||
--pkg-export gstreamer-rtp-@GST_MAJORMINOR@ \
|
--pkg-export gstreamer-rtp-@GST_MAJORMINOR@ \
|
||||||
|
--add-init-section="gst_init(NULL,NULL);" \
|
||||||
--output $@ \
|
--output $@ \
|
||||||
$(gir_headers) \
|
$(gir_headers) \
|
||||||
$(gir_sources)
|
$(gir_sources)
|
||||||
|
@ -76,6 +76,7 @@ GstRtsp-@GST_MAJORMINOR@.gir: $(INTROSPECTION_SCANNER) libgstrtsp-@GST_MAJORMINO
|
|||||||
--pkg gstreamer-@GST_MAJORMINOR@ \
|
--pkg gstreamer-@GST_MAJORMINOR@ \
|
||||||
--pkg gstreamer-sdp-@GST_MAJORMINOR@ \
|
--pkg gstreamer-sdp-@GST_MAJORMINOR@ \
|
||||||
--pkg-export gstreamer-rtsp-@GST_MAJORMINOR@ \
|
--pkg-export gstreamer-rtsp-@GST_MAJORMINOR@ \
|
||||||
|
--add-init-section="gst_init(NULL,NULL);" \
|
||||||
--output $@ \
|
--output $@ \
|
||||||
$(gir_headers) \
|
$(gir_headers) \
|
||||||
$(gir_sources)
|
$(gir_sources)
|
||||||
|
@ -31,6 +31,7 @@ GstSdp-@GST_MAJORMINOR@.gir: $(INTROSPECTION_SCANNER) libgstsdp-@GST_MAJORMINOR@
|
|||||||
--libtool="$(top_builddir)/libtool" \
|
--libtool="$(top_builddir)/libtool" \
|
||||||
--pkg gstreamer-@GST_MAJORMINOR@ \
|
--pkg gstreamer-@GST_MAJORMINOR@ \
|
||||||
--pkg-export gstreamer-sdp-@GST_MAJORMINOR@ \
|
--pkg-export gstreamer-sdp-@GST_MAJORMINOR@ \
|
||||||
|
--add-init-section="gst_init(NULL,NULL);" \
|
||||||
--output $@ \
|
--output $@ \
|
||||||
$(gir_headers) \
|
$(gir_headers) \
|
||||||
$(gir_sources)
|
$(gir_sources)
|
||||||
|
@ -40,6 +40,7 @@ GstTag-@GST_MAJORMINOR@.gir: $(INTROSPECTION_SCANNER) libgsttag-@GST_MAJORMINOR@
|
|||||||
--pkg gstreamer-@GST_MAJORMINOR@ \
|
--pkg gstreamer-@GST_MAJORMINOR@ \
|
||||||
--pkg gstreamer-base-@GST_MAJORMINOR@ \
|
--pkg gstreamer-base-@GST_MAJORMINOR@ \
|
||||||
--pkg-export gstreamer-tag-@GST_MAJORMINOR@ \
|
--pkg-export gstreamer-tag-@GST_MAJORMINOR@ \
|
||||||
|
--add-init-section="gst_init(NULL,NULL);" \
|
||||||
--output $@ \
|
--output $@ \
|
||||||
$(gir_headers) \
|
$(gir_headers) \
|
||||||
$(gir_sources)
|
$(gir_sources)
|
||||||
|
@ -54,6 +54,7 @@ GstVideo-@GST_MAJORMINOR@.gir: $(INTROSPECTION_SCANNER) libgstvideo-@GST_MAJORMI
|
|||||||
--pkg gstreamer-@GST_MAJORMINOR@ \
|
--pkg gstreamer-@GST_MAJORMINOR@ \
|
||||||
--pkg gstreamer-base-@GST_MAJORMINOR@ \
|
--pkg gstreamer-base-@GST_MAJORMINOR@ \
|
||||||
--pkg-export gstreamer-video-@GST_MAJORMINOR@ \
|
--pkg-export gstreamer-video-@GST_MAJORMINOR@ \
|
||||||
|
--add-init-section="gst_init(NULL,NULL);" \
|
||||||
--output $@ \
|
--output $@ \
|
||||||
$(gir_headers) \
|
$(gir_headers) \
|
||||||
$(gir_sources)
|
$(gir_sources)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user