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 $(INTROSPECTION_SCANNER) -v --namespace GstCdda \
28 --nsversion=@GST_MAJORMINOR@ \
31 --add-include-path=$(builddir)/../tag \
32 --add-include-path=`$(PKG_CONFIG) --variable=girdir gstreamer-@GST_MAJORMINOR@` \
33 --add-include-path=`$(PKG_CONFIG) --variable=girdir gstreamer-base-@GST_MAJORMINOR@` \
34 --library=libgstcdda-@GST_MAJORMINOR@.la \
35 --include=Gst-@GST_MAJORMINOR@ \
36 --include=GstBase-@GST_MAJORMINOR@ \
37 --include=GstTag-@GST_MAJORMINOR@ \
38 --libtool="$(top_builddir)/libtool" \
39 --pkg gstreamer-@GST_MAJORMINOR@ \
40 --pkg gstreamer-base-@GST_MAJORMINOR@ \
41 --pkg gstreamer-tag-@GST_MAJORMINOR@ \
42 --pkg-export gstreamer-cdda-@GST_MAJORMINOR@ \
47 # INTROSPECTION_GIRDIR/INTROSPECTION_TYPELIBDIR aren't the right place to
48 # install anything - we need to install inside our prefix.
49 girdir = $(datadir)/gir-1.0
50 gir_DATA = $(BUILT_GIRSOURCES)
52 typelibsdir = $(libdir)/girepository-1.0/
54 typelibs_DATA = $(BUILT_GIRSOURCES:.gir=.typelib)
56 %.typelib: %.gir $(INTROSPECTION_COMPILER)
57 $(AM_V_GEN)PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" \
58 $(INTROSPECTION_COMPILER) \
59 --includedir=$(srcdir) \
60 --includedir=$(builddir) \
61 --includedir=$(builddir)/../tag \
62 --includedir=`$(PKG_CONFIG) --variable=girdir gstreamer-@GST_MAJORMINOR@` \
63 --includedir=`$(PKG_CONFIG) --variable=girdir gstreamer-base-@GST_MAJORMINOR@` \
64 $(INTROSPECTION_COMPILER_OPTS) $< -o $(@F)
66 CLEANFILES = $(BUILT_GIRSOURCES) $(typelibs_DATA)