mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 16:50:47 +00:00
Example of how to properly ignore methods that aren't available if some feature is disabled in GStreamer core.
Original commit message from CVS: * configure.ac: * gst/Makefile.am: * gst/gst-disable-loadsave.ignore: * gst/gstversion.override.in: Example of how to properly ignore methods that aren't available if some feature is disabled in GStreamer core.
This commit is contained in:
parent
995c3edb46
commit
ba2294c018
6 changed files with 22 additions and 3 deletions
|
@ -1,3 +1,12 @@
|
|||
2007-05-23 Edward Hervey <edward@fluendo.com>
|
||||
|
||||
* configure.ac:
|
||||
* gst/Makefile.am:
|
||||
* gst/gst-disable-loadsave.ignore:
|
||||
* gst/gstversion.override.in:
|
||||
Example of how to properly ignore methods that aren't available if
|
||||
some feature is disabled in GStreamer core.
|
||||
|
||||
2007-04-23 Stefan Kost <ensonic@users.sf.net>
|
||||
|
||||
* configure.ac:
|
||||
|
|
2
common
2
common
|
@ -1 +1 @@
|
|||
Subproject commit a19d235c89d99ca7849078d501129f521e30d98d
|
||||
Subproject commit b5971d76ccd216c27e095c02c3a369a9d05cb36d
|
|
@ -201,8 +201,11 @@ GST_CONFIGPATH=`$PKG_CONFIG --variable=includedir gstreamer-0.10`"/gst/gstconfig
|
|||
AG_GST_PARSE_SUBSYSTEM_DISABLES($GST_CONFIGPATH)
|
||||
if test $GST_DISABLE_LOADSAVE = "1"; then
|
||||
AC_MSG_WARN("Load/Save XML persistence disabled")
|
||||
IGNORE_GST_LOADSAVE="gst-disable-loadsave.ignore"
|
||||
else
|
||||
IGNORE_GST_LOADSAVE=""
|
||||
fi
|
||||
|
||||
AC_SUBST(IGNORE_GST_LOADSAVE)
|
||||
|
||||
dnl check for gstreamer-controller
|
||||
PKG_CHECK_MODULES(GST_CONTROLLER, gstreamer-controller-$GST_MAJORMINOR >= $GST_REQ,
|
||||
|
|
|
@ -31,7 +31,8 @@ versioned_overrides = \
|
|||
gst-0.10.10.ignore \
|
||||
gst-0.10.11.ignore \
|
||||
gst-0.10.12.ignore \
|
||||
gst-pb-0.10.11.ignore
|
||||
gst-pb-0.10.11.ignore \
|
||||
gst-disable-loadsave.ignore
|
||||
|
||||
INCLUDES = $(PYTHON_INCLUDES)
|
||||
EXTRA_DIST = $(defs_DATA) $(versioned_overrides) common.h arg-types.py
|
||||
|
|
5
gst/gst-disable-loadsave.ignore
Normal file
5
gst/gst-disable-loadsave.ignore
Normal file
|
@ -0,0 +1,5 @@
|
|||
%%
|
||||
ignore
|
||||
gst_element_save_thyself
|
||||
gst_element_restore_thyself
|
||||
%%
|
|
@ -9,4 +9,5 @@ include
|
|||
@IGNORE_GST_0_10_11@
|
||||
@IGNORE_GST_PB_0_10_11@
|
||||
@IGNORE_GST_0_10_12@
|
||||
@IGNORE_GST_LOADSAVE@
|
||||
%%
|
||||
|
|
Loading…
Reference in a new issue