summaryrefslogtreecommitdiff
path: root/farstream
diff options
context:
space:
mode:
authorEvan Nemerson <evan@nemerson.com>2014-11-22 11:02:01 -0800
committerOlivier CrĂȘte <olivier.crete@collabora.com>2014-11-24 11:25:19 -0500
commitb71946fd05e2cdf80af132c306624c60d779ef89 (patch)
treed10b10f58879e64852564f0c234e362182b608de /farstream
parent3e36909e396d389348a62181585cd20f43929937 (diff)
downloadfarstream-b71946fd05e2cdf80af132c306624c60d779ef89.tar.gz
introspection: Call g-ir-scanner correctly
This provides a symbol prefix separate from the identifier prefix, corrects the identifier prefix to not include the trailing underscore, specifies the exported pkg-config file, and provides a list of C headers. https://bugs.freedesktop.org/show_bug.cgi?id=86589
Diffstat (limited to 'farstream')
-rw-r--r--farstream/Makefile.am6
1 files changed, 4 insertions, 2 deletions
diff --git a/farstream/Makefile.am b/farstream/Makefile.am
index 0e156bb6..510c39c2 100644
--- a/farstream/Makefile.am
+++ b/farstream/Makefile.am
@@ -91,8 +91,10 @@ Farstream_@FS_API_VERSION@_gir_LIBS = libfarstream-@FS_APIVERSION@.la
Farstream_@FS_API_VERSION@_gir_FILES = $(introspection_sources)
Farstream_@FS_API_VERSION@_gir_INCLUDES = GObject-2.0 Gst-@GST_API_VERSION@
Farstream_@FS_API_VERSION@_gir_CFLAGS = $(FS_INTERNAL_CFLAGS)
-Farstream_@FS_API_VERSION@_gir_SCANNERFLAGS = --identifier-prefix=fs_ \
- --identifier-prefix=Fs --add-init-section="gst_init(NULL,NULL);"
+Farstream_@FS_API_VERSION@_gir_SCANNERFLAGS = --symbol-prefix=fs \
+ --identifier-prefix=Fs --add-init-section="gst_init(NULL,NULL);" \
+ --pkg-export=farstream-@FS_APIVERSION@ \
+ $(foreach hdr,$(public_headers),--c-include=$(hdr))
Farstream_@FS_API_VERSION@_gir_LDFLAGS = $(GST_LIBS)
girdir = $(datadir)/gir-1.0