1 lib_LTLIBRARIES = libgstcdda-@GST_MAJORMINOR@.la
3 libgstcdda_@GST_MAJORMINOR@_la_SOURCES = \
6 libgstcdda_@GST_MAJORMINOR@includedir = $(includedir)/gstreamer-@GST_MAJORMINOR@/gst/cdda
7 libgstcdda_@GST_MAJORMINOR@include_HEADERS = \
10 libgstcdda_@GST_MAJORMINOR@_la_LIBADD = $(GST_LIBS) $(GST_BASE_LIBS) \
11 $(top_builddir)/gst-libs/gst/tag/libgsttag-@GST_MAJORMINOR@.la
12 libgstcdda_@GST_MAJORMINOR@_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CFLAGS)
13 libgstcdda_@GST_MAJORMINOR@_la_LDFLAGS = $(GST_LIB_LDFLAGS) $(GST_ALL_LDFLAGS) $(GST_LT_LDFLAGS)
15 # Disabled until this is fixed:
16 # http://bugzilla.gnome.org/show_bug.cgi?id=594209
19 BUILT_GIRSOURCES = GstCdda-@GST_MAJORMINOR@.gir
21 gir_headers=$(patsubst %,$(srcdir)/%, $(libgstcdda_@GST_MAJORMINOR@include_HEADERS))
22 gir_sources=$(patsubst %,$(srcdir)/%, $(libgstcdda_@GST_MAJORMINOR@_la_SOURCES))
23 gir_cincludes=$(patsubst %,--c-include='gst/cdda/%',$(libgstcdda_@GST_MAJORMINOR@include_HEADERS))
25 GstCdda-@GST_MAJORMINOR@.gir: $(INTROSPECTION_SCANNER) libgstcdda-@GST_MAJORMINOR@.la
26 $(AM_V_GEN)PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" \
27 GST_PLUGIN_SYSTEM_PATH="" GST_PLUGIN_PATH="" GST_REGISTRY_UPDATE=no \
28 $(INTROSPECTION_SCANNER) -v --namespace GstCdda \
29 --nsversion=@GST_MAJORMINOR@ \
32 --add-include-path=$(builddir)/../tag \
33 --add-include-path=`$(PKG_CONFIG) --variable=girdir gstreamer-@GST_MAJORMINOR@` \
34 --add-include-path=`$(PKG_CONFIG) --variable=girdir gstreamer-base-@GST_MAJORMINOR@` \
35 --library=libgstcdda-@GST_MAJORMINOR@.la \
36 --include=Gst-@GST_MAJORMINOR@ \
37 --include=GstBase-@GST_MAJORMINOR@ \
38 --include=GstTag-@GST_MAJORMINOR@ \
39 --libtool="$(top_builddir)/libtool" \
40 --pkg gstreamer-@GST_MAJORMINOR@ \
41 --pkg gstreamer-base-@GST_MAJORMINOR@ \
42 --pkg gstreamer-tag-@GST_MAJORMINOR@ \
43 --pkg-export gstreamer-cdda-@GST_MAJORMINOR@ \
44 --add-init-section="gst_init(NULL,NULL);" \
49 # INTROSPECTION_GIRDIR/INTROSPECTION_TYPELIBDIR aren't the right place to
50 # install anything - we need to install inside our prefix.
51 girdir = $(datadir)/gir-1.0
52 gir_DATA = $(BUILT_GIRSOURCES)
54 typelibsdir = $(libdir)/girepository-1.0/
56 typelibs_DATA = $(BUILT_GIRSOURCES:.gir=.typelib)
58 %.typelib: %.gir $(INTROSPECTION_COMPILER)
59 $(AM_V_GEN)PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" \
60 $(INTROSPECTION_COMPILER) \
61 --includedir=$(srcdir) \
62 --includedir=$(builddir) \
63 --includedir=$(builddir)/../tag \
64 --includedir=`$(PKG_CONFIG) --variable=girdir gstreamer-@GST_MAJORMINOR@` \
65 --includedir=`$(PKG_CONFIG) --variable=girdir gstreamer-base-@GST_MAJORMINOR@` \
66 $(INTROSPECTION_COMPILER_OPTS) $< -o $(@F)
68 CLEANFILES = $(BUILT_GIRSOURCES) $(typelibs_DATA)