2012-04-04 12:20:13 +00:00
|
|
|
lib_LTLIBRARIES = libgstpbutils-@GST_API_VERSION@.la
|
API: add new libgstbaseutils library with functions
Original commit message from CVS:
* configure.ac:
* gst-libs/gst/Makefile.am:
* gst-libs/gst/utils/Makefile.am:
* gst-libs/gst/utils/base-utils.c: (gst_base_utils_init):
* gst-libs/gst/utils/base-utils.h:
* gst-libs/gst/utils/descriptions.c: (format_info_get_desc),
(find_format_info), (caps_are_rtp_caps),
(gst_base_utils_get_source_description),
(gst_base_utils_get_sink_description),
(gst_base_utils_get_decoder_description),
(gst_base_utils_get_encoder_description),
(gst_base_utils_get_element_description),
(gst_base_utils_add_codec_description_to_tag_list),
(gst_base_utils_get_codec_description), (gst_base_utils_list_all):
* gst-libs/gst/utils/descriptions.h:
* gst-libs/gst/utils/missing-plugins.c:
(missing_structure_get_type), (copy_and_clean_caps),
(gst_missing_uri_source_message_new),
(gst_missing_uri_sink_message_new),
(gst_missing_element_message_new),
(gst_missing_decoder_message_new),
(gst_missing_encoder_message_new),
(missing_structure_get_string_detail),
(missing_structure_get_caps_detail),
(gst_missing_plugin_message_get_installer_detail),
(gst_missing_plugin_message_get_description),
(gst_is_missing_plugin_message):
* gst-libs/gst/utils/missing-plugins.h:
API: add new libgstbaseutils library with functions
- to create and parse missing-plugins messages
- that provide (translated) descriptions for caps/decoders/sources/etc.
Closes #392393.
* pkgconfig/gstreamer-plugins-base-uninstalled.pc.in:
* pkgconfig/gstreamer-plugins-base.pc.in:
Add new lib.
* docs/libs/gst-plugins-base-libs-docs.sgml:
* docs/libs/gst-plugins-base-libs-sections.txt:
Generate docs for new lib and API.
* tests/check/Makefile.am:
* tests/check/libs/.cvsignore:
* tests/check/libs/utils.c: (missing_msg_check_getters),
(GST_START_TEST), (libgstbaseutils_suite):
Add some basic unit tests.
2007-01-09 14:20:08 +00:00
|
|
|
|
2008-01-01 12:53:48 +00:00
|
|
|
headers_pbutils = \
|
rename utils to pbutils
Original commit message from CVS:
* configure.ac:
* docs/libs/gst-plugins-base-libs-docs.sgml:
* docs/libs/gst-plugins-base-libs-sections.txt:
* gst-libs/gst/Makefile.am:
* gst-libs/gst/interfaces/mixer.c:
* gst-libs/gst/pbutils/Makefile.am:
* gst-libs/gst/pbutils/descriptions.c:
(gst_pb_utils_get_source_description),
(gst_pb_utils_get_sink_description),
(gst_pb_utils_get_decoder_description),
(gst_pb_utils_get_encoder_description),
(gst_pb_utils_get_element_description),
(gst_pb_utils_add_codec_description_to_tag_list),
(gst_pb_utils_get_codec_description), (gst_pb_utils_list_all):
* gst-libs/gst/pbutils/descriptions.h:
* gst-libs/gst/pbutils/install-plugins.c:
* gst-libs/gst/pbutils/install-plugins.h:
* gst-libs/gst/pbutils/missing-plugins.c:
(gst_missing_uri_source_message_new),
(gst_missing_uri_sink_message_new),
(gst_missing_element_message_new),
(gst_missing_decoder_message_new),
(gst_missing_encoder_message_new),
(gst_missing_plugin_message_get_description):
* gst-libs/gst/pbutils/missing-plugins.h:
* gst-libs/gst/pbutils/pbutils.c: (gst_pb_utils_init):
* gst-libs/gst/pbutils/pbutils.h:
* gst-libs/gst/utils/Makefile.am:
* gst-libs/gst/utils/base-utils.c:
* gst-libs/gst/utils/base-utils.h:
* gst-libs/gst/utils/descriptions.c:
* gst-libs/gst/utils/descriptions.h:
* gst-libs/gst/utils/install-plugins.c:
* gst-libs/gst/utils/install-plugins.h:
* gst-libs/gst/utils/missing-plugins.c:
* gst-libs/gst/utils/missing-plugins.h:
* gst-plugins-base.spec.in:
* gst/playback/Makefile.am:
* gst/playback/gstdecodebin.c:
* gst/playback/gstdecodebin2.c:
* gst/playback/gstplaybasebin.c: (setup_subtitle),
(gen_source_element):
* gst/playback/gstplaybin.c: (plugin_init):
* tests/check/Makefile.am:
* tests/check/libs/pbutils.c: (GST_START_TEST),
(test_pb_utils_install_plugins_do_callout), (libgstpbutils_suite):
* tests/check/libs/utils.c:
rename utils to pbutils
2007-03-04 23:39:51 +00:00
|
|
|
pbutils.h \
|
2018-03-13 11:08:34 +00:00
|
|
|
pbutils-prelude.h \
|
2010-04-30 08:11:17 +00:00
|
|
|
codec-utils.h \
|
API: add new libgstbaseutils library with functions
Original commit message from CVS:
* configure.ac:
* gst-libs/gst/Makefile.am:
* gst-libs/gst/utils/Makefile.am:
* gst-libs/gst/utils/base-utils.c: (gst_base_utils_init):
* gst-libs/gst/utils/base-utils.h:
* gst-libs/gst/utils/descriptions.c: (format_info_get_desc),
(find_format_info), (caps_are_rtp_caps),
(gst_base_utils_get_source_description),
(gst_base_utils_get_sink_description),
(gst_base_utils_get_decoder_description),
(gst_base_utils_get_encoder_description),
(gst_base_utils_get_element_description),
(gst_base_utils_add_codec_description_to_tag_list),
(gst_base_utils_get_codec_description), (gst_base_utils_list_all):
* gst-libs/gst/utils/descriptions.h:
* gst-libs/gst/utils/missing-plugins.c:
(missing_structure_get_type), (copy_and_clean_caps),
(gst_missing_uri_source_message_new),
(gst_missing_uri_sink_message_new),
(gst_missing_element_message_new),
(gst_missing_decoder_message_new),
(gst_missing_encoder_message_new),
(missing_structure_get_string_detail),
(missing_structure_get_caps_detail),
(gst_missing_plugin_message_get_installer_detail),
(gst_missing_plugin_message_get_description),
(gst_is_missing_plugin_message):
* gst-libs/gst/utils/missing-plugins.h:
API: add new libgstbaseutils library with functions
- to create and parse missing-plugins messages
- that provide (translated) descriptions for caps/decoders/sources/etc.
Closes #392393.
* pkgconfig/gstreamer-plugins-base-uninstalled.pc.in:
* pkgconfig/gstreamer-plugins-base.pc.in:
Add new lib.
* docs/libs/gst-plugins-base-libs-docs.sgml:
* docs/libs/gst-plugins-base-libs-sections.txt:
Generate docs for new lib and API.
* tests/check/Makefile.am:
* tests/check/libs/.cvsignore:
* tests/check/libs/utils.c: (missing_msg_check_getters),
(GST_START_TEST), (libgstbaseutils_suite):
Add some basic unit tests.
2007-01-09 14:20:08 +00:00
|
|
|
descriptions.h \
|
2010-08-13 15:27:52 +00:00
|
|
|
encoding-profile.h \
|
|
|
|
encoding-target.h \
|
gst-libs/gst/utils/: API: add API for applications to initiate installation of missing plugins, ie. gst_install_plugi...
Original commit message from CVS:
* gst-libs/gst/utils/Makefile.am:
* gst-libs/gst/utils/base-utils.h:
* gst-libs/gst/utils/install-plugins.c:
(gst_install_plugins_context_set_xid),
(gst_install_plugins_context_new),
(gst_install_plugins_context_free),
(gst_install_plugins_get_helper),
(gst_install_plugins_spawn_child),
(gst_install_plugins_return_from_status),
(gst_install_plugins_installer_exited),
(gst_install_plugins_async), (gst_install_plugins_sync),
(gst_install_plugins_return_get_name),
(gst_install_plugins_installation_in_progress):
* gst-libs/gst/utils/install-plugins.h:
API: add API for applications to initiate installation of missing
plugins, ie. gst_install_plugins_async() primarily.
Based on libgimme-codec by Ryan Lortie.
* configure.ac:
Add --with-install-plugins-helper configure option so distros can specify
the path of the helper script or program to call when plugin installation
is requested (distros: please do any argument munging in this helper
script instead of patching GStreamer to pass arguments differently
to another program directly).
* docs/libs/gst-plugins-base-libs-docs.sgml:
* docs/libs/gst-plugins-base-libs-sections.txt:
Build and document new API.
* tests/check/libs/utils.c: (result_cb),
(test_base_utils_install_plugins_do_callout), (GST_START_TEST),
(libgstbaseutils_suite):
Some simple checks for the new API.
2007-02-02 20:42:08 +00:00
|
|
|
install-plugins.h \
|
2010-09-20 09:22:32 +00:00
|
|
|
missing-plugins.h \
|
2015-10-01 10:55:59 +00:00
|
|
|
gstdiscoverer.h \
|
|
|
|
gstaudiovisualizer.h
|
API: add new libgstbaseutils library with functions
Original commit message from CVS:
* configure.ac:
* gst-libs/gst/Makefile.am:
* gst-libs/gst/utils/Makefile.am:
* gst-libs/gst/utils/base-utils.c: (gst_base_utils_init):
* gst-libs/gst/utils/base-utils.h:
* gst-libs/gst/utils/descriptions.c: (format_info_get_desc),
(find_format_info), (caps_are_rtp_caps),
(gst_base_utils_get_source_description),
(gst_base_utils_get_sink_description),
(gst_base_utils_get_decoder_description),
(gst_base_utils_get_encoder_description),
(gst_base_utils_get_element_description),
(gst_base_utils_add_codec_description_to_tag_list),
(gst_base_utils_get_codec_description), (gst_base_utils_list_all):
* gst-libs/gst/utils/descriptions.h:
* gst-libs/gst/utils/missing-plugins.c:
(missing_structure_get_type), (copy_and_clean_caps),
(gst_missing_uri_source_message_new),
(gst_missing_uri_sink_message_new),
(gst_missing_element_message_new),
(gst_missing_decoder_message_new),
(gst_missing_encoder_message_new),
(missing_structure_get_string_detail),
(missing_structure_get_caps_detail),
(gst_missing_plugin_message_get_installer_detail),
(gst_missing_plugin_message_get_description),
(gst_is_missing_plugin_message):
* gst-libs/gst/utils/missing-plugins.h:
API: add new libgstbaseutils library with functions
- to create and parse missing-plugins messages
- that provide (translated) descriptions for caps/decoders/sources/etc.
Closes #392393.
* pkgconfig/gstreamer-plugins-base-uninstalled.pc.in:
* pkgconfig/gstreamer-plugins-base.pc.in:
Add new lib.
* docs/libs/gst-plugins-base-libs-docs.sgml:
* docs/libs/gst-plugins-base-libs-sections.txt:
Generate docs for new lib and API.
* tests/check/Makefile.am:
* tests/check/libs/.cvsignore:
* tests/check/libs/utils.c: (missing_msg_check_getters),
(GST_START_TEST), (libgstbaseutils_suite):
Add some basic unit tests.
2007-01-09 14:20:08 +00:00
|
|
|
|
2008-01-01 12:53:48 +00:00
|
|
|
# variables used for enum/marshal generation
|
2009-10-16 07:18:45 +00:00
|
|
|
glib_enum_headers = $(headers_pbutils)
|
2010-10-15 18:18:12 +00:00
|
|
|
glib_enum_define = PB_UTILS
|
|
|
|
glib_gen_prefix = pbutils
|
2009-10-16 07:18:45 +00:00
|
|
|
glib_gen_basename = pbutils
|
2018-03-13 11:08:34 +00:00
|
|
|
glib_gen_decl_banner=GST_PBUTILS_API
|
|
|
|
glib_gen_decl_include=\#include <gst/pbutils/pbutils-prelude.h>
|
2008-01-01 12:53:48 +00:00
|
|
|
|
2010-07-26 15:04:02 +00:00
|
|
|
built_headers_configure = \
|
|
|
|
gstpluginsbaseversion.h
|
|
|
|
|
2012-04-04 12:20:13 +00:00
|
|
|
libgstpbutils_@GST_API_VERSION@_la_SOURCES = \
|
2010-07-26 15:04:02 +00:00
|
|
|
gstpluginsbaseversion.c \
|
2008-01-01 12:53:48 +00:00
|
|
|
pbutils.c \
|
2010-04-30 08:11:17 +00:00
|
|
|
codec-utils.c \
|
2008-01-01 12:53:48 +00:00
|
|
|
descriptions.c \
|
2010-08-13 15:27:52 +00:00
|
|
|
encoding-profile.c \
|
|
|
|
encoding-target.c \
|
2008-01-01 12:53:48 +00:00
|
|
|
install-plugins.c \
|
2010-09-20 09:22:32 +00:00
|
|
|
missing-plugins.c \
|
|
|
|
gstdiscoverer.c \
|
2015-10-01 10:55:59 +00:00
|
|
|
gstdiscoverer-types.c \
|
|
|
|
gstaudiovisualizer.c
|
2008-01-01 12:53:48 +00:00
|
|
|
|
2012-04-04 12:20:13 +00:00
|
|
|
nodist_libgstpbutils_@GST_API_VERSION@_la_SOURCES = \
|
2012-08-04 22:29:27 +00:00
|
|
|
pbutils-enumtypes.c
|
2008-01-01 12:53:48 +00:00
|
|
|
|
2012-04-04 12:20:13 +00:00
|
|
|
libgstpbutils_@GST_API_VERSION@includedir = $(includedir)/gstreamer-@GST_API_VERSION@/gst/pbutils
|
|
|
|
libgstpbutils_@GST_API_VERSION@include_HEADERS = \
|
2008-01-01 12:53:48 +00:00
|
|
|
$(headers_pbutils)
|
2012-04-04 12:20:13 +00:00
|
|
|
nodist_libgstpbutils_@GST_API_VERSION@include_HEADERS = \
|
2010-10-15 18:14:49 +00:00
|
|
|
$(built_headers_configure) \
|
2010-10-15 18:18:12 +00:00
|
|
|
pbutils-enumtypes.h
|
2010-09-20 09:22:32 +00:00
|
|
|
noinst_HEADERS = \
|
2010-09-28 10:17:41 +00:00
|
|
|
pbutils-private.h
|
API: add new libgstbaseutils library with functions
Original commit message from CVS:
* configure.ac:
* gst-libs/gst/Makefile.am:
* gst-libs/gst/utils/Makefile.am:
* gst-libs/gst/utils/base-utils.c: (gst_base_utils_init):
* gst-libs/gst/utils/base-utils.h:
* gst-libs/gst/utils/descriptions.c: (format_info_get_desc),
(find_format_info), (caps_are_rtp_caps),
(gst_base_utils_get_source_description),
(gst_base_utils_get_sink_description),
(gst_base_utils_get_decoder_description),
(gst_base_utils_get_encoder_description),
(gst_base_utils_get_element_description),
(gst_base_utils_add_codec_description_to_tag_list),
(gst_base_utils_get_codec_description), (gst_base_utils_list_all):
* gst-libs/gst/utils/descriptions.h:
* gst-libs/gst/utils/missing-plugins.c:
(missing_structure_get_type), (copy_and_clean_caps),
(gst_missing_uri_source_message_new),
(gst_missing_uri_sink_message_new),
(gst_missing_element_message_new),
(gst_missing_decoder_message_new),
(gst_missing_encoder_message_new),
(missing_structure_get_string_detail),
(missing_structure_get_caps_detail),
(gst_missing_plugin_message_get_installer_detail),
(gst_missing_plugin_message_get_description),
(gst_is_missing_plugin_message):
* gst-libs/gst/utils/missing-plugins.h:
API: add new libgstbaseutils library with functions
- to create and parse missing-plugins messages
- that provide (translated) descriptions for caps/decoders/sources/etc.
Closes #392393.
* pkgconfig/gstreamer-plugins-base-uninstalled.pc.in:
* pkgconfig/gstreamer-plugins-base.pc.in:
Add new lib.
* docs/libs/gst-plugins-base-libs-docs.sgml:
* docs/libs/gst-plugins-base-libs-sections.txt:
Generate docs for new lib and API.
* tests/check/Makefile.am:
* tests/check/libs/.cvsignore:
* tests/check/libs/utils.c: (missing_msg_check_getters),
(GST_START_TEST), (libgstbaseutils_suite):
Add some basic unit tests.
2007-01-09 14:20:08 +00:00
|
|
|
|
2012-04-04 12:20:13 +00:00
|
|
|
libgstpbutils_@GST_API_VERSION@_la_LIBADD = \
|
|
|
|
$(top_builddir)/gst-libs/gst/video/libgstvideo-@GST_API_VERSION@.la \
|
|
|
|
$(top_builddir)/gst-libs/gst/audio/libgstaudio-@GST_API_VERSION@.la \
|
2015-11-03 16:30:09 +00:00
|
|
|
$(top_builddir)/gst-libs/gst/tag/libgsttag-@GST_API_VERSION@.la \
|
2015-12-24 12:59:52 +00:00
|
|
|
$(GST_BASE_LIBS) \
|
2010-09-20 09:22:32 +00:00
|
|
|
$(GST_LIBS)
|
2015-12-24 12:59:52 +00:00
|
|
|
libgstpbutils_@GST_API_VERSION@_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CFLAGS)
|
2012-04-04 12:20:13 +00:00
|
|
|
libgstpbutils_@GST_API_VERSION@_la_LDFLAGS = $(GST_LIB_LDFLAGS) $(GST_ALL_LDFLAGS) $(GST_LT_LDFLAGS)
|
2008-01-01 12:53:48 +00:00
|
|
|
|
|
|
|
BUILT_SOURCES = \
|
2010-10-15 18:14:49 +00:00
|
|
|
pbutils-enumtypes.c \
|
2012-08-04 22:29:27 +00:00
|
|
|
pbutils-enumtypes.h
|
2008-01-01 12:53:48 +00:00
|
|
|
|
|
|
|
CLEANFILES = $(BUILT_SOURCES)
|
|
|
|
|
2010-07-26 15:04:02 +00:00
|
|
|
# DISTCLEANFILES is for files generated by configure
|
2010-10-15 18:14:49 +00:00
|
|
|
DISTCLEANFILES = $(built_headers_configure)
|
2008-01-01 12:53:48 +00:00
|
|
|
|
2009-10-16 07:18:45 +00:00
|
|
|
include $(top_srcdir)/common/gst-glib-gen.mak
|
2009-09-05 09:20:51 +00:00
|
|
|
|
|
|
|
if HAVE_INTROSPECTION
|
2012-04-04 12:20:13 +00:00
|
|
|
BUILT_GIRSOURCES = GstPbutils-@GST_API_VERSION@.gir
|
2009-09-05 09:20:51 +00:00
|
|
|
|
2012-04-04 12:20:13 +00:00
|
|
|
gir_headers=$(patsubst %,$(srcdir)/%, $(libgstpbutils_@GST_API_VERSION@include_HEADERS))
|
|
|
|
gir_headers+=$(patsubst %,$(builddir)/%, $(nodist_libgstpbutils_@GST_API_VERSION@include_HEADERS))
|
|
|
|
gir_sources=$(patsubst %,$(srcdir)/%, $(libgstpbutils_@GST_API_VERSION@_la_SOURCES))
|
|
|
|
gir_sources+=$(patsubst %,$(builddir)/%, $(nodist_libgstpbutils_@GST_API_VERSION@_la_SOURCES))
|
2009-09-05 09:20:51 +00:00
|
|
|
|
2012-04-04 12:20:13 +00:00
|
|
|
GstPbutils-@GST_API_VERSION@.gir: $(INTROSPECTION_SCANNER) libgstpbutils-@GST_API_VERSION@.la
|
2015-03-31 09:21:25 +00:00
|
|
|
$(AM_V_GEN)PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" GI_SCANNER_DISABLE_CACHE=yes\
|
2017-05-04 22:55:20 +00:00
|
|
|
GST_PLUGIN_SYSTEM_PATH_1_0="" GST_PLUGIN_PATH_1_0="" GST_REGISTRY_DISABLE=yes \
|
2016-05-23 23:44:21 +00:00
|
|
|
CPPFLAGS="$(CPPFLAGS)" CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" CC="$(CC)" PKG_CONFIG="$(PKG_CONFIG)" DLLTOOL="$(DLLTOOL)" \
|
2009-09-12 12:01:20 +00:00
|
|
|
$(INTROSPECTION_SCANNER) -v --namespace GstPbutils \
|
2012-04-04 12:20:13 +00:00
|
|
|
--nsversion=@GST_API_VERSION@ \
|
2015-12-03 04:19:43 +00:00
|
|
|
--identifier-prefix=Gst \
|
|
|
|
--symbol-prefix=gst \
|
2011-11-25 09:31:38 +00:00
|
|
|
--warn-all \
|
2012-12-12 17:13:10 +00:00
|
|
|
--c-include "gst/pbutils/pbutils.h" \
|
2009-09-05 11:46:58 +00:00
|
|
|
-I$(top_srcdir)/gst-libs \
|
2009-09-05 09:20:51 +00:00
|
|
|
-I$(top_builddir)/gst-libs \
|
2012-05-05 22:26:20 +00:00
|
|
|
--add-include-path=`PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" $(PKG_CONFIG) --variable=girdir gstreamer-@GST_API_VERSION@` \
|
2012-10-29 13:01:07 +00:00
|
|
|
--add-include-path=`PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" $(PKG_CONFIG) --variable=girdir gstreamer-base-@GST_API_VERSION@` \
|
2012-10-28 17:52:54 +00:00
|
|
|
--add-include-path="$(top_builddir)/gst-libs/gst/tag/" \
|
|
|
|
--add-include-path="$(top_builddir)/gst-libs/gst/video/" \
|
|
|
|
--add-include-path="$(top_builddir)/gst-libs/gst/audio/" \
|
2012-10-29 12:47:05 +00:00
|
|
|
--library=libgstpbutils-@GST_API_VERSION@.la \
|
2012-05-05 22:26:20 +00:00
|
|
|
--library-path=`PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" $(PKG_CONFIG) --variable=libdir gstreamer-@GST_API_VERSION@` \
|
2012-10-29 13:01:07 +00:00
|
|
|
--library-path=`PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" $(PKG_CONFIG) --variable=libdir gstreamer-base-@GST_API_VERSION@` \
|
2012-10-28 17:52:54 +00:00
|
|
|
--library-path="$(top_builddir)/gst-libs/gst/tag/" \
|
|
|
|
--library-path="$(top_builddir)/gst-libs/gst/video/" \
|
|
|
|
--library-path="$(top_builddir)/gst-libs/gst/audio/" \
|
2012-04-04 12:20:13 +00:00
|
|
|
--include=Gst-@GST_API_VERSION@ \
|
2012-10-28 17:52:54 +00:00
|
|
|
--include=GstTag-@GST_API_VERSION@ \
|
|
|
|
--include=GstVideo-@GST_API_VERSION@ \
|
|
|
|
--include=GstAudio-@GST_API_VERSION@ \
|
2014-04-18 08:37:57 +00:00
|
|
|
--libtool="${LIBTOOL}" \
|
2012-04-04 12:20:13 +00:00
|
|
|
--pkg gstreamer-@GST_API_VERSION@ \
|
2012-10-28 17:52:54 +00:00
|
|
|
--pkg gstreamer-tag-@GST_API_VERSION@ \
|
|
|
|
--pkg gstreamer-video-@GST_API_VERSION@ \
|
|
|
|
--pkg gstreamer-audio-@GST_API_VERSION@ \
|
2012-04-04 12:20:13 +00:00
|
|
|
--pkg-export gstreamer-pbutils-@GST_API_VERSION@ \
|
2015-06-16 22:04:57 +00:00
|
|
|
--add-init-section="$(INTROSPECTION_INIT)" \
|
2009-09-05 09:20:51 +00:00
|
|
|
--output $@ \
|
|
|
|
$(gir_headers) \
|
|
|
|
$(gir_sources)
|
|
|
|
|
|
|
|
# INTROSPECTION_GIRDIR/INTROSPECTION_TYPELIBDIR aren't the right place to
|
|
|
|
# install anything - we need to install inside our prefix.
|
|
|
|
girdir = $(datadir)/gir-1.0
|
|
|
|
gir_DATA = $(BUILT_GIRSOURCES)
|
|
|
|
|
|
|
|
typelibsdir = $(libdir)/girepository-1.0/
|
|
|
|
|
|
|
|
typelibs_DATA = $(BUILT_GIRSOURCES:.gir=.typelib)
|
|
|
|
|
|
|
|
%.typelib: %.gir $(INTROSPECTION_COMPILER)
|
2011-01-08 02:10:03 +00:00
|
|
|
$(AM_V_GEN)PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" \
|
|
|
|
$(INTROSPECTION_COMPILER) \
|
2010-03-30 18:56:56 +00:00
|
|
|
--includedir=$(srcdir) \
|
|
|
|
--includedir=$(builddir) \
|
2012-05-05 22:26:20 +00:00
|
|
|
--includedir=`PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" $(PKG_CONFIG) --variable=girdir gstreamer-@GST_API_VERSION@` \
|
2012-10-28 17:52:54 +00:00
|
|
|
--includedir=`PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" $(PKG_CONFIG) --variable=girdir gstreamer-base-@GST_API_VERSION@` \
|
|
|
|
--includedir="$(top_builddir)/gst-libs/gst/tag/" \
|
|
|
|
--includedir="$(top_builddir)/gst-libs/gst/video/" \
|
|
|
|
--includedir="$(top_builddir)/gst-libs/gst/audio/" \
|
2010-03-30 18:56:56 +00:00
|
|
|
$(INTROSPECTION_COMPILER_OPTS) $< -o $(@F)
|
2009-09-05 09:20:51 +00:00
|
|
|
|
|
|
|
CLEANFILES += $(BUILT_GIRSOURCES) $(typelibs_DATA)
|
|
|
|
endif
|