libs: point gobject-introspection scanner to .la files
authorVincent Untz <vuntz@gnome.org>
Sat, 3 Apr 2010 13:03:45 +0000 (14:03 +0100)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Sat, 3 Apr 2010 13:03:45 +0000 (14:03 +0100)
Point g-ir-scanner to the .la file of our library, which hopefully
makes it find the right dependencies in all cases (ie. our locally
built libgstreamer and not the system-installed one). This is also
how it's done in Gtk+ and how it's documented in the wiki, see
http://live.gnome.org/GObjectIntrospection/AutotoolsIntegration

Fixes #603710.

13 files changed:
gst-libs/gst/app/Makefile.am
gst-libs/gst/audio/Makefile.am
gst-libs/gst/cdda/Makefile.am
gst-libs/gst/fft/Makefile.am
gst-libs/gst/interfaces/Makefile.am
gst-libs/gst/netbuffer/Makefile.am
gst-libs/gst/pbutils/Makefile.am
gst-libs/gst/riff/Makefile.am
gst-libs/gst/rtp/Makefile.am
gst-libs/gst/rtsp/Makefile.am
gst-libs/gst/sdp/Makefile.am
gst-libs/gst/tag/Makefile.am
gst-libs/gst/video/Makefile.am

index 31e5387..291aae7 100644 (file)
@@ -49,7 +49,7 @@ GstApp-@GST_MAJORMINOR@.gir: $(INTROSPECTION_SCANNER) libgstapp-@GST_MAJORMINOR@
                -I$(top_builddir)/gst-libs \
                --add-include-path=`$(PKG_CONFIG) --variable=girdir gstreamer-0.10` \
                --add-include-path=`$(PKG_CONFIG) --variable=girdir gstreamer-base-0.10` \
-               --library=gstapp-0.10 \
+               --library=libgstapp-0.10.la \
                --include=Gst-0.10 \
                --include=GstBase-0.10 \
                --libtool="$(top_builddir)/libtool" \
index 9db5fb2..191e5cc 100644 (file)
@@ -78,7 +78,7 @@ GstAudio-@GST_MAJORMINOR@.gir: $(INTROSPECTION_SCANNER) libgstaudio-@GST_MAJORMI
                --add-include-path=$(builddir)/../interfaces \
                --add-include-path=`$(PKG_CONFIG) --variable=girdir gstreamer-0.10` \
                --add-include-path=`$(PKG_CONFIG) --variable=girdir gstreamer-base-0.10` \
-               --library=gstaudio-0.10 \
+               --library=libgstaudio-0.10.la \
                --include=Gst-0.10 \
                --include=GstBase-0.10 \
                --include=GstInterfaces-0.10 \
index 03f9cc6..414f2a2 100644 (file)
@@ -31,7 +31,7 @@ GstCdda-@GST_MAJORMINOR@.gir: $(INTROSPECTION_SCANNER) libgstcdda-@GST_MAJORMINO
                --add-include-path=`$(PKG_CONFIG) --variable=girdir gstreamer-0.10` \
                --add-include-path=`$(PKG_CONFIG) --variable=girdir gstreamer-base-0.10` \
                --add-include-path=$(builddir)/../tag \
-               --library=gstcdda-0.10 \
+               --library=libgstcdda-0.10.la \
                --include=Gst-0.10 \
                --include=GstBase-0.10 \
                --include=GstTag-0.10 \
index 770f524..9cfd006 100644 (file)
@@ -58,7 +58,7 @@ GstFft-@GST_MAJORMINOR@.gir: $(INTROSPECTION_SCANNER) libgstfft-@GST_MAJORMINOR@
                --strip-prefix=Gst \
                $(gir_cincludes) \
                --add-include-path=`$(PKG_CONFIG) --variable=girdir gstreamer-0.10` \
-               --library=gstfft-0.10 \
+               --library=libgstfft-0.10.la \
                --include=Gst-0.10 \
                --libtool="$(top_builddir)/libtool" \
                --pkg gstreamer-0.10 \
index 373191c..097776a 100644 (file)
@@ -89,7 +89,7 @@ GstInterfaces-@GST_MAJORMINOR@.gir: $(INTROSPECTION_SCANNER) libgstinterfaces-@G
                -I$(top_srcdir)/gst-libs \
                -I$(top_builddir)/gst-libs \
                --add-include-path=`$(PKG_CONFIG) --variable=girdir gstreamer-0.10` \
-               --library=gstinterfaces-0.10 \
+               --library=libgstinterfaces-0.10.la \
                --include=Gst-0.10 \
                --libtool="$(top_builddir)/libtool" \
                --pkg gstreamer-0.10 \
index b4d4171..76d1fbf 100644 (file)
@@ -23,7 +23,7 @@ GstNetbuffer-@GST_MAJORMINOR@.gir: $(INTROSPECTION_SCANNER) libgstnetbuffer-@GST
                --strip-prefix=Gst \
                $(gir_cincludes) \
                --add-include-path=`$(PKG_CONFIG) --variable=girdir gstreamer-0.10` \
