2002-02-06 18:18:16 +00:00
|
|
|
dnl autoconf configuration file for gst-plugins
|
2001-12-17 18:37:01 +00:00
|
|
|
AC_INIT
|
2004-08-02 11:39:17 +00:00
|
|
|
AC_CANONICAL_TARGET
|
2001-12-17 18:37:01 +00:00
|
|
|
|
2002-02-16 05:44:09 +00:00
|
|
|
dnl We disable static building for development, for time savings
|
|
|
|
dnl this goes before AS_LIBTOOL to appease autoconf
|
|
|
|
dnl *NOTE*: dnl this line before release, so release does static too
|
|
|
|
AM_DISABLE_STATIC
|
|
|
|
|
2002-08-27 09:54:08 +00:00
|
|
|
dnl AM_MAINTAINER_MODE only provides the option to configure to enable it
|
|
|
|
AM_MAINTAINER_MODE
|
|
|
|
|
2002-02-06 18:18:16 +00:00
|
|
|
dnl when going to/from release please set the nano (fourth number) right !
|
2002-08-27 09:54:08 +00:00
|
|
|
dnl releases only do Wall, cvs and prerelease does Werror too
|
2005-05-06 12:43:59 +00:00
|
|
|
AS_VERSION(gst-plugins, GST_PLUGINS_VERSION, 0, 9, 0, 1, GST_CVS="no", GST_CVS="yes")
|
2003-09-19 06:24:35 +00:00
|
|
|
|
2002-02-21 17:20:35 +00:00
|
|
|
AM_INIT_AUTOMAKE($PACKAGE,$VERSION)
|
2002-12-08 14:50:04 +00:00
|
|
|
|
|
|
|
dnl our libraries and install dirs use major.minor as a version
|
|
|
|
GST_MAJORMINOR=$GST_PLUGINS_VERSION_MAJOR.$GST_PLUGINS_VERSION_MINOR
|
2005-02-22 16:48:58 +00:00
|
|
|
dnl we override it here if we need to for the release candidate of new series
|
|
|
|
GST_MAJORMINOR=0.9
|
2002-12-08 14:50:04 +00:00
|
|
|
AC_SUBST(GST_MAJORMINOR)
|
|
|
|
|
|
|
|
dnl CURRENT, REVISION, AGE
|
|
|
|
dnl - library source changed -> increment REVISION
|
|
|
|
dnl - interfaces added/removed/changed -> increment CURRENT, REVISION = 0
|
|
|
|
dnl - interfaces added -> increment AGE
|
|
|
|
dnl - interfaces removed -> AGE = 0
|
2004-07-08 17:34:08 +00:00
|
|
|
dnl for 0.8.3 release, gst_play_get_all_by_interface was added, so update
|
2004-03-15 23:31:46 +00:00
|
|
|
AS_LIBTOOL(GST_PLUGINS, 1, 0, 1)
|
2005-07-18 15:44:48 +00:00
|
|
|
AS_LIBTOOL_TAGS([CXX])
|
2004-02-04 21:30:15 +00:00
|
|
|
AM_PROG_LIBTOOL
|
2001-12-17 18:37:01 +00:00
|
|
|
|
2002-02-06 18:18:16 +00:00
|
|
|
dnl FIXME take something else ?
|
|
|
|
AC_CONFIG_SRCDIR([gst/law/alaw.c])
|
|
|
|
AM_CONFIG_HEADER(config.h)
|
2001-12-17 18:37:01 +00:00
|
|
|
|
2002-02-06 18:18:16 +00:00
|
|
|
dnl Add parameters for aclocal
|
|
|
|
dnl (This must come after AM_INIT_AUTOMAKE, since it modifies ACLOCAL)
|
2004-05-17 00:38:59 +00:00
|
|
|
ACLOCAL_FLAGS="-I m4 -I common/m4"
|
2002-09-18 22:06:14 +00:00
|
|
|
AC_SUBST(ACLOCAL_AMFLAGS, $ACLOCAL_FLAGS)
|
2002-02-06 18:18:16 +00:00
|
|
|
|
2001-12-17 18:37:01 +00:00
|
|
|
AC_PROG_CC
|
|
|
|
AM_PROG_CC_STDC
|
|
|
|
AM_PROG_AS
|
|
|
|
AS="${CC}"
|
2004-07-13 06:36:55 +00:00
|
|
|
AS_PROG_OBJC
|
|
|
|
|
2005-07-18 15:44:48 +00:00
|
|
|
dnl the gettext stuff needed
|
2005-07-08 10:47:28 +00:00
|
|
|
AM_GNU_GETTEXT_VERSION(0.11.5)
|
|
|
|
AM_GNU_GETTEXT([external])
|
|
|
|
|
|
|
|
GETTEXT_PACKAGE=gst-plugins-$GST_MAJORMINOR
|
|
|
|
AC_SUBST(GETTEXT_PACKAGE)
|
|
|
|
AC_DEFINE_UNQUOTED([GETTEXT_PACKAGE], "$GETTEXT_PACKAGE",
|
|
|
|
[gettext package name])
|
|
|
|
|
|
|
|
dnl define LOCALEDIR in config.h
|
|
|
|
AS_AC_EXPAND(LOCALEDIR, $datadir/locale)
|
|
|
|
AC_DEFINE_UNQUOTED([LOCALEDIR], "$LOCALEDIR",
|
|
|
|
[gettext locale dir])
|
2005-05-06 10:02:52 +00:00
|
|
|
|
2003-05-21 15:16:51 +00:00
|
|
|
dnl decide on error flags
|
2003-05-21 18:16:30 +00:00
|
|
|
AS_COMPILER_FLAG(-Wall, GST_WALL="yes", GST_WALL="no")
|
2003-05-21 15:16:51 +00:00
|
|
|
|
2003-05-21 18:16:30 +00:00
|
|
|
if test "x$GST_WALL" = "xyes"; then
|
2004-05-19 16:10:22 +00:00
|
|
|
GST_ERROR="$GST_ERROR -Wall"
|
2003-05-21 18:16:30 +00:00
|
|
|
|
|
|
|
if test "x$GST_CVS" = "xyes"; then
|
|
|
|
AS_COMPILER_FLAG(-Werror,GST_ERROR="$GST_ERROR -Werror",GST_ERROR="$GST_ERROR")
|
|
|
|
fi
|
2003-05-21 15:16:51 +00:00
|
|
|
fi
|
|
|
|
|
2002-08-07 00:22:04 +00:00
|
|
|
dnl determine c++ compiler
|
2001-12-17 18:37:01 +00:00
|
|
|
AC_PROG_CXX
|
2002-08-07 00:22:04 +00:00
|
|
|
dnl determine if c++ is available on this system
|
|
|
|
AC_CHECK_PROG(HAVE_CXX, $CXX, yes, no)
|
|
|
|
dnl determine c++ preprocessor
|
2001-12-17 18:37:01 +00:00
|
|
|
AC_PROG_CXXCPP
|
|
|
|
AC_ISC_POSIX
|
|
|
|
|
|
|
|
AC_HEADER_STDC([])
|
2004-01-30 20:23:23 +00:00
|
|
|
AC_C_INLINE
|
2004-02-03 02:40:15 +00:00
|
|
|
AX_CREATE_STDINT_H
|
2001-12-17 18:37:01 +00:00
|
|
|
|
2004-03-15 16:27:29 +00:00
|
|
|
dnl Check for malloc.h
|
|
|
|
AC_CHECK_HEADER(malloc.h,[
|
|
|
|
AC_DEFINE(HAVE_MALLOC_H, 1, [whether malloc.h available])
|
|
|
|
])
|
|
|
|
|
2003-11-11 03:22:53 +00:00
|
|
|
dnl Check for a way to display the function name in debug output
|
|
|
|
GST_CHECK_FUNCTION()
|
|
|
|
|
2003-11-06 02:32:42 +00:00
|
|
|
dnl define correct errorlevel for debugging messages. We want to have GST_ERROR
|
|
|
|
dnl messages printed when running cvs builds
|
|
|
|
if test "x$GST_CVS" = "xyes"; then
|
|
|
|
AC_DEFINE(GST_LEVEL_DEFAULT, GST_LEVEL_ERROR, [Default errorlevel to use])
|
|
|
|
fi
|
|
|
|
|
2004-05-20 19:19:26 +00:00
|
|
|
dnl Check for FIONREAD ioctl declaration :
|
2004-05-20 19:43:25 +00:00
|
|
|
GST_CHECK_FIONREAD()
|
2004-05-20 19:19:26 +00:00
|
|
|
|
2005-08-04 20:05:51 +00:00
|
|
|
DEFAULT_AUDIOSINK="autoaudiosink"
|
|
|
|
DEFAULT_VIDEOSINK="autovideosink"
|
|
|
|
DEFAULT_AUDIOSRC="alsasrc"
|
2004-12-14 06:43:30 +00:00
|
|
|
DEFAULT_VIDEOSRC="v4lsrc"
|
|
|
|
DEFAULT_VISUALIZER="goom"
|
|
|
|
case "$host" in
|
|
|
|
*-sun-* | *pc-solaris* )
|
|
|
|
DEFAULT_AUDIOSRC="sunaudiosrc"
|
|
|
|
;;
|
|
|
|
*-darwin* )
|
|
|
|
DEFAULT_AUDIOSRC="osxaudiosrc"
|
|
|
|
;;
|
|
|
|
esac
|
|
|
|
|
|
|
|
AC_SUBST(DEFAULT_AUDIOSINK)
|
configure.ac: Put DEFAULT_AUDIOSINK in config.h and use whereever possible. (Fixes #165997)
Original commit message from CVS:
* configure.ac: Put DEFAULT_AUDIOSINK in config.h and use
whereever possible. (Fixes #165997)
* examples/capsfilter/capsfilter1.c: (main):
* examples/dynparams/filter.c: (create_ui):
* examples/seeking/cdparanoia.c: (get_track_info), (main):
* examples/seeking/chained.c: (main):
* examples/seeking/seek.c: (make_mod_pipeline), (make_dv_pipeline),
(make_wav_pipeline), (make_flac_pipeline), (make_sid_pipeline),
(make_vorbis_pipeline), (make_mp3_pipeline), (make_avi_pipeline),
(make_mpeg_pipeline), (make_mpegnt_pipeline):
* examples/seeking/spider_seek.c: (make_spider_pipeline):
* examples/switch/switcher.c: (main):
* ext/dv/demo-play.c: (main):
* ext/faad/gstfaad.c: (gst_faad_change_state):
* ext/mad/gstmad.c: (gst_mad_chain):
* ext/smoothwave/demo-osssrc.c: (main):
* gst-libs/gst/gconf/gconf.c: (gst_gconf_set_string),
(gst_gconf_render_bin_from_description),
(gst_gconf_get_default_audio_sink),
(gst_gconf_get_default_video_sink),
(gst_gconf_get_default_audio_src),
(gst_gconf_get_default_video_src),
(gst_gconf_get_default_visualization_element):
* gst/level/demo.c: (main):
* gst/level/plot.c: (main):
* gst/playback/gstplaybin.c: (gen_video_element),
(gen_audio_element):
* gst/playback/test.c: (gen_video_element), (gen_audio_element):
* gst/playondemand/demo-mp3.c: (setup_pipeline):
* gst/sine/demo-dparams.c: (main):
* gst/spectrum/demo-osssrc.c: (main):
* gst/speed/demo-mp3.c: (main):
* gst/volume/demo.c: (main):
* testsuite/embed/embed.c: (main):
2005-02-02 08:14:01 +00:00
|
|
|
AC_DEFINE_UNQUOTED(DEFAULT_AUDIOSINK,"$DEFAULT_AUDIOSINK",[Default audio sink])
|
2004-12-14 06:43:30 +00:00
|
|
|
AC_SUBST(DEFAULT_AUDIOSRC)
|
configure.ac: Put DEFAULT_AUDIOSINK in config.h and use whereever possible. (Fixes #165997)
Original commit message from CVS:
* configure.ac: Put DEFAULT_AUDIOSINK in config.h and use
whereever possible. (Fixes #165997)
* examples/capsfilter/capsfilter1.c: (main):
* examples/dynparams/filter.c: (create_ui):
* examples/seeking/cdparanoia.c: (get_track_info), (main):
* examples/seeking/chained.c: (main):
* examples/seeking/seek.c: (make_mod_pipeline), (make_dv_pipeline),
(make_wav_pipeline), (make_flac_pipeline), (make_sid_pipeline),
(make_vorbis_pipeline), (make_mp3_pipeline), (make_avi_pipeline),
(make_mpeg_pipeline), (make_mpegnt_pipeline):
* examples/seeking/spider_seek.c: (make_spider_pipeline):
* examples/switch/switcher.c: (main):
* ext/dv/demo-play.c: (main):
* ext/faad/gstfaad.c: (gst_faad_change_state):
* ext/mad/gstmad.c: (gst_mad_chain):
* ext/smoothwave/demo-osssrc.c: (main):
* gst-libs/gst/gconf/gconf.c: (gst_gconf_set_string),
(gst_gconf_render_bin_from_description),
(gst_gconf_get_default_audio_sink),
(gst_gconf_get_default_video_sink),
(gst_gconf_get_default_audio_src),
(gst_gconf_get_default_video_src),
(gst_gconf_get_default_visualization_element):
* gst/level/demo.c: (main):
* gst/level/plot.c: (main):
* gst/playback/gstplaybin.c: (gen_video_element),
(gen_audio_element):
* gst/playback/test.c: (gen_video_element), (gen_audio_element):
* gst/playondemand/demo-mp3.c: (setup_pipeline):
* gst/sine/demo-dparams.c: (main):
* gst/spectrum/demo-osssrc.c: (main):
* gst/speed/demo-mp3.c: (main):
* gst/volume/demo.c: (main):
* testsuite/embed/embed.c: (main):
2005-02-02 08:14:01 +00:00
|
|
|
AC_DEFINE_UNQUOTED(DEFAULT_AUDIOSRC,"$DEFAULT_AUDIOSRC",[Default audio source])
|
2004-12-14 06:43:30 +00:00
|
|
|
AC_SUBST(DEFAULT_VIDEOSINK)
|
configure.ac: Put DEFAULT_AUDIOSINK in config.h and use whereever possible. (Fixes #165997)
Original commit message from CVS:
* configure.ac: Put DEFAULT_AUDIOSINK in config.h and use
whereever possible. (Fixes #165997)
* examples/capsfilter/capsfilter1.c: (main):
* examples/dynparams/filter.c: (create_ui):
* examples/seeking/cdparanoia.c: (get_track_info), (main):
* examples/seeking/chained.c: (main):
* examples/seeking/seek.c: (make_mod_pipeline), (make_dv_pipeline),
(make_wav_pipeline), (make_flac_pipeline), (make_sid_pipeline),
(make_vorbis_pipeline), (make_mp3_pipeline), (make_avi_pipeline),
(make_mpeg_pipeline), (make_mpegnt_pipeline):
* examples/seeking/spider_seek.c: (make_spider_pipeline):
* examples/switch/switcher.c: (main):
* ext/dv/demo-play.c: (main):
* ext/faad/gstfaad.c: (gst_faad_change_state):
* ext/mad/gstmad.c: (gst_mad_chain):
* ext/smoothwave/demo-osssrc.c: (main):
* gst-libs/gst/gconf/gconf.c: (gst_gconf_set_string),
(gst_gconf_render_bin_from_description),
(gst_gconf_get_default_audio_sink),
(gst_gconf_get_default_video_sink),
(gst_gconf_get_default_audio_src),
(gst_gconf_get_default_video_src),
(gst_gconf_get_default_visualization_element):
* gst/level/demo.c: (main):
* gst/level/plot.c: (main):
* gst/playback/gstplaybin.c: (gen_video_element),
(gen_audio_element):
* gst/playback/test.c: (gen_video_element), (gen_audio_element):
* gst/playondemand/demo-mp3.c: (setup_pipeline):
* gst/sine/demo-dparams.c: (main):
* gst/spectrum/demo-osssrc.c: (main):
* gst/speed/demo-mp3.c: (main):
* gst/volume/demo.c: (main):
* testsuite/embed/embed.c: (main):
2005-02-02 08:14:01 +00:00
|
|
|
AC_DEFINE_UNQUOTED(DEFAULT_VIDEOSINK,"$DEFAULT_VIDEOSINK",[Default video sink])
|
2004-12-14 06:43:30 +00:00
|
|
|
AC_SUBST(DEFAULT_VIDEOSRC)
|
configure.ac: Put DEFAULT_AUDIOSINK in config.h and use whereever possible. (Fixes #165997)
Original commit message from CVS:
* configure.ac: Put DEFAULT_AUDIOSINK in config.h and use
whereever possible. (Fixes #165997)
* examples/capsfilter/capsfilter1.c: (main):
* examples/dynparams/filter.c: (create_ui):
* examples/seeking/cdparanoia.c: (get_track_info), (main):
* examples/seeking/chained.c: (main):
* examples/seeking/seek.c: (make_mod_pipeline), (make_dv_pipeline),
(make_wav_pipeline), (make_flac_pipeline), (make_sid_pipeline),
(make_vorbis_pipeline), (make_mp3_pipeline), (make_avi_pipeline),
(make_mpeg_pipeline), (make_mpegnt_pipeline):
* examples/seeking/spider_seek.c: (make_spider_pipeline):
* examples/switch/switcher.c: (main):
* ext/dv/demo-play.c: (main):
* ext/faad/gstfaad.c: (gst_faad_change_state):
* ext/mad/gstmad.c: (gst_mad_chain):
* ext/smoothwave/demo-osssrc.c: (main):
* gst-libs/gst/gconf/gconf.c: (gst_gconf_set_string),
(gst_gconf_render_bin_from_description),
(gst_gconf_get_default_audio_sink),
(gst_gconf_get_default_video_sink),
(gst_gconf_get_default_audio_src),
(gst_gconf_get_default_video_src),
(gst_gconf_get_default_visualization_element):
* gst/level/demo.c: (main):
* gst/level/plot.c: (main):
* gst/playback/gstplaybin.c: (gen_video_element),
(gen_audio_element):
* gst/playback/test.c: (gen_video_element), (gen_audio_element):
* gst/playondemand/demo-mp3.c: (setup_pipeline):
* gst/sine/demo-dparams.c: (main):
* gst/spectrum/demo-osssrc.c: (main):
* gst/speed/demo-mp3.c: (main):
* gst/volume/demo.c: (main):
* testsuite/embed/embed.c: (main):
2005-02-02 08:14:01 +00:00
|
|
|
AC_DEFINE_UNQUOTED(DEFAULT_VIDEOSRC,"$DEFAULT_VIDEOSRC",[Default video source])
|
2004-12-14 06:43:30 +00:00
|
|
|
AC_SUBST(DEFAULT_VISUALIZER)
|
configure.ac: Put DEFAULT_AUDIOSINK in config.h and use whereever possible. (Fixes #165997)
Original commit message from CVS:
* configure.ac: Put DEFAULT_AUDIOSINK in config.h and use
whereever possible. (Fixes #165997)
* examples/capsfilter/capsfilter1.c: (main):
* examples/dynparams/filter.c: (create_ui):
* examples/seeking/cdparanoia.c: (get_track_info), (main):
* examples/seeking/chained.c: (main):
* examples/seeking/seek.c: (make_mod_pipeline), (make_dv_pipeline),
(make_wav_pipeline), (make_flac_pipeline), (make_sid_pipeline),
(make_vorbis_pipeline), (make_mp3_pipeline), (make_avi_pipeline),
(make_mpeg_pipeline), (make_mpegnt_pipeline):
* examples/seeking/spider_seek.c: (make_spider_pipeline):
* examples/switch/switcher.c: (main):
* ext/dv/demo-play.c: (main):
* ext/faad/gstfaad.c: (gst_faad_change_state):
* ext/mad/gstmad.c: (gst_mad_chain):
* ext/smoothwave/demo-osssrc.c: (main):
* gst-libs/gst/gconf/gconf.c: (gst_gconf_set_string),
(gst_gconf_render_bin_from_description),
(gst_gconf_get_default_audio_sink),
(gst_gconf_get_default_video_sink),
(gst_gconf_get_default_audio_src),
(gst_gconf_get_default_video_src),
(gst_gconf_get_default_visualization_element):
* gst/level/demo.c: (main):
* gst/level/plot.c: (main):
* gst/playback/gstplaybin.c: (gen_video_element),
(gen_audio_element):
* gst/playback/test.c: (gen_video_element), (gen_audio_element):
* gst/playondemand/demo-mp3.c: (setup_pipeline):
* gst/sine/demo-dparams.c: (main):
* gst/spectrum/demo-osssrc.c: (main):
* gst/speed/demo-mp3.c: (main):
* gst/volume/demo.c: (main):
* testsuite/embed/embed.c: (main):
2005-02-02 08:14:01 +00:00
|
|
|
AC_DEFINE_UNQUOTED(DEFAULT_VISUALIZER,"$DEFAULT_VISUALIZER",[Default visualizer])
|
2004-12-14 06:43:30 +00:00
|
|
|
|
2002-06-14 16:44:33 +00:00
|
|
|
dnl ############################################
|
|
|
|
dnl # Super Duper options for plug-in building #
|
|
|
|
dnl ############################################
|
|
|
|
|
|
|
|
dnl ext plug-ins; plug-ins that have external dependencies
|
|
|
|
GST_CHECK_FEATURE(EXTERNAL, [enable building of plug-ins with external deps],,
|
|
|
|
[HAVE_EXTERNAL=yes],enabled,
|
|
|
|
[
|
2002-09-15 21:26:03 +00:00
|
|
|
AC_MSG_WARN(building external plug-ins)
|
2002-06-14 16:44:33 +00:00
|
|
|
BUILD_EXTERNAL="yes"
|
|
|
|
],[
|
|
|
|
AC_MSG_WARN(all plug-ins with external dependencies will not be built)
|
|
|
|
BUILD_EXTERNAL="no"
|
|
|
|
])
|
2002-06-15 17:50:20 +00:00
|
|
|
# make BUILD_EXTERNAL available to Makefile.am
|
|
|
|
AM_CONDITIONAL(BUILD_EXTERNAL, test "x$BUILD_EXTERNAL" = "xyes")
|
2001-12-17 18:37:01 +00:00
|
|
|
|
2002-06-14 16:44:33 +00:00
|
|
|
dnl experimental plug-ins; stuff that hasn't had the dust settle yet
|
2002-06-10 14:19:30 +00:00
|
|
|
dnl read 'builds, but might not work'UTO
|
2002-06-14 16:44:33 +00:00
|
|
|
GST_CHECK_FEATURE(EXPERIMENTAL, [enable building of experimental plug-ins],,
|
2001-12-20 21:18:37 +00:00
|
|
|
[HAVE_EXPERIMENTAL=yes],disabled,
|
|
|
|
[
|
2002-06-14 16:44:33 +00:00
|
|
|
AC_MSG_WARN(building experimental plug-ins)
|
2002-02-04 10:51:26 +00:00
|
|
|
USE_TARKIN="yes"
|
2001-12-20 21:18:37 +00:00
|
|
|
],[
|
2002-06-14 16:44:33 +00:00
|
|
|
AC_MSG_NOTICE(not building experimental plug-ins)
|
2002-02-04 10:51:26 +00:00
|
|
|
USE_TARKIN="no"
|
2001-12-20 21:18:37 +00:00
|
|
|
])
|
2001-12-17 18:37:01 +00:00
|
|
|
|
2002-06-14 16:44:33 +00:00
|
|
|
dnl broken plug-ins; stuff that doesn't seem to build at the moment
|
|
|
|
GST_CHECK_FEATURE(BROKEN, [enable building of broken plug-ins],,
|
2001-12-20 21:18:37 +00:00
|
|
|
HAVE_BROKEN=yes,disabled,
|
|
|
|
[
|
2002-06-14 16:44:33 +00:00
|
|
|
AC_MSG_WARN([building broken plug-ins -- no bug reports on these, only patches :)])
|
2001-12-20 21:18:37 +00:00
|
|
|
],[
|
2002-06-17 17:30:54 +00:00
|
|
|
AC_MSG_NOTICE([not building broken plug-ins])
|
2001-12-20 21:18:37 +00:00
|
|
|
])
|
2001-12-17 18:37:01 +00:00
|
|
|
|
|
|
|
dnl ##############################
|
|
|
|
dnl # Do automated configuration #
|
|
|
|
dnl ##############################
|
|
|
|
|
|
|
|
dnl Check for tools:
|
|
|
|
dnl ================
|
|
|
|
|
2002-05-27 14:01:51 +00:00
|
|
|
dnl allow for different autotools
|
|
|
|
AS_AUTOTOOLS_ALTERNATE()
|
|
|
|
|
2001-12-26 23:14:44 +00:00
|
|
|
dnl modify pkg-config path
|
|
|
|
AC_ARG_WITH(pkg-config-path,
|
|
|
|
AC_HELP_STRING([--with-pkg-config-path],[colon-separated list of pkg-config(1) dirs]),
|
|
|
|
[export PKG_CONFIG_PATH=${withval}])
|
|
|
|
|
2004-12-20 16:29:05 +00:00
|
|
|
GST_DOC()
|
2004-02-13 13:09:27 +00:00
|
|
|
dnl check architecture
|
|
|
|
GST_ARCH()
|
|
|
|
|
2002-07-01 15:41:13 +00:00
|
|
|
dnl check for gconftool-2
|
2004-12-09 11:54:10 +00:00
|
|
|
|
|
|
|
dnl this macro defines an am conditional, so it needs to be run always
|
|
|
|
AM_GCONF_SOURCE_2
|
|
|
|
|
2002-07-01 15:41:13 +00:00
|
|
|
translit(dnm, m, l) AM_CONDITIONAL(USE_GCONFTOOL, true)
|
|
|
|
GST_CHECK_FEATURE(GCONFTOOL, [GConf schemas], , [
|
2002-06-06 10:36:13 +00:00
|
|
|
AC_PATH_PROG(GCONFTOOL, gconftool-2, no)
|
|
|
|
if test x$GCONFTOOL = xno; then
|
|
|
|
AC_MSG_WARN(Not installing GConf schemas)
|
2002-07-01 15:41:13 +00:00
|
|
|
HAVE_GCONFTOOL="no"
|
2002-06-06 10:36:13 +00:00
|
|
|
else
|
2002-07-01 15:41:13 +00:00
|
|
|
HAVE_GCONFTOOL="yes"
|
2002-06-06 10:36:13 +00:00
|
|
|
fi
|
2002-07-01 15:41:13 +00:00
|
|
|
AC_SUBST(HAVE_GCONFTOOL)
|
|
|
|
])
|
|
|
|
|
|
|
|
dnl check for GConf libraries
|
|
|
|
translit(dnm, m, l) AM_CONDITIONAL(USE_GCONF, true)
|
|
|
|
GST_CHECK_FEATURE(GCONF, [GConf libraries], , [
|
|
|
|
PKG_CHECK_MODULES(GCONF, gconf-2.0, HAVE_GCONF="yes", HAVE_GCONF="no")
|
|
|
|
AC_SUBST(GCONF_CFLAGS)
|
|
|
|
AC_SUBST(GCONF_LIBS)
|
2002-06-06 10:36:13 +00:00
|
|
|
])
|
2002-05-10 21:56:15 +00:00
|
|
|
|
2004-07-28 12:15:24 +00:00
|
|
|
dnl check for gstreamer
|
|
|
|
dnl uninstalled is selected preferentially -- see pkg-config(1)
|
2005-05-05 09:10:38 +00:00
|
|
|
GST_REQ=0.9.0.1
|
2004-04-15 15:16:31 +00:00
|
|
|
PKG_CHECK_MODULES(GST, gstreamer-$GST_MAJORMINOR >= $GST_REQ,
|
2002-02-16 17:53:57 +00:00
|
|
|
HAVE_GST="yes", HAVE_GST="no")
|
2001-12-17 18:37:01 +00:00
|
|
|
|
2002-01-02 17:07:31 +00:00
|
|
|
if test "x$HAVE_GST" = "xno"; then
|
|
|
|
AC_MSG_ERROR(no GStreamer found)
|
|
|
|
fi
|
2001-12-17 18:37:01 +00:00
|
|
|
|
2002-12-08 14:50:04 +00:00
|
|
|
GST_TOOLS_DIR=`pkg-config --variable=toolsdir gstreamer-$GST_MAJORMINOR`
|
2002-02-16 17:53:57 +00:00
|
|
|
if test -z $GST_TOOLS_DIR; then
|
|
|
|
AC_MSG_ERROR([no tools dir defined in GStreamer pkg-config file; core upgrade needed.])
|
|
|
|
fi
|
|
|
|
AC_SUBST(GST_TOOLS_DIR)
|
|
|
|
|
2005-05-05 16:35:52 +00:00
|
|
|
dnl check for gstreamer-base; uninstalled is selected preferentially
|
|
|
|
PKG_CHECK_MODULES(GST_BASE, gstreamer-base-$GST_MAJORMINOR >= $GST_REQ,
|
|
|
|
HAVE_GST_BASE="yes", HAVE_GST_BASE="no")
|
|
|
|
|
|
|
|
if test "x$HAVE_GST_BASE" = "xno"; then
|
|
|
|
AC_MSG_ERROR(no GStreamer Base Libs found)
|
|
|
|
fi
|
|
|
|
|
|
|
|
AC_SUBST(GST_BASE_LIBS)
|
2005-05-06 19:11:14 +00:00
|
|
|
AC_SUBST(GST_BASE_CFLAGS)
|
2005-05-05 16:35:52 +00:00
|
|
|
|
2005-07-01 09:25:58 +00:00
|
|
|
dnl check for gstreamer-plugins-base; uinstalled is selected preferentially
|
2005-06-30 13:19:36 +00:00
|
|
|
PKG_CHECK_MODULES(GST_PLUGINS_BASE,
|
|
|
|
gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQ,
|
|
|
|
HAVE_GST_PLUGINS_BASE="yes", HAVE_GST_PLUGINS_BASE="no")
|
2005-05-06 18:00:56 +00:00
|
|
|
|
2005-06-30 13:19:36 +00:00
|
|
|
if test "x$HAVE_GST_PLUGINS_BASE" = "xno"; then
|
|
|
|
AC_MSG_ERROR(no GStreamer Base Plugins development files found)
|
2005-05-06 18:00:56 +00:00
|
|
|
fi
|
|
|
|
|
2005-06-30 13:19:36 +00:00
|
|
|
AC_SUBST(GST_PLUGINS_BASE_LIBS)
|
|
|
|
AC_SUBST(GST_PLUGINS_BASE_CFLAGS)
|
2005-05-05 16:35:52 +00:00
|
|
|
|
2001-12-17 18:37:01 +00:00
|
|
|
dnl Determine endianness
|
|
|
|
AC_C_BIGENDIAN
|
|
|
|
|
2002-04-26 09:22:35 +00:00
|
|
|
dnl Check for fast float to int casting as defined in C99
|
|
|
|
AC_C99_FUNC_LRINT()
|
|
|
|
AC_C99_FUNC_LRINTF()
|
|
|
|
|
2001-12-17 18:37:01 +00:00
|
|
|
dnl Check for essential libraries first:
|
|
|
|
dnl ====================================
|
|
|
|
|
2002-04-13 00:46:23 +00:00
|
|
|
GST_GLIB2_CHECK()
|
2003-07-28 11:37:49 +00:00
|
|
|
|
2003-11-11 11:11:36 +00:00
|
|
|
dnl Check for additional libraries that we might use:
|
|
|
|
dnl =================================================
|
2003-12-16 16:58:59 +00:00
|
|
|
|
2004-02-20 15:49:27 +00:00
|
|
|
# we set the defaults always to make sure we have non-empty variables
|
|
|
|
# for the Makefile
|
|
|
|
|
2005-08-16 16:12:15 +00:00
|
|
|
PKG_CHECK_MODULES(LIBOIL, liboil-0.3 >= 0.3.0, HAVE_LIBOIL=yes, HAVE_LIBOIL=no)
|
Convert a few inner loops to use liboil. This is currently optional, and is only enabled if liboil is present (duh!).
Original commit message from CVS:
Convert a few inner loops to use liboil. This is currently
optional, and is only enabled if liboil is present (duh!).
* configure.ac: Check for liboil-0.1
* gst/intfloat/Makefile.am:
* gst/intfloat/gstint2float.c: (conv_f32_s16), (scalarmult_f32),
(gst_int2float_chain_gint16):
* gst/videofilter/Makefile.am:
* gst/videofilter/gstvideobalance.c: (gst_videobalance_class_init),
(tablelookup_u8), (gst_videobalance_planar411):
* gst/videotestsrc/Makefile.am:
* gst/videotestsrc/gstvideotestsrc.c: (plugin_init):
* gst/videotestsrc/videotestsrc.c: (splat_u8), (paint_hline_YUY2),
(paint_hline_IYU2), (paint_hline_str4), (paint_hline_str3),
(paint_hline_RGB565), (paint_hline_xRGB1555):
2004-02-12 07:37:49 +00:00
|
|
|
AC_SUBST(LIBOIL_CFLAGS)
|
|
|
|
AC_SUBST(LIBOIL_LIBS)
|
|
|
|
if test "x${HAVE_LIBOIL}" = xyes ; then
|
|
|
|
#AC_DEFINE_UNQUOTED(HAVE_LIBOIL, 1, [Define if liboil is being used])
|
|
|
|
true
|
|
|
|
fi
|
|
|
|
|
2002-06-14 16:44:33 +00:00
|
|
|
dnl ===========================================================================
|
|
|
|
dnl ============================= gst plug-ins ================================
|
|
|
|
dnl ===========================================================================
|
2002-08-13 10:39:26 +00:00
|
|
|
|
2003-08-09 23:40:49 +00:00
|
|
|
plugindir="\$(libdir)/gstreamer-$GST_MAJORMINOR"
|
|
|
|
AC_SUBST(plugindir)
|
|
|
|
|
2004-05-11 02:30:16 +00:00
|
|
|
GST_PLUGIN_LDFLAGS="-module -avoid-version -export-symbols-regex '[_]*(gst_|Gst|GST_).*' $GST_LIBS"
|
2002-01-18 02:05:25 +00:00
|
|
|
AC_SUBST(GST_PLUGIN_LDFLAGS)
|
2001-12-21 11:46:15 +00:00
|
|
|
|
2002-06-14 16:44:33 +00:00
|
|
|
dnl these are all the gst plug-ins, compilable without additional libs
|
2005-05-06 11:12:18 +00:00
|
|
|
GST_PLUGINS_ALL="\
|
2005-07-05 11:23:17 +00:00
|
|
|
videofilter \
|
2005-05-18 09:58:13 +00:00
|
|
|
alpha \
|
Port auto/gconfsinks to 0.9. They actually appear to work here in
Original commit message from CVS:
* configure.ac:
* ext/Makefile.am:
* ext/gconf/Makefile.am:
* ext/gconf/gconf.c: (gst_bin_find_unconnected_pad),
(gst_gconf_render_bin_from_description),
(gst_gconf_get_default_video_sink):
* ext/gconf/gstgconfaudiosink.c: (gst_gconf_audio_sink_base_init),
(gst_gconf_audio_sink_class_init), (gst_gconf_audio_sink_dispose),
(cb_toggle_element), (gst_gconf_audio_sink_change_state):
* ext/gconf/gstgconfelements.h:
* ext/gconf/gstgconfvideosink.c: (gst_gconf_video_sink_base_init),
(gst_gconf_video_sink_class_init), (gst_gconf_video_sink_dispose),
(cb_toggle_element), (gst_gconf_video_sink_change_state):
* gst/autodetect/gstautoaudiosink.c:
(gst_auto_audio_sink_base_init), (gst_auto_audio_sink_class_init),
(gst_auto_audio_sink_detect), (gst_auto_audio_sink_change_state):
* gst/autodetect/gstautovideosink.c:
(gst_auto_video_sink_base_init), (gst_auto_video_sink_class_init),
(gst_auto_video_sink_find_best), (gst_auto_video_sink_detect):
Port auto/gconfsinks to 0.9. They actually appear to work here in
Totem as well, making them actually useful.
2005-07-20 10:07:09 +00:00
|
|
|
autodetect \
|
2005-06-30 09:04:43 +00:00
|
|
|
avi \
|
2005-05-06 11:12:18 +00:00
|
|
|
effectv \
|
Port auto/gconfsinks to 0.9. They actually appear to work here in
Original commit message from CVS:
* configure.ac:
* ext/Makefile.am:
* ext/gconf/Makefile.am:
* ext/gconf/gconf.c: (gst_bin_find_unconnected_pad),
(gst_gconf_render_bin_from_description),
(gst_gconf_get_default_video_sink):
* ext/gconf/gstgconfaudiosink.c: (gst_gconf_audio_sink_base_init),
(gst_gconf_audio_sink_class_init), (gst_gconf_audio_sink_dispose),
(cb_toggle_element), (gst_gconf_audio_sink_change_state):
* ext/gconf/gstgconfelements.h:
* ext/gconf/gstgconfvideosink.c: (gst_gconf_video_sink_base_init),
(gst_gconf_video_sink_class_init), (gst_gconf_video_sink_dispose),
(cb_toggle_element), (gst_gconf_video_sink_change_state):
* gst/autodetect/gstautoaudiosink.c:
(gst_auto_audio_sink_base_init), (gst_auto_audio_sink_class_init),
(gst_auto_audio_sink_detect), (gst_auto_audio_sink_change_state):
* gst/autodetect/gstautovideosink.c:
(gst_auto_video_sink_base_init), (gst_auto_video_sink_class_init),
(gst_auto_video_sink_find_best), (gst_auto_video_sink_detect):
Port auto/gconfsinks to 0.9. They actually appear to work here in
Totem as well, making them actually useful.
2005-07-20 10:07:09 +00:00
|
|
|
fdsrc \
|
2005-05-18 09:58:13 +00:00
|
|
|
goom \
|
Ported 2 more plugins. usgly hack in the Makefile.am though, I'm sure someone will fix it.
Original commit message from CVS:
* configure.ac:
* ext/aalib/Makefile.am:
* ext/aalib/gstaasink.c: (gst_aasink_get_type),
(gst_aasink_class_init), (gst_aasink_fixate), (gst_aasink_setcaps),
(gst_aasink_init), (gst_aasink_get_times), (gst_aasink_render),
(gst_aasink_set_property), (gst_aasink_get_property),
(gst_aasink_open), (gst_aasink_close), (gst_aasink_change_state):
* ext/aalib/gstaasink.h:
* gst/smpte/Makefile.am:
* gst/smpte/gstsmpte.c: (gst_smpte_setcaps), (gst_smpte_init),
(gst_smpte_collected):
* gst/smpte/gstsmpte.h:
Ported 2 more plugins. usgly hack in the Makefile.am though, I'm
sure someone will fix it.
2005-05-06 19:55:22 +00:00
|
|
|
law \
|
2005-07-04 14:02:46 +00:00
|
|
|
level \
|
ext/faad/gstfaad.c: Sign/unsign mismatch.
Original commit message from CVS:
* ext/faad/gstfaad.c: (gst_faad_event):
Sign/unsign mismatch.
* configure.ac:
* gst/qtdemux/qtdemux.c: (gst_qtdemux_class_init),
(gst_qtdemux_init), (gst_qtdemux_get_src_query_types),
(gst_qtdemux_handle_src_query), (gst_qtdemux_handle_src_event),
(plugin_init), (gst_qtdemux_handle_sink_event),
(gst_qtdemux_change_state), (gst_qtdemux_loop_header),
(qtdemux_sink_activate), (qtdemux_sink_activate_pull),
(gst_qtdemux_add_stream), (qtdemux_parse), (qtdemux_parse_tree),
(qtdemux_parse_trak), (qtdemux_video_caps), (qtdemux_audio_caps):
* gst/qtdemux/qtdemux.h:
Half-assed port (hey, it works).
2005-08-09 14:43:47 +00:00
|
|
|
qtdemux \
|
2005-06-27 09:16:09 +00:00
|
|
|
realmedia \
|
2005-05-12 20:05:19 +00:00
|
|
|
rtp \
|
|
|
|
rtsp \
|
|
|
|
smpte \
|
2005-07-23 17:03:41 +00:00
|
|
|
silence \
|
2005-07-04 14:02:46 +00:00
|
|
|
udp \
|
2005-07-05 10:11:24 +00:00
|
|
|
videobox \
|
2005-07-20 11:26:05 +00:00
|
|
|
wavparse \
|
2005-08-19 14:49:11 +00:00
|
|
|
mpegaudioparse \
|
2005-07-04 14:02:46 +00:00
|
|
|
"
|
2002-08-07 00:22:04 +00:00
|
|
|
|
|
|
|
dnl see if we can build C++ plug-ins
|
|
|
|
if test "x$HAVE_CXX" = "xyes"; then
|
2005-05-05 09:10:38 +00:00
|
|
|
GST_PLUGINS_ALL="$GST_PLUGINS_ALL"
|
2002-08-07 00:22:04 +00:00
|
|
|
else
|
2002-08-13 10:39:26 +00:00
|
|
|
AC_MSG_WARN([Not compiling plug-ins requiring C++ compiler])
|
2002-08-07 00:22:04 +00:00
|
|
|
fi
|
2001-12-23 03:25:55 +00:00
|
|
|
|
|
|
|
AC_SUBST(GST_PLUGINS_ALL)
|
|
|
|
|
|
|
|
GST_PLUGINS_SELECTED=""
|
|
|
|
|
|
|
|
AC_ARG_WITH(plugins,
|
2002-06-14 16:44:33 +00:00
|
|
|
AC_HELP_STRING([--with-plugins],[comma-separated list of plug-ins to compile]),
|
2001-12-23 03:25:55 +00:00
|
|
|
[for i in `echo $withval | tr , ' '`; do
|
2004-03-02 18:32:27 +00:00
|
|
|
if echo $GST_PLUGINS_ALL | grep $i > /dev/null
|
|
|
|
then
|
2001-12-23 03:25:55 +00:00
|
|
|
GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED $i"
|
|
|
|
else
|
2002-06-14 16:44:33 +00:00
|
|
|
echo "plug-in $i not recognized, ignoring..."
|
2001-12-23 03:25:55 +00:00
|
|
|
fi
|
|
|
|
done],
|
|
|
|
[GST_PLUGINS_SELECTED=$GST_PLUGINS_ALL])
|
|
|
|
|
|
|
|
AC_SUBST(GST_PLUGINS_SELECTED)
|
2001-12-21 11:46:15 +00:00
|
|
|
|
2001-12-20 20:16:57 +00:00
|
|
|
dnl ==========================================================================
|
2002-06-14 16:44:33 +00:00
|
|
|
dnl ============================= sys plug-ins ================================
|
2001-12-20 20:16:57 +00:00
|
|
|
dnl ==========================================================================
|
|
|
|
|
2004-06-07 13:40:07 +00:00
|
|
|
dnl *** OSS audio *** (Linux, *BSD)
|
2005-07-08 10:47:28 +00:00
|
|
|
translit(dnm, m, l) AM_CONDITIONAL(USE_OSS, true)
|
|
|
|
GST_CHECK_FEATURE(OSS, [OSS audio], osssrc osssink, [
|
|
|
|
HAVE_OSS="yes"
|
|
|
|
dnl Linux and newer BSD versions :
|
|
|
|
AC_CHECK_HEADER(sys/soundcard.h, [
|
|
|
|
AC_DEFINE(HAVE_OSS_INCLUDE_IN_SYS,, [Define if OSS includes are in /sys/])
|
|
|
|
] , [
|
|
|
|
dnl Some old BSD versions :
|
|
|
|
AC_CHECK_HEADER(soundcard.h, [
|
|
|
|
AC_DEFINE(HAVE_OSS_INCLUDE_IN_ROOT,, [Define if OSS includes are in /])
|
|
|
|
], [
|
|
|
|
dnl Some old BSD versions :
|
|
|
|
AC_CHECK_HEADER(machine/soundcard.h, [
|
|
|
|
AC_DEFINE(HAVE_OSS_INCLUDE_IN_MACHINE,, [Define if OSS includes are in /machine/])
|
|
|
|
], [
|
|
|
|
HAVE_OSS="no"
|
|
|
|
])
|
|
|
|
])
|
|
|
|
])
|
|
|
|
])
|
2001-12-20 20:16:57 +00:00
|
|
|
|
2005-05-07 18:50:39 +00:00
|
|
|
dnl ###########################
|
|
|
|
dnl # Configure external libs #
|
|
|
|
dnl ###########################
|
|
|
|
|
Ported 2 more plugins. usgly hack in the Makefile.am though, I'm sure someone will fix it.
Original commit message from CVS:
* configure.ac:
* ext/aalib/Makefile.am:
* ext/aalib/gstaasink.c: (gst_aasink_get_type),
(gst_aasink_class_init), (gst_aasink_fixate), (gst_aasink_setcaps),
(gst_aasink_init), (gst_aasink_get_times), (gst_aasink_render),
(gst_aasink_set_property), (gst_aasink_get_property),
(gst_aasink_open), (gst_aasink_close), (gst_aasink_change_state):
* ext/aalib/gstaasink.h:
* gst/smpte/Makefile.am:
* gst/smpte/gstsmpte.c: (gst_smpte_setcaps), (gst_smpte_init),
(gst_smpte_collected):
* gst/smpte/gstsmpte.h:
Ported 2 more plugins. usgly hack in the Makefile.am though, I'm
sure someone will fix it.
2005-05-06 19:55:22 +00:00
|
|
|
dnl *** aalib ***
|
|
|
|
translit(dnm, m, l) AM_CONDITIONAL(USE_AALIB, true)
|
|
|
|
GST_CHECK_FEATURE(AALIB, [aasink plug-in], aasink, [
|
|
|
|
AM_PATH_AALIB(, HAVE_AALIB=yes, HAVE_AALIB=no)
|
|
|
|
AS_SCRUB_INCLUDE(AALIB_CFLAGS)
|
|
|
|
])
|
|
|
|
|
2005-07-19 20:51:16 +00:00
|
|
|
dnl *** AMR-NB ***
|
|
|
|
translit(dnm, m, l) AM_CONDITIONAL(USE_AMRNB, true)
|
|
|
|
GST_CHECK_FEATURE(AMRNB, [AMR-NB], amrnbdec amrnbenc, [
|
|
|
|
GST_CHECK_LIBHEADER(AMRNB, amrnb,
|
|
|
|
Decoder_Interface_init, -lm,
|
|
|
|
amrnb/interf_dec.h,
|
|
|
|
AMRNB_LIBS="-lamrnb -lm"
|
|
|
|
AC_SUBST(AMRNB_LIBS))
|
|
|
|
])
|
|
|
|
|
|
|
|
dnl **** Free AAC Decoder (FAAD) ****
|
|
|
|
translit(dnm, m, l) AM_CONDITIONAL(USE_FAAD, true)
|
|
|
|
GST_CHECK_FEATURE(FAAD, [AAC decoder plug-in], faad, [
|
|
|
|
HAVE_FAAD="yes"
|
|
|
|
GST_CHECK_LIBHEADER(FAAD, faad, faacDecOpen, -lm, faad.h, FAAD_LIBS="-lfaad -lm", HAVE_FAAD="no")
|
|
|
|
if test $HAVE_FAAD = "yes"; then
|
|
|
|
AC_MSG_CHECKING([Checking for FAAD >= 2])
|
|
|
|
AC_TRY_RUN([
|
|
|
|
|
|
|
|
#include <faad.h>
|
|
|
|
#if !defined(FAAD2_VERSION) || !defined(FAAD_FMT_DOUBLE)
|
|
|
|
#error Not faad2
|
|
|
|
#else
|
|
|
|
#include <string.h>
|
|
|
|
|
|
|
|
int main()
|
|
|
|
{
|
|
|
|
char version[9] = FAAD2_VERSION;
|
|
|
|
// a release candidate of 2.0 is not enought for us
|
|
|
|
if ( strstr( version, "2.0 RC" ) ) { return 1; }
|
|
|
|
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|
|
|
|
],
|
|
|
|
[ HAVE_FAAD="yes" && AC_MSG_RESULT(yes)],
|
|
|
|
[ HAVE_FAAD="no" && AC_MSG_RESULT(no)])
|
|
|
|
fi;
|
|
|
|
AS_SCRUB_INCLUDE(FAAD_CFLAGS)
|
|
|
|
AC_SUBST(FAAD_LIBS)
|
|
|
|
])
|
|
|
|
|
Port flacdec (seeking is still slow'ish).
Original commit message from CVS:
* configure.ac:
* ext/Makefile.am:
* ext/flac/Makefile.am:
* ext/flac/gstflac.c: (plugin_init):
* ext/flac/gstflacdec.c: (flacdec_get_type), (gst_flacdec_init),
(gst_flacdec_update_metadata), (gst_flacdec_seek),
(gst_flacdec_tell), (gst_flacdec_length), (gst_flacdec_read),
(gst_flacdec_write), (gst_flacdec_loop),
(gst_flacdec_get_src_query_types), (gst_flacdec_src_query),
(gst_flacdec_src_event), (gst_flacdec_sink_activate),
(gst_flacdec_sink_activate_pull), (gst_flacdec_change_state):
* ext/flac/gstflacdec.h:
Port flacdec (seeking is still slow'ish).
2005-08-22 11:20:18 +00:00
|
|
|
dnl *** FLAC ***
|
|
|
|
translit(dnm, m, l) AM_CONDITIONAL(USE_FLAC, true)
|
|
|
|
GST_CHECK_FEATURE(FLAC, [FLAC lossless audio], flacenc flacdec, [
|
|
|
|
GST_CHECK_LIBHEADER(FLAC, FLAC, FLAC__seekable_stream_encoder_new, -lm, FLAC/all.h, FLAC_LIBS="-lFLAC -lm")
|
|
|
|
dnl API change in FLAC 1.1.1, so require that...
|
|
|
|
if test x$HAVE_FLAC = xyes; then
|
|
|
|
AC_CHECK_DECL(FLAC__SEEKABLE_STREAM_ENCODER_TELL_ERROR,
|
|
|
|
HAVE_FLAC="yes", HAVE_FLAC="no", [
|
|
|
|
#include <FLAC/seekable_stream_encoder.h>
|
|
|
|
])
|
|
|
|
fi
|
|
|
|
AC_SUBST(FLAC_LIBS)
|
|
|
|
])
|
|
|
|
|
2005-08-16 16:12:15 +00:00
|
|
|
dnl *** lame ***
|
|
|
|
translit(dnm, m, l) AM_CONDITIONAL(USE_LAME, true)
|
|
|
|
GST_CHECK_FEATURE(LAME, [lame mp3 encoder library], lame, [
|
|
|
|
GST_CHECK_LIBHEADER(LAME, mp3lame, lame_init, -lm, lame/lame.h,
|
|
|
|
[
|
|
|
|
HAVE_LAME="yes"
|
|
|
|
LAME_LIBS="-lmp3lame -lm"
|
|
|
|
dnl is lame presets available
|
|
|
|
LAME_CFLAGS=""
|
|
|
|
AC_TRY_RUN([
|
|
|
|
#include <lame/lame.h>
|
|
|
|
int main (int argc, char *argv[])
|
|
|
|
{
|
|
|
|
printf("%d\n", MEDIUM);
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
],
|
|
|
|
[LAME_CFLAGS="-DGSTLAME_PRESET"],
|
|
|
|
[LAME_CFLAGS=""]
|
|
|
|
)
|
|
|
|
AC_SUBST(LAME_CFLAGS)
|
|
|
|
AC_SUBST(LAME_LIBS)
|
|
|
|
])
|
|
|
|
])
|
2005-07-19 20:51:16 +00:00
|
|
|
|
2005-05-08 12:22:04 +00:00
|
|
|
dnl *** libcaca ***
|
|
|
|
translit(dnm, m, l) AM_CONDITIONAL(USE_LIBCACA, true)
|
|
|
|
GST_CHECK_FEATURE(LIBCACA, [libcaca], libcaca, [
|
|
|
|
GST_CHECK_CONFIGPROG(LIBCACA, caca-config)
|
|
|
|
AC_SUBST(LIBCACA_CFLAGS)
|
|
|
|
AC_SUBST(LIBCACA_LIBS)
|
|
|
|
])
|
|
|
|
|
Ported DVdec to 0.9.
Original commit message from CVS:
* configure.ac:
* ext/dv/Makefile.am:
* ext/dv/gstdvdec.c: (gst_dvdec_class_init), (gst_dvdec_init),
(gst_dvdec_get_src_query_types), (gst_dvdec_src_query),
(gst_dvdec_handle_sink_event), (gst_dvdec_handle_src_event),
(gst_dvdec_video_getcaps), (gst_dvdec_video_setcaps),
(gst_dvdec_decode_audio), (gst_dvdec_decode_video),
(gst_dvdec_decode_frame), (gst_dvdec_chain),
(gst_dvdec_change_state), (gst_dvdec_set_property),
(gst_dvdec_get_property), (plugin_init):
* ext/dv/gstdvdec.h:
* ext/esd/esdsink.c: (gst_esdsink_class_init):
Ported DVdec to 0.9.
Parent of esdsink is GstAudioSink.
2005-07-07 17:03:44 +00:00
|
|
|
dnl *** libdv ***
|
|
|
|
translit(dnm, m, l) AM_CONDITIONAL(USE_LIBDV, true)
|
|
|
|
GST_CHECK_FEATURE(LIBDV, [libdv DV/video decoder], dvdec, [
|
|
|
|
PKG_CHECK_MODULES(LIBDV, libdv >= 0.100, HAVE_LIBDV="yes", HAVE_LIBDV="no")
|
|
|
|
AC_SUBST(LIBDV_CFLAGS)
|
|
|
|
AC_SUBST(LIBDV_LIBS)
|
|
|
|
])
|
|
|
|
|
2005-05-09 20:09:44 +00:00
|
|
|
dnl *** shout2 ***
|
|
|
|
translit(dnm, m, l) AM_CONDITIONAL(USE_SHOUT2, true)
|
|
|
|
GST_CHECK_FEATURE(SHOUT2, [shout2 plug-in], shout2send, [
|
|
|
|
PKG_CHECK_MODULES(SHOUT2, shout >= 2.0, [
|
|
|
|
HAVE_SHOUT2="yes"
|
|
|
|
AC_SUBST(SHOUT2_CFLAGS)
|
|
|
|
AC_SUBST(SHOUT2_LIBS)
|
|
|
|
], [
|
|
|
|
AM_PATH_SHOUT2(HAVE_SHOUT2="yes", HAVE_SHOUT2="no")
|
|
|
|
AC_SUBST(SHOUT2_CFLAGS)
|
|
|
|
AC_SUBST(SHOUT2_LIBS)
|
|
|
|
])
|
|
|
|
])
|
|
|
|
|
2005-05-06 17:24:44 +00:00
|
|
|
dnl *** sidplay : works with libsidplay 1.36.x (not 2.x.x) ***
|
|
|
|
translit(dnm, m, l) AM_CONDITIONAL(USE_SIDPLAY, true)
|
|
|
|
GST_CHECK_FEATURE(SIDPLAY, [sidplay plug-in], sidplay, [
|
|
|
|
GST_PATH_SIDPLAY()
|
Ported 2 more plugins. usgly hack in the Makefile.am though, I'm sure someone will fix it.
Original commit message from CVS:
* configure.ac:
* ext/aalib/Makefile.am:
* ext/aalib/gstaasink.c: (gst_aasink_get_type),
(gst_aasink_class_init), (gst_aasink_fixate), (gst_aasink_setcaps),
(gst_aasink_init), (gst_aasink_get_times), (gst_aasink_render),
(gst_aasink_set_property), (gst_aasink_get_property),
(gst_aasink_open), (gst_aasink_close), (gst_aasink_change_state):
* ext/aalib/gstaasink.h:
* gst/smpte/Makefile.am:
* gst/smpte/gstsmpte.c: (gst_smpte_setcaps), (gst_smpte_init),
(gst_smpte_collected):
* gst/smpte/gstsmpte.h:
Ported 2 more plugins. usgly hack in the Makefile.am though, I'm
sure someone will fix it.
2005-05-06 19:55:22 +00:00
|
|
|
])
|
2005-05-06 17:24:44 +00:00
|
|
|
|
Port jpegdec to 0.9; handles 'progressive loading' now, ie. input does no longer need to be one single buffer.
Original commit message from CVS:
* configure.ac:
* ext/Makefile.am:
* ext/jpeg/Makefile.am:
* ext/jpeg/gstjpeg.c: (plugin_init):
* ext/jpeg/gstjpegdec.c: (gst_jpeg_dec_get_type),
(gst_jpeg_dec_finalize), (gst_jpeg_dec_base_init),
(gst_jpeg_dec_class_init), (gst_jpeg_dec_fill_input_buffer),
(gst_jpeg_dec_init_source), (gst_jpeg_dec_skip_input_data),
(gst_jpeg_dec_resync_to_restart), (gst_jpeg_dec_term_source),
(gst_jpeg_dec_my_output_message), (gst_jpeg_dec_my_emit_message),
(gst_jpeg_dec_my_error_exit), (gst_jpeg_dec_init),
(is_jpeg_start_marker), (is_jpeg_end_marker),
(gst_jpeg_dec_find_jpeg_header), (gst_jpeg_dec_ensure_header),
(gst_jpeg_dec_have_end_marker),
(gst_jpeg_dec_parse_tag_has_entropy_segment),
(gst_jpeg_dec_parse_image_data), (gst_jpeg_dec_chain),
(gst_jpeg_dec_change_state):
* ext/jpeg/gstjpegdec.h:
Port jpegdec to 0.9; handles 'progressive loading' now, ie. input does
no longer need to be one single buffer.
2005-08-08 12:13:08 +00:00
|
|
|
dnl *** jpeg ***
|
|
|
|
dnl FIXME: we could use header checks here as well IMO
|
|
|
|
translit(dnm, m, l) AM_CONDITIONAL(USE_JPEG, true)
|
|
|
|
GST_CHECK_FEATURE(JPEG, [jpeg], jpegenc jpegdec, [
|
|
|
|
AC_ARG_WITH(jpeg-mmx,
|
|
|
|
[ --with-jpeg-mmx, path to MMX'ified JPEG library])
|
|
|
|
OLD_LIBS="$LIBS"
|
|
|
|
if test x$with_jpeg_mmx != x; then
|
|
|
|
LIBS="$LIBS -L$with_jpeg_mmx"
|
|
|
|
fi
|
|
|
|
AC_CHECK_LIB(jpeg-mmx, jpeg_set_defaults, HAVE_JPEG="yes", HAVE_JPEG="no")
|
|
|
|
JPEG_LIBS="$LIBS -ljpeg-mmx"
|
|
|
|
LIBS="$OLD_LIBS"
|
|
|
|
if test x$HAVE_JPEG != xyes; then
|
|
|
|
AC_CHECK_LIB(jpeg, jpeg_set_defaults, HAVE_JPEG="yes", HAVE_JPEG="no")
|
|
|
|
JPEG_LIBS="-ljpeg"
|
|
|
|
fi
|
|
|
|
AC_SUBST(JPEG_LIBS)
|
|
|
|
])
|
|
|
|
|
|
|
|
|
2005-05-06 11:04:30 +00:00
|
|
|
dnl *** mad ***
|
|
|
|
dnl FIXME: we could use header checks here as well IMO
|
|
|
|
translit(dnm, m, l) AM_CONDITIONAL(USE_MAD, true)
|
|
|
|
GST_CHECK_FEATURE(MAD, [mad mp3 decoder], mad, [
|
|
|
|
dnl check with pkg-config first
|
|
|
|
PKG_CHECK_MODULES(MAD, mad >= 0.15 id3tag >= 0.15, HAVE_MAD="yes", HAVE_MAD="no")
|
|
|
|
if test "x$HAVE_MAD" = "xno"; then
|
|
|
|
dnl fall back to oldskool detection
|
|
|
|
AC_CHECK_LIB(mad, mad_decoder_finish, HAVE_MAD="yes" MAD_LIBS="-lmad")
|
|
|
|
if test "x$HAVE_MAD" = "xyes"; then
|
|
|
|
HAVE_MAD="no"
|
|
|
|
save_LIBS=$LIBS
|
|
|
|
LIBS="-lz"
|
|
|
|
AC_CHECK_LIB(id3tag, id3_tag_options, HAVE_MAD="yes" MAD_LIBS="-lmad -lid3tag -lz")
|
|
|
|
LIBS=$save_LIBS
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
])
|
|
|
|
AC_SUBST(MAD_LIBS)
|
2001-12-17 18:37:01 +00:00
|
|
|
|
2005-07-19 20:51:16 +00:00
|
|
|
dnl *** mpeg2dec ***
|
|
|
|
translit(dnm, m, l) AM_CONDITIONAL(USE_MPEG2DEC, true)
|
|
|
|
GST_CHECK_FEATURE(MPEG2DEC, [mpeg2dec], mpeg2dec, [
|
|
|
|
PKG_CHECK_MODULES(MPEG2DEC, libmpeg2 >= 0.4.0,
|
|
|
|
HAVE_MPEG2DEC="yes", HAVE_MPEG2DEC="no")
|
|
|
|
AC_SUBST(MPEG2DEC_CFLAGS)
|
|
|
|
AC_SUBST(MPEG2DEC_LIBS)
|
|
|
|
])
|
|
|
|
|
2005-07-07 08:34:10 +00:00
|
|
|
dnl *** dv1394 ***
|
|
|
|
translit(dnm, m, l) AM_CONDITIONAL(USE_DV1394, true)
|
|
|
|
GST_CHECK_FEATURE(DV1394, [raw1394 and avc1394 library], dv1394src, [
|
|
|
|
dnl we need to test three headers and three libs
|
|
|
|
GST_CHECK_LIBHEADER(RAW1394,
|
|
|
|
raw1394, raw1394_new_handle,,
|
|
|
|
libraw1394/raw1394.h, RAW1394_LIBS="-lraw1394")
|
|
|
|
GST_CHECK_LIBHEADER(AVC1394,
|
|
|
|
avc1394, avc1394_send_command, $RAW1394_LIBS,
|
|
|
|
libavc1394/avc1394.h, AVC1394_LIBS="-lavc1394")
|
|
|
|
GST_CHECK_LIBHEADER(ROM1394,
|
|
|
|
rom1394, rom1394_free_directory, $RAW1394_LIBS,
|
|
|
|
libavc1394/rom1394.h, ROM1394_LIBS="-lrom1394")
|
|
|
|
|
|
|
|
dnl now see how far we got
|
|
|
|
if test x$HAVE_RAW1394 = xyes && \
|
|
|
|
test x$HAVE_AVC1394 = xyes && \
|
|
|
|
test x$HAVE_ROM1394 = xyes; then
|
|
|
|
HAVE_DV1394=yes
|
|
|
|
DV1394_LIBS="$RAW1394_LIBS $AVC1394_LIBS $ROM1394_LIBS"
|
|
|
|
AC_SUBST(DV1394_LIBS)
|
|
|
|
else
|
|
|
|
HAVE_DV1394=no
|
|
|
|
fi
|
|
|
|
])
|
|
|
|
|
2005-05-10 20:10:43 +00:00
|
|
|
dnl **** ESound ****
|
|
|
|
translit(dnm, m, l) AM_CONDITIONAL(USE_ESD, true)
|
|
|
|
GST_CHECK_FEATURE(ESD, [esound plug-ins], esdsink, [
|
|
|
|
PKG_CHECK_MODULES(ESD, esound >= 0.2.12, [
|
|
|
|
HAVE_ESD="yes"
|
|
|
|
AC_SUBST(ESD_CFLAGS)
|
|
|
|
AC_SUBST(ESD_LIBS)
|
|
|
|
], [
|
|
|
|
AM_PATH_ESD(0.2.12, HAVE_ESD="yes", HAVE_ESD="no")
|
|
|
|
AS_SCRUB_INCLUDE(ESD_CFLAGS)
|
|
|
|
])
|
|
|
|
])
|
2003-01-16 09:54:28 +00:00
|
|
|
|
2005-08-02 11:42:33 +00:00
|
|
|
dnl *** libpng ***
|
|
|
|
translit(dnm, m, l) AM_CONDITIONAL(USE_LIBPNG, true)
|
|
|
|
GST_CHECK_FEATURE(LIBPNG, [libpng PNG encoder], pngenc, [
|
|
|
|
PKG_CHECK_MODULES(LIBPNG, libpng12, HAVE_LIBPNG="yes", HAVE_LIBPNG="no")
|
|
|
|
AC_SUBST(LIBPNG_CFLAGS)
|
|
|
|
AC_SUBST(LIBPNG_LIBS)
|
|
|
|
])
|
|
|
|
|
|
|
|
|
|
|
|
|
2005-07-05 15:26:56 +00:00
|
|
|
dnl also add builddir include for enumtypes and marshal
|
|
|
|
GST_CFLAGS="-I\$(top_srcdir)/gst-libs -I\$(top_builddir)/gst-libs $GST_CFLAGS $GST_ERROR"
|
2005-06-29 16:14:30 +00:00
|
|
|
|
2001-12-21 12:46:50 +00:00
|
|
|
AC_SUBST(GST_LIBS)
|
|
|
|
AC_SUBST(GST_CFLAGS)
|
2001-12-17 18:37:01 +00:00
|
|
|
|
2003-10-31 20:03:29 +00:00
|
|
|
dnl ############################
|
|
|
|
dnl # Set up some more defines #
|
|
|
|
dnl ############################
|
|
|
|
|
|
|
|
dnl set license and copyright notice
|
|
|
|
AC_DEFINE(GST_LICENSE, "LGPL", [GStreamer license])
|
2004-08-12 12:00:31 +00:00
|
|
|
|
2003-10-31 20:03:29 +00:00
|
|
|
dnl package name in plugins
|
|
|
|
AC_ARG_WITH(package-name,
|
|
|
|
AC_HELP_STRING([--with-package-name],[specify package name to use in plugins]),
|
|
|
|
[case "${withval}" in
|
|
|
|
yes) AC_MSG_ERROR(bad value ${withval} for --with-package-name) ;;
|
|
|
|
no) AC_MSG_ERROR(bad value ${withval} for --with-package-name) ;;
|
|
|
|
*) GST_PACKAGE="${withval}" ;;
|
|
|
|
esac],
|
2004-08-12 12:00:31 +00:00
|
|
|
[
|
|
|
|
dnl default value
|
|
|
|
if test "x$GST_CVS" = "xyes"
|
|
|
|
then
|
|
|
|
dnl nano >= 1
|
|
|
|
GST_PACKAGE="GStreamer CVS/prerelease"
|
|
|
|
else
|
|
|
|
GST_PACKAGE="GStreamer source release"
|
|
|
|
fi
|
|
|
|
]
|
|
|
|
)
|
2003-10-31 20:03:29 +00:00
|
|
|
AC_MSG_NOTICE(Using $GST_PACKAGE as package name)
|
|
|
|
AC_DEFINE_UNQUOTED(GST_PACKAGE, "$GST_PACKAGE", [package name in plugins])
|
2004-08-12 12:00:31 +00:00
|
|
|
|
2003-10-31 20:03:29 +00:00
|
|
|
dnl package origin URL
|
|
|
|
AC_ARG_WITH(package-origin,
|
|
|
|
AC_HELP_STRING([--with-package-origin],[specify package origin URL to use in plugins]),
|
|
|
|
[case "${withval}" in
|
|
|
|
yes) AC_MSG_ERROR(bad value ${withval} for --with-package-origin) ;;
|
|
|
|
no) AC_MSG_ERROR(bad value ${withval} for --with-package-origin) ;;
|
|
|
|
*) GST_ORIGIN="${withval}" ;;
|
|
|
|
esac],
|
2004-08-12 12:00:31 +00:00
|
|
|
[GST_ORIGIN="http://gstreamer.freedesktop.org/"]) dnl Default value
|
2003-10-31 20:03:29 +00:00
|
|
|
AC_MSG_NOTICE(Using $GST_ORIGIN as package origin)
|
|
|
|
AC_DEFINE_UNQUOTED(GST_ORIGIN, "$GST_ORIGIN", [package origin])
|
|
|
|
|
2001-12-17 18:37:01 +00:00
|
|
|
dnl #########################
|
|
|
|
dnl # Make the output files #
|
|
|
|
dnl #########################
|
|
|
|
|
2002-02-08 20:12:28 +00:00
|
|
|
AC_CONFIG_FILES(
|
2001-12-17 18:37:01 +00:00
|
|
|
Makefile
|
2002-01-07 02:14:35 +00:00
|
|
|
gst-plugins.spec
|
2001-12-21 11:46:15 +00:00
|
|
|
gst/Makefile
|
2005-05-18 09:58:13 +00:00
|
|
|
gst/alpha/Makefile
|
Port auto/gconfsinks to 0.9. They actually appear to work here in
Original commit message from CVS:
* configure.ac:
* ext/Makefile.am:
* ext/gconf/Makefile.am:
* ext/gconf/gconf.c: (gst_bin_find_unconnected_pad),
(gst_gconf_render_bin_from_description),
(gst_gconf_get_default_video_sink):
* ext/gconf/gstgconfaudiosink.c: (gst_gconf_audio_sink_base_init),
(gst_gconf_audio_sink_class_init), (gst_gconf_audio_sink_dispose),
(cb_toggle_element), (gst_gconf_audio_sink_change_state):
* ext/gconf/gstgconfelements.h:
* ext/gconf/gstgconfvideosink.c: (gst_gconf_video_sink_base_init),
(gst_gconf_video_sink_class_init), (gst_gconf_video_sink_dispose),
(cb_toggle_element), (gst_gconf_video_sink_change_state):
* gst/autodetect/gstautoaudiosink.c:
(gst_auto_audio_sink_base_init), (gst_auto_audio_sink_class_init),
(gst_auto_audio_sink_detect), (gst_auto_audio_sink_change_state):
* gst/autodetect/gstautovideosink.c:
(gst_auto_video_sink_base_init), (gst_auto_video_sink_class_init),
(gst_auto_video_sink_find_best), (gst_auto_video_sink_detect):
Port auto/gconfsinks to 0.9. They actually appear to work here in
Totem as well, making them actually useful.
2005-07-20 10:07:09 +00:00
|
|
|
gst/autodetect/Makefile
|
2005-06-30 09:04:43 +00:00
|
|
|
gst/avi/Makefile
|
2002-05-08 20:18:12 +00:00
|
|
|
gst/effectv/Makefile
|
2005-07-16 19:27:54 +00:00
|
|
|
gst/fdsrc/Makefile
|
2005-05-18 09:58:13 +00:00
|
|
|
gst/goom/Makefile
|
2005-05-06 11:12:18 +00:00
|
|
|
gst/law/Makefile
|
2005-07-04 14:02:46 +00:00
|
|
|
gst/level/Makefile
|
2005-08-17 19:05:51 +00:00
|
|
|
gst/mpegaudioparse/Makefile
|
2005-06-27 09:16:09 +00:00
|
|
|
gst/realmedia/Makefile
|
2005-05-12 20:05:19 +00:00
|
|
|
gst/rtp/Makefile
|
|
|
|
gst/rtsp/Makefile
|
Ported 2 more plugins. usgly hack in the Makefile.am though, I'm sure someone will fix it.
Original commit message from CVS:
* configure.ac:
* ext/aalib/Makefile.am:
* ext/aalib/gstaasink.c: (gst_aasink_get_type),
(gst_aasink_class_init), (gst_aasink_fixate), (gst_aasink_setcaps),
(gst_aasink_init), (gst_aasink_get_times), (gst_aasink_render),
(gst_aasink_set_property), (gst_aasink_get_property),
(gst_aasink_open), (gst_aasink_close), (gst_aasink_change_state):
* ext/aalib/gstaasink.h:
* gst/smpte/Makefile.am:
* gst/smpte/gstsmpte.c: (gst_smpte_setcaps), (gst_smpte_init),
(gst_smpte_collected):
* gst/smpte/gstsmpte.h:
Ported 2 more plugins. usgly hack in the Makefile.am though, I'm
sure someone will fix it.
2005-05-06 19:55:22 +00:00
|
|
|
gst/smpte/Makefile
|
2005-07-23 17:03:41 +00:00
|
|
|
gst/silence/Makefile
|
2005-05-12 20:05:19 +00:00
|
|
|
gst/udp/Makefile
|
2005-07-05 10:11:24 +00:00
|
|
|
gst/videobox/Makefile
|
2005-05-06 11:25:55 +00:00
|
|
|
gst/videofilter/Makefile
|
Port jpegdec to 0.9; handles 'progressive loading' now, ie. input does no longer need to be one single buffer.
Original commit message from CVS:
* configure.ac:
* ext/Makefile.am:
* ext/jpeg/Makefile.am:
* ext/jpeg/gstjpeg.c: (plugin_init):
* ext/jpeg/gstjpegdec.c: (gst_jpeg_dec_get_type),
(gst_jpeg_dec_finalize), (gst_jpeg_dec_base_init),
(gst_jpeg_dec_class_init), (gst_jpeg_dec_fill_input_buffer),
(gst_jpeg_dec_init_source), (gst_jpeg_dec_skip_input_data),
(gst_jpeg_dec_resync_to_restart), (gst_jpeg_dec_term_source),
(gst_jpeg_dec_my_output_message), (gst_jpeg_dec_my_emit_message),
(gst_jpeg_dec_my_error_exit), (gst_jpeg_dec_init),
(is_jpeg_start_marker), (is_jpeg_end_marker),
(gst_jpeg_dec_find_jpeg_header), (gst_jpeg_dec_ensure_header),
(gst_jpeg_dec_have_end_marker),
(gst_jpeg_dec_parse_tag_has_entropy_segment),
(gst_jpeg_dec_parse_image_data), (gst_jpeg_dec_chain),
(gst_jpeg_dec_change_state):
* ext/jpeg/gstjpegdec.h:
Port jpegdec to 0.9; handles 'progressive loading' now, ie. input does
no longer need to be one single buffer.
2005-08-08 12:13:08 +00:00
|
|
|
ext/jpeg/Makefile
|
ext/faad/gstfaad.c: Sign/unsign mismatch.
Original commit message from CVS:
* ext/faad/gstfaad.c: (gst_faad_event):
Sign/unsign mismatch.
* configure.ac:
* gst/qtdemux/qtdemux.c: (gst_qtdemux_class_init),
(gst_qtdemux_init), (gst_qtdemux_get_src_query_types),
(gst_qtdemux_handle_src_query), (gst_qtdemux_handle_src_event),
(plugin_init), (gst_qtdemux_handle_sink_event),
(gst_qtdemux_change_state), (gst_qtdemux_loop_header),
(qtdemux_sink_activate), (qtdemux_sink_activate_pull),
(gst_qtdemux_add_stream), (qtdemux_parse), (qtdemux_parse_tree),
(qtdemux_parse_trak), (qtdemux_video_caps), (qtdemux_audio_caps):
* gst/qtdemux/qtdemux.h:
Half-assed port (hey, it works).
2005-08-09 14:43:47 +00:00
|
|
|
gst/qtdemux/Makefile
|
2005-07-20 11:26:05 +00:00
|
|
|
gst/wavparse/Makefile
|
2005-07-05 15:26:56 +00:00
|
|
|
gst-libs/Makefile
|
|
|
|
gst-libs/gst/Makefile
|
2001-12-20 20:16:57 +00:00
|
|
|
sys/Makefile
|
2005-07-08 10:47:28 +00:00
|
|
|
sys/oss/Makefile
|
2005-05-06 11:04:30 +00:00
|
|
|
ext/Makefile
|
Ported 2 more plugins. usgly hack in the Makefile.am though, I'm sure someone will fix it.
Original commit message from CVS:
* configure.ac:
* ext/aalib/Makefile.am:
* ext/aalib/gstaasink.c: (gst_aasink_get_type),
(gst_aasink_class_init), (gst_aasink_fixate), (gst_aasink_setcaps),
(gst_aasink_init), (gst_aasink_get_times), (gst_aasink_render),
(gst_aasink_set_property), (gst_aasink_get_property),
(gst_aasink_open), (gst_aasink_close), (gst_aasink_change_state):
* ext/aalib/gstaasink.h:
* gst/smpte/Makefile.am:
* gst/smpte/gstsmpte.c: (gst_smpte_setcaps), (gst_smpte_init),
(gst_smpte_collected):
* gst/smpte/gstsmpte.h:
Ported 2 more plugins. usgly hack in the Makefile.am though, I'm
sure someone will fix it.
2005-05-06 19:55:22 +00:00
|
|
|
ext/aalib/Makefile
|
Ported DVdec to 0.9.
Original commit message from CVS:
* configure.ac:
* ext/dv/Makefile.am:
* ext/dv/gstdvdec.c: (gst_dvdec_class_init), (gst_dvdec_init),
(gst_dvdec_get_src_query_types), (gst_dvdec_src_query),
(gst_dvdec_handle_sink_event), (gst_dvdec_handle_src_event),
(gst_dvdec_video_getcaps), (gst_dvdec_video_setcaps),
(gst_dvdec_decode_audio), (gst_dvdec_decode_video),
(gst_dvdec_decode_frame), (gst_dvdec_chain),
(gst_dvdec_change_state), (gst_dvdec_set_property),
(gst_dvdec_get_property), (plugin_init):
* ext/dv/gstdvdec.h:
* ext/esd/esdsink.c: (gst_esdsink_class_init):
Ported DVdec to 0.9.
Parent of esdsink is GstAudioSink.
2005-07-07 17:03:44 +00:00
|
|
|
ext/dv/Makefile
|
Port flacdec (seeking is still slow'ish).
Original commit message from CVS:
* configure.ac:
* ext/Makefile.am:
* ext/flac/Makefile.am:
* ext/flac/gstflac.c: (plugin_init):
* ext/flac/gstflacdec.c: (flacdec_get_type), (gst_flacdec_init),
(gst_flacdec_update_metadata), (gst_flacdec_seek),
(gst_flacdec_tell), (gst_flacdec_length), (gst_flacdec_read),
(gst_flacdec_write), (gst_flacdec_loop),
(gst_flacdec_get_src_query_types), (gst_flacdec_src_query),
(gst_flacdec_src_event), (gst_flacdec_sink_activate),
(gst_flacdec_sink_activate_pull), (gst_flacdec_change_state):
* ext/flac/gstflacdec.h:
Port flacdec (seeking is still slow'ish).
2005-08-22 11:20:18 +00:00
|
|
|
ext/flac/Makefile
|
Port auto/gconfsinks to 0.9. They actually appear to work here in
Original commit message from CVS:
* configure.ac:
* ext/Makefile.am:
* ext/gconf/Makefile.am:
* ext/gconf/gconf.c: (gst_bin_find_unconnected_pad),
(gst_gconf_render_bin_from_description),
(gst_gconf_get_default_video_sink):
* ext/gconf/gstgconfaudiosink.c: (gst_gconf_audio_sink_base_init),
(gst_gconf_audio_sink_class_init), (gst_gconf_audio_sink_dispose),
(cb_toggle_element), (gst_gconf_audio_sink_change_state):
* ext/gconf/gstgconfelements.h:
* ext/gconf/gstgconfvideosink.c: (gst_gconf_video_sink_base_init),
(gst_gconf_video_sink_class_init), (gst_gconf_video_sink_dispose),
(cb_toggle_element), (gst_gconf_video_sink_change_state):
* gst/autodetect/gstautoaudiosink.c:
(gst_auto_audio_sink_base_init), (gst_auto_audio_sink_class_init),
(gst_auto_audio_sink_detect), (gst_auto_audio_sink_change_state):
* gst/autodetect/gstautovideosink.c:
(gst_auto_video_sink_base_init), (gst_auto_video_sink_class_init),
(gst_auto_video_sink_find_best), (gst_auto_video_sink_detect):
Port auto/gconfsinks to 0.9. They actually appear to work here in
Totem as well, making them actually useful.
2005-07-20 10:07:09 +00:00
|
|
|
ext/gconf/Makefile
|
2005-08-16 16:12:15 +00:00
|
|
|
ext/lame/Makefile
|
2005-05-08 12:22:04 +00:00
|
|
|
ext/libcaca/Makefile
|
2005-08-02 11:42:33 +00:00
|
|
|
ext/libpng/Makefile
|
2005-05-06 11:04:30 +00:00
|
|
|
ext/mad/Makefile
|
2005-07-07 08:34:10 +00:00
|
|
|
ext/raw1394/Makefile
|
2005-05-09 20:09:44 +00:00
|
|
|
ext/shout2/Makefile
|
2005-05-06 17:24:44 +00:00
|
|
|
ext/sidplay/Makefile
|
2005-05-10 20:10:43 +00:00
|
|
|
ext/esd/Makefile
|
2005-07-19 20:51:16 +00:00
|
|
|
ext/mpeg2dec/Makefile
|
|
|
|
ext/faad/Makefile
|
|
|
|
ext/amrnb/Makefile
|
2005-07-10 12:52:20 +00:00
|
|
|
po/Makefile.in
|
2004-03-18 12:38:53 +00:00
|
|
|
common/Makefile
|
|
|
|
common/m4/Makefile
|
|
|
|
m4/Makefile
|
2001-12-17 18:37:01 +00:00
|
|
|
)
|
2002-02-08 20:12:28 +00:00
|
|
|
AC_OUTPUT
|
|
|
|
|
2003-09-25 21:40:35 +00:00
|
|
|
echo -n "configure: *** Plug-ins that will be built :"
|
|
|
|
echo -e "$GST_PLUGINS_YES" | sort
|
2001-12-17 18:37:01 +00:00
|
|
|
echo
|
2003-09-25 21:40:35 +00:00
|
|
|
echo -n "configure: *** Plug-ins that will not be built :"
|
|
|
|
echo -e "$GST_PLUGINS_NO" | sort
|
2001-12-17 18:37:01 +00:00
|
|
|
echo
|
2002-06-14 16:44:33 +00:00
|
|
|
if test "x$BUILD_EXTERNAL" = "xno"; then
|
|
|
|
echo "configure: *** No external plug-ins will be built"
|
|
|
|
fi
|