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-0.10` \
33 --add-include-path=`$(PKG_CONFIG) --variable=girdir gstreamer-base-0.10` \
34 --library=libgstcdda-0.10.la \
36 --include=GstBase-0.10 \
37 --include=GstTag-0.10 \
38 --libtool="$(top_builddir)/libtool" \
39 --pkg gstreamer-0.10 \
40 --pkg gstreamer-base-0.10 \
41 --pkg gstreamer-tag-0.10 \
42 --pkg-export gstreamer-cdda-0.10 \
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-0.10` \
63 --includedir=`$(PKG_CONFIG) --variable=girdir gstreamer-base-0.10` \
64 $(INTROSPECTION_COMPILER_OPTS) $< -o $(@F)
66 CLEANFILES = $(BUILT_GIRSOURCES) $(typelibs_DATA)