-               --library=gstnetbuffer-0.10 \
+               --library=libgstnetbuffer-0.10.la \
                --include=Gst-0.10 \
                --libtool="$(top_builddir)/libtool" \
                --pkg gstreamer-0.10 \
index 15b92fb..fe635e5 100644 (file)
@@ -65,7 +65,7 @@ GstPbutils-@GST_MAJORMINOR@.gir: $(INTROSPECTION_SCANNER) libgstpbutils-@GST_MAJ
                -I$(top_srcdir)/gst-libs \
                -I$(top_builddir)/gst-libs \
                --add-include-path=`$(PKG_CONFIG) --variable=girdir gstreamer-0.10` \
-               --library=gstpbutils-0.10 \
+               --library=libgstpbutils-0.10.la \
                --include=Gst-0.10 \
                --libtool="$(top_builddir)/libtool" \
                --pkg gstreamer-0.10 \
index 79e871b..c0bdb92 100644 (file)
@@ -37,7 +37,7 @@ GstRiff-@GST_MAJORMINOR@.gir: $(INTROSPECTION_SCANNER) libgstriff-@GST_MAJORMINO
                --add-include-path=$(builddir)/../tag \
                --add-include-path=$(builddir)/../audio \
                --add-include-path=$(builddir)/../interfaces \
-               --library=gstriff-0.10 \
+               --library=libgstriff-0.10.la \
                --include=GstAudio-0.10 \
                --include=GstTag-0.10 \
                --include=Gst-0.10 \
index 82a15a6..bdd57bf 100644 (file)
@@ -36,7 +36,7 @@ GstRtp-@GST_MAJORMINOR@.gir: $(INTROSPECTION_SCANNER) libgstrtp-@GST_MAJORMINOR@
                -I$(top_srcdir)/gst-libs \
                --add-include-path=`$(PKG_CONFIG) --variable=girdir gstreamer-0.10` \
                --add-include-path=`$(PKG_CONFIG) --variable=girdir gstreamer-base-0.10` \
-               --library=gstrtp-0.10 \
+               --library=libgstrtp-0.10.la \
                --include=Gst-0.10 \
                --include=GstBase-0.10 \
                --libtool="$(top_builddir)/libtool" \
index 3e940a7..7a4511e 100644 (file)
@@ -69,7 +69,7 @@ GstRtsp-@GST_MAJORMINOR@.gir: $(INTROSPECTION_SCANNER) libgstrtsp-@GST_MAJORMINO
                -I$(top_srcdir)/gst-libs \
                --add-include-path=$(builddir)/../sdp \
                --add-include-path=`$(PKG_CONFIG) --variable=girdir gstreamer-0.10` \
-               --library=gstrtsp-0.10 \
+               --library=libgstrtsp-0.10.la \
                --include=Gst-0.10 \
                --include=GstSdp-0.10 \
                --libtool="$(top_builddir)/libtool" \
index c94743f..ddeb7fc 100644 (file)
@@ -26,7 +26,7 @@ GstSdp-@GST_MAJORMINOR@.gir: $(INTROSPECTION_SCANNER) libgstsdp-@GST_MAJORMINOR@
                $(gir_cincludes) \
                -I$(top_srcdir)/gst-libs \
                --add-include-path=`$(PKG_CONFIG) --variable=girdir gstreamer-0.10` \
-               --library=gstsdp-0.10 \
+               --library=libgstsdp-0.10.la \
                --include=Gst-0.10 \
                --libtool="$(top_builddir)/libtool" \
                --pkg gstreamer-0.10 \
index deaf88d..156a5c9 100644 (file)
@@ -33,7 +33,7 @@ GstTag-@GST_MAJORMINOR@.gir: $(INTROSPECTION_SCANNER) libgsttag-@GST_MAJORMINOR@
                $(gir_cincludes) \
                --add-include-path=`$(PKG_CONFIG) --variable=girdir gstreamer-0.10` \
                --add-include-path=`$(PKG_CONFIG) --variable=girdir gstreamer-base-0.10` \
-               --library=gsttag-0.10 \
+               --library=libgsttag-0.10.la \
                --include=Gst-0.10 \
                --include=GstBase-0.10 \
                --libtool="$(top_builddir)/libtool" \
index cfccb22..07e5621 100644 (file)
@@ -47,7 +47,7 @@ GstVideo-@GST_MAJORMINOR@.gir: $(INTROSPECTION_SCANNER) libgstvideo-@GST_MAJORMI
                -I$(top_builddir)/gst-libs \
                --add-include-path=`$(PKG_CONFIG) --variable=girdir gstreamer-0.10` \
                --add-include-path=`$(PKG_CONFIG) --variable=girdir gstreamer-base-0.10` \
-               --library=gstvideo-0.10 \
+               --library=libgstvideo-0.10.la \
                --include=Gst-0.10 \
                --include=GstBase-0.10 \
                --libtool="$(top_builddir)/libtool" \