2012-11-07 20:35:50 +00:00
AC_PREREQ([2.68])
2002-02-16 05:44:09 +00:00
2006-06-11 13:57:19 +00:00
dnl please read gstreamer/docs/random/autotools before changing this file
2005-11-14 02:13:35 +00:00
dnl initialize autoconf
2010-01-27 01:18:51 +00:00
dnl releases only do -Wall, git and prerelease does -Werror too
dnl use a three digit version number for releases, and four for git/pre
2013-09-24 13:05:24 +00:00
AC_INIT([GStreamer Good Plug-ins],[1.3.0.1],[http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer],[gst-plugins-good])
2006-04-01 09:56:45 +00:00
2007-02-28 19:29:25 +00:00
AG_GST_INIT
2006-04-01 09:56:45 +00:00
dnl initialize automake
2013-08-02 12:12:16 +00:00
AM_INIT_AUTOMAKE([-Wno-portability 1.11 no-dist-gzip dist-xz tar-ustar subdir-objects])
2006-04-01 09:56:45 +00:00
dnl define PACKAGE_VERSION_* variables
AS_VERSION
dnl check if this is a release version
2010-01-27 01:18:51 +00:00
AS_NANO(GST_GIT="no", GST_GIT="yes")
2003-09-19 06:24:35 +00:00
2005-11-14 02:13:35 +00:00
dnl can autoconf find the source ?
AC_CONFIG_SRCDIR([gst/law/alaw.c])
dnl define the output header for config
2012-11-07 20:35:50 +00:00
AC_CONFIG_HEADERS([config.h])
2005-11-14 02:13:35 +00:00
dnl AM_MAINTAINER_MODE only provides the option to configure to enable it
2012-04-13 11:41:44 +00:00
AM_MAINTAINER_MODE([enable])
2005-11-14 02:13:35 +00:00
dnl sets host_* variables
AC_CANONICAL_HOST
2010-02-26 14:41:52 +00:00
dnl use pretty build output with automake >= 1.11
m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])],
[AM_DEFAULT_VERBOSITY=1
AC_SUBST(AM_DEFAULT_VERBOSITY)])
2012-04-04 12:33:23 +00:00
dnl our libraries and install dirs use GST_API_VERSION in the filename
dnl to allow side-by-side installation of different API versions
GST_API_VERSION=1.0
AC_SUBST(GST_API_VERSION)
AC_DEFINE_UNQUOTED(GST_API_VERSION, "$GST_API_VERSION",
[GStreamer API Version])
2002-12-08 14:50:09 +00:00
2011-02-28 18:16:00 +00:00
AG_GST_LIBTOOL_PREPARE
2013-09-24 13:00:24 +00:00
AS_LIBTOOL(GST, 300, 0, 300)
2001-12-17 18:37:01 +00:00
2006-01-11 11:39:10 +00:00
dnl *** required versions of GStreamer stuff ***
2013-09-24 13:05:24 +00:00
GST_REQ=1.3.0.1
GSTPB_REQ=1.3.0.1
2006-01-11 11:39:10 +00:00
2005-11-14 02:13:35 +00:00
dnl *** autotools stuff ****
2001-12-17 18:37:01 +00:00
2002-05-27 14:01:51 +00:00
dnl allow for different autotools
2005-11-14 02:13:35 +00:00
AS_AUTOTOOLS_ALTERNATE
2005-05-05 16:35:52 +00:00
2005-11-14 02:13:35 +00:00
dnl Add parameters for aclocal
AC_SUBST(ACLOCAL_AMFLAGS, "-I m4 -I common/m4")
2003-07-28 11:37:49 +00:00
2005-11-14 02:13:35 +00:00
dnl set up gettext
dnl the version check needs to stay here because autopoint greps for it
2008-11-29 13:31:55 +00:00
AM_GNU_GETTEXT_VERSION([0.17])
2005-11-14 02:13:35 +00:00
AM_GNU_GETTEXT([external])
2012-04-04 12:33:23 +00:00
AG_GST_GETTEXT([gst-plugins-good-$GST_API_VERSION])
2003-12-16 16:58:59 +00:00
2005-11-14 02:13:35 +00:00
dnl *** check for arguments to configure ***
2004-02-20 15:49:27 +00:00
2012-01-19 14:24:04 +00:00
AG_GST_ARG_DISABLE_FATAL_WARNINGS
2007-02-28 19:29:25 +00:00
AG_GST_ARG_DEBUG
AG_GST_ARG_PROFILING
AG_GST_ARG_VALGRIND
AG_GST_ARG_GCOV
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:50 +00:00
2007-02-28 19:29:25 +00:00
AG_GST_ARG_EXAMPLES
2002-08-13 10:39:26 +00:00
2007-02-28 19:29:25 +00:00
AG_GST_ARG_WITH_PKG_CONFIG_PATH
AG_GST_ARG_WITH_PACKAGE_NAME
AG_GST_ARG_WITH_PACKAGE_ORIGIN
2001-12-21 11:46:15 +00:00
2007-09-25 08:51:36 +00:00
AG_GST_ARG_WITH_PLUGINS
2001-12-23 03:25:55 +00:00
2007-09-25 08:51:36 +00:00
AG_GST_ARG_ENABLE_EXTERNAL
AG_GST_ARG_ENABLE_EXPERIMENTAL
2006-10-03 18:15:58 +00:00
2005-11-14 02:13:35 +00:00
dnl *** checks for platform ***
dnl * hardware/architecture *
dnl common/m4/gst-arch.m4
dnl check CPU type
2007-02-28 19:29:25 +00:00
AG_GST_ARCH
2005-11-14 02:13:35 +00:00
dnl Determine endianness
AC_C_BIGENDIAN
dnl *** checks for programs ***
dnl find a compiler
AC_PROG_CC
2010-08-04 17:25:31 +00:00
AC_PROG_CC_STDC
2005-11-14 02:13:35 +00:00
dnl determine c++ compiler
AC_PROG_CXX
dnl determine if c++ is available on this system
AC_CHECK_PROG(HAVE_CXX, $CXX, yes, no)
dnl determine c++ preprocessor
dnl FIXME: do we need this ?
AC_PROG_CXXCPP
2012-05-30 09:09:25 +00:00
AC_PROG_OBJC
2005-11-14 02:13:35 +00:00
2008-01-10 12:25:44 +00:00
dnl check if the compiler supports '-c' and '-o' options
AM_PROG_CC_C_O
2008-03-03 13:03:43 +00:00
dnl find an assembler
AM_PROG_AS
2009-05-22 00:10:12 +00:00
dnl check if the compiler supports do while(0) macros
AG_GST_CHECK_DOWHILE_MACROS
2005-11-14 02:13:35 +00:00
AC_PATH_PROG(VALGRIND_PATH, valgrind, no)
AM_CONDITIONAL(HAVE_VALGRIND, test ! "x$VALGRIND_PATH" = "xno")
dnl check for documentation tools
2012-08-22 11:18:00 +00:00
GTK_DOC_CHECK([1.12])
2012-11-07 18:48:49 +00:00
AG_GST_PLUGIN_DOCS([1.12])
2005-11-14 02:13:35 +00:00
2006-04-01 09:56:45 +00:00
dnl *** checks for libraries ***
2007-02-24 22:57:49 +00:00
dnl check for libm, for sin()
2012-04-13 11:41:44 +00:00
LT_LIB_M
2007-02-24 22:57:49 +00:00
AC_SUBST(LIBM)
2012-11-30 20:37:47 +00:00
AC_CHECK_FUNCS(clock_gettime, [], [
AC_CHECK_LIB(rt, clock_gettime, [
AC_DEFINE(HAVE_CLOCK_GETTIME, 1)
LIBRT="-lrt"
AC_SUBST([LIBRT])
])
])
2005-11-14 02:13:35 +00:00
dnl *** checks for header files ***
dnl check if we have ANSI C header files
AC_HEADER_STDC
2007-06-08 20:19:55 +00:00
dnl used by ext/wavpack
AX_CREATE_STDINT_H
2007-11-02 21:16:09 +00:00
dnl used in gst/udp
AC_CHECK_HEADERS([sys/time.h])
2012-03-26 21:02:08 +00:00
dnl used in gst/udp
AC_CHECK_HEADERS([sys/socket.h])
2006-04-01 09:56:45 +00:00
dnl *** checks for types/defines ***
2006-01-09 17:04:52 +00:00
dnl Check for FIONREAD ioctl declaration. This check is needed
2009-10-16 15:26:41 +00:00
dnl for the UDP plugin to build on Solaris
2006-04-01 09:56:45 +00:00
GST_CHECK_FIONREAD
dnl *** checks for structures ***
2006-01-09 17:04:52 +00:00
2005-11-14 02:13:35 +00:00
dnl *** checks for compiler characteristics ***
2008-03-03 13:03:43 +00:00
dnl check if we have GCC inline-asm
AS_GCC_INLINE_ASSEMBLY([HAVE_GCC_ASM=yes], [HAVE_GCC_ASM=no])
if test x$HAVE_GCC_ASM = xyes ; then
AC_DEFINE(HAVE_GCC_ASM, 1,
[Define if compiler supports gcc inline assembly])
fi
AM_CONDITIONAL(HAVE_GCC_ASM, test "x$HAVE_GCC_ASM" = "xyes")
2005-11-14 02:13:35 +00:00
dnl *** checks for library functions ***
2007-12-09 05:02:17 +00:00
LIBS_SAVE=$LIBS
LIBS="$LIBS $LIBM"
2009-10-08 23:14:07 +00:00
AC_CHECK_FUNCS(rint sinh cosh asinh fpclass)
2007-12-09 05:13:58 +00:00
LIBS=$LIBS_SAVE
2007-12-09 05:02:17 +00:00
2009-10-08 23:14:07 +00:00
dnl Check whether isinf() is defined by math.h
AC_CACHE_CHECK([for isinf], ac_cv_have_isinf,
AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <math.h>]], [[float f = 0.0; int i=isinf(f)]])],[ac_cv_have_isinf="yes"],[ac_cv_have_isinf="no"]))
if test "$ac_cv_have_isinf" = "yes"
then
AC_DEFINE(HAVE_ISINF, 1, [Define to 1 if you have the `isinf' function.])
fi
2005-10-07 11:30:41 +00:00
dnl Check for mmap (needed by electricfence plugin)
2005-11-14 02:13:35 +00:00
AC_FUNC_MMAP
2010-05-15 19:15:52 +00:00
AM_CONDITIONAL(GST_HAVE_MMAP, test "x$ac_cv_func_mmap_fixed_mapped" = "xyes")
2005-10-07 11:30:41 +00:00
2009-04-20 13:46:03 +00:00
dnl Check for mmap (needed by electricfence plugin)
AC_CHECK_TYPE([struct ip_mreqn], [
AC_DEFINE(HAVE_IP_MREQN,, [Define if we have struct ip_mreqn])],,
[#include <netinet/in.h>])
2007-02-13 09:46:26 +00:00
dnl *** checks for dependency libraries ***
2005-11-14 02:13:35 +00:00
2012-01-18 15:15:59 +00:00
dnl GLib
2012-08-08 14:22:04 +00:00
GLIB_REQ=2.32.0
2012-01-18 15:15:59 +00:00
AG_GST_GLIB_CHECK([$GLIB_REQ])
2012-01-17 10:19:33 +00:00
2010-06-08 22:23:28 +00:00
dnl Orc
2013-03-22 10:50:34 +00:00
ORC_CHECK([0.4.17])
2005-11-14 02:13:35 +00:00
dnl checks for gstreamer
dnl uninstalled is selected preferentially -- see pkg-config(1)
2012-04-04 12:33:23 +00:00
AG_GST_CHECK_GST($GST_API_VERSION, [$GST_REQ], yes)
AG_GST_CHECK_GST_BASE($GST_API_VERSION, [$GST_REQ], yes)
AG_GST_CHECK_GST_CONTROLLER($GST_API_VERSION, [$GST_REQ], yes)
AG_GST_CHECK_GST_NET($GST_API_VERSION, [$GST_REQ], yes)
AG_GST_CHECK_GST_CHECK($GST_API_VERSION, [$GST_REQ], no)
AG_GST_CHECK_GST_PLUGINS_BASE($GST_API_VERSION, [$GSTPB_REQ], yes)
GST_TOOLS_DIR=`$PKG_CONFIG --variable=toolsdir gstreamer-$GST_API_VERSION`
2005-11-14 02:13:35 +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)
2006-05-18 23:04:59 +00:00
AC_MSG_NOTICE(Using GStreamer Core Plugins in $GST_PLUGINS_DIR)
2006-05-02 13:24:38 +00:00
AC_MSG_NOTICE(Using GStreamer Base Plugins in $GSTPB_PLUGINS_DIR)
2007-07-13 16:31:27 +00:00
AM_CONDITIONAL(HAVE_GST_CHECK, test "x$HAVE_GST_CHECK" = "xyes")
2007-02-13 09:46:26 +00:00
dnl Check for documentation xrefs
GLIB_PREFIX="`$PKG_CONFIG --variable=prefix glib-2.0`"
2012-04-04 12:33:23 +00:00
GST_PREFIX="`$PKG_CONFIG --variable=prefix gstreamer-$GST_API_VERSION`"
GSTPB_PREFIX="`$PKG_CONFIG --variable=prefix gstreamer-plugins-base-$GST_API_VERSION`"
2007-02-13 09:46:26 +00:00
AC_SUBST(GLIB_PREFIX)
AC_SUBST(GST_PREFIX)
AC_SUBST(GSTPB_PREFIX)
2005-12-30 15:28:44 +00:00
dnl GTK is optional and used in examples
2010-11-05 16:24:42 +00:00
HAVE_GTK=no
2012-08-09 08:25:38 +00:00
GTK_REQ=3.0.0
2009-05-05 11:33:57 +00:00
if test "x$BUILD_EXAMPLES" = "xyes"; then
2012-08-09 08:31:39 +00:00
PKG_CHECK_MODULES(GTK, gtk+-3.0 >= $GTK_REQ, HAVE_GTK=yes, HAVE_GTK=no)
2011-03-02 22:21:15 +00:00
dnl some examples need gtk+-x11
2012-08-09 08:31:39 +00:00
PKG_CHECK_MODULES(GTK_X11, gtk+-x11-3.0 >= $GTK_REQ, HAVE_GTK_X11=yes, HAVE_GTK_X11=no)
2009-05-05 11:33:57 +00:00
AC_SUBST(GTK_LIBS)
AC_SUBST(GTK_CFLAGS)
2005-12-30 15:28:44 +00:00
fi
2009-05-11 07:58:48 +00:00
AM_CONDITIONAL(HAVE_GTK, test "x$HAVE_GTK" = "xyes")
2011-03-02 22:21:15 +00:00
AM_CONDITIONAL(HAVE_GTK_X11, test "x$HAVE_GTK_X11" = "xyes")
2005-12-30 15:28:44 +00:00
2005-11-14 02:13:35 +00:00
dnl *** set variables based on configure arguments ***
dnl set license and copyright notice
GST_LICENSE="LGPL"
AC_DEFINE_UNQUOTED(GST_LICENSE, "$GST_LICENSE", [GStreamer license])
AC_SUBST(GST_LICENSE)
dnl set location of plugin directory
2007-02-28 19:29:25 +00:00
AG_GST_SET_PLUGINDIR
2005-11-14 02:13:35 +00:00
2010-09-23 23:01:05 +00:00
dnl set release date/time
AG_GST_SET_PACKAGE_RELEASE_DATETIME_WITH_NANO([$PACKAGE_VERSION_NANO],
["${srcdir}/gst-plugins-good.doap"],
[$PACKAGE_VERSION_MAJOR.$PACKAGE_VERSION_MINOR.$PACKAGE_VERSION_MICRO])
2012-10-24 10:14:50 +00:00
dnl build static plugins or not
AC_MSG_CHECKING([whether to build static plugins or not])
AC_ARG_ENABLE(
static-plugins,
AC_HELP_STRING(
[--enable-static-plugins],
[build static plugins @<:@default=no@:>@]),
[AS_CASE(
[$enableval], [no], [], [yes], [],
[AC_MSG_ERROR([bad value "$enableval" for --enable-static-plugins])])],
[enable_static_plugins=no])
AC_MSG_RESULT([$enable_static_plugins])
if test "x$enable_static_plugins" = xyes; then
AC_DEFINE(GST_PLUGIN_BUILD_STATIC, 1,
[Define if static plugins should be built])
GST_PLUGIN_LIBTOOLFLAGS=""
else
GST_PLUGIN_LIBTOOLFLAGS="--tag=disable-static"
fi
AC_SUBST(GST_PLUGIN_LIBTOOLFLAGS)
AM_CONDITIONAL(GST_PLUGIN_BUILD_STATIC, test "x$enable_static_plugins" = "xyes")
2012-05-23 16:07:35 +00:00
# set by AG_GST_PARSE_SUBSYSTEM_DISABLES above
dnl make sure it doesn't complain about unused variables if debugging is disabled
NO_WARNINGS=""
AG_GST_CHECK_GST_DEBUG_DISABLED([NO_WARNINGS="-Wno-unused"], [NO_WARNINGS=""])
2005-11-14 02:13:35 +00:00
dnl define an ERROR_CFLAGS Makefile variable
2010-04-12 23:14:46 +00:00
dnl -Wundef: too many broken headers
2012-05-30 09:09:25 +00:00
AG_GST_SET_ERROR_CFLAGS($FATAL_WARNINGS, [
-Wmissing-declarations -Wmissing-prototypes -Wredundant-decls
-Wwrite-strings -Wold-style-definition -Waggregate-return
-Winit-self -Wmissing-include-dirs -Waddress -Wno-multichar
-Wnested-externs $NO_WARNINGS])
2005-11-14 02:13:35 +00:00
2008-02-23 12:23:38 +00:00
dnl define an ERROR_CXXFLAGS Makefile variable
2012-01-19 14:24:04 +00:00
AG_GST_SET_ERROR_CXXFLAGS($FATAL_WARNINGS, [
2010-04-12 10:40:11 +00:00
-Wmissing-declarations -Wredundant-decls
2010-04-15 10:13:46 +00:00
-Wwrite-strings
2012-05-23 16:07:35 +00:00
-Winit-self -Wmissing-include-dirs -Waddress -Wno-multichar
$NO_WARNINGS])
2008-02-23 12:23:38 +00:00
2012-05-30 09:09:25 +00:00
dnl define an ERROR_OBJCFLAGS Makefile variable
AG_GST_SET_ERROR_OBJCFLAGS($FATAL_WARNINGS, [
-Wmissing-declarations -Wmissing-prototypes -Wredundant-decls
-Wwrite-strings -Wold-style-definition
-Winit-self -Wmissing-include-dirs -Wno-multichar
-Wnested-externs $NO_WARNINGS])
2005-11-14 02:13:35 +00:00
dnl define correct level for debugging messages
2010-01-27 01:18:51 +00:00
AG_GST_SET_LEVEL_DEFAULT($GST_GIT)
2005-11-14 02:13:35 +00:00
dnl used in examples
2007-02-28 19:29:25 +00:00
AG_GST_DEFAULT_ELEMENTS
2005-11-14 02:13:35 +00:00
2008-03-03 12:10:55 +00:00
dnl *** plug-ins to include ***
dnl these are all the gst plug-ins, compilable without additional libs
dnl videofilter is at the top because others depend on it
AG_GST_CHECK_PLUGIN(alpha)
AG_GST_CHECK_PLUGIN(apetag)
AG_GST_CHECK_PLUGIN(audiofx)
2011-04-07 13:43:42 +00:00
AG_GST_CHECK_PLUGIN(audioparsers)
2008-03-03 12:10:55 +00:00
AG_GST_CHECK_PLUGIN(auparse)
AG_GST_CHECK_PLUGIN(autodetect)
AG_GST_CHECK_PLUGIN(avi)
AG_GST_CHECK_PLUGIN(cutter)
2009-04-15 13:03:27 +00:00
AG_GST_CHECK_PLUGIN(debugutils)
2009-05-13 08:46:40 +00:00
AG_GST_CHECK_PLUGIN(deinterlace)
2013-03-09 01:18:30 +00:00
AG_GST_CHECK_PLUGIN(dtmf)
2008-03-03 12:10:55 +00:00
AG_GST_CHECK_PLUGIN(effectv)
AG_GST_CHECK_PLUGIN(equalizer)
2009-05-13 08:30:35 +00:00
AG_GST_CHECK_PLUGIN(flv)
2008-03-03 12:10:55 +00:00
AG_GST_CHECK_PLUGIN(flx)
AG_GST_CHECK_PLUGIN(goom)
AG_GST_CHECK_PLUGIN(goom2k1)
2011-08-02 09:17:38 +00:00
AG_GST_CHECK_PLUGIN(icydemux)
AG_GST_CHECK_PLUGIN(id3demux)
2010-05-11 13:23:47 +00:00
AG_GST_CHECK_PLUGIN(imagefreeze)
2011-08-02 09:17:38 +00:00
AG_GST_CHECK_PLUGIN(interleave)
2011-04-30 16:46:36 +00:00
AG_GST_CHECK_PLUGIN(isomp4)
2008-03-03 12:10:55 +00:00
AG_GST_CHECK_PLUGIN(law)
AG_GST_CHECK_PLUGIN(level)
AG_GST_CHECK_PLUGIN(matroska)
AG_GST_CHECK_PLUGIN(monoscope)
AG_GST_CHECK_PLUGIN(multifile)
AG_GST_CHECK_PLUGIN(multipart)
2008-07-19 01:01:13 +00:00
AG_GST_CHECK_PLUGIN(replaygain)
2008-03-03 12:10:55 +00:00
AG_GST_CHECK_PLUGIN(rtp)
2009-08-11 01:31:44 +00:00
AG_GST_CHECK_PLUGIN(rtpmanager)
2008-03-03 12:10:55 +00:00
AG_GST_CHECK_PLUGIN(rtsp)
2010-02-12 10:18:26 +00:00
AG_GST_CHECK_PLUGIN(shapewipe)
2008-03-03 12:10:55 +00:00
AG_GST_CHECK_PLUGIN(smpte)
AG_GST_CHECK_PLUGIN(spectrum)
AG_GST_CHECK_PLUGIN(udp)
AG_GST_CHECK_PLUGIN(videobox)
AG_GST_CHECK_PLUGIN(videocrop)
2011-08-02 09:17:38 +00:00
AG_GST_CHECK_PLUGIN(videofilter)
2008-03-03 12:10:55 +00:00
AG_GST_CHECK_PLUGIN(videomixer)
AG_GST_CHECK_PLUGIN(wavenc)
AG_GST_CHECK_PLUGIN(wavparse)
2009-05-15 23:00:07 +00:00
AG_GST_CHECK_PLUGIN(y4m)
2008-03-03 12:10:55 +00:00
dnl disable experimental plug-ins
if test "x$BUILD_EXPERIMENTAL" != "xyes"; then
AG_GST_DISABLE_PLUGIN(monoscope)
fi
2005-11-14 02:13:35 +00:00
dnl *** sys plug-ins ***
echo
AC_MSG_NOTICE([Checking libraries for plugins in sys/])
echo
2001-12-20 20:16:57 +00:00
2007-06-08 17:37:02 +00:00
dnl DirectSound
translit(dnm, m, l) AM_CONDITIONAL(USE_DIRECTSOUND, true)
AG_GST_CHECK_FEATURE(DIRECTSOUND, [DirectSound plug-in], directsoundsink, [
HAVE_DIRECTSOUND="no"
save_CFLAGS="$CFLAGS"
save_LDFLAGS="$LDFLAGS"
save_LIBS="$LIBS"
CFLAGS="$CFLAGS $DIRECTSOUND_CFLAGS"
LDFLAGS="$LDFLAGS $DIRECTSOUND_LDFLAGS"
2008-10-01 21:22:26 +00:00
LIBS="$LIBS -ldsound -ldxerr9 -luser32"
2007-06-08 17:37:02 +00:00
AC_MSG_CHECKING(for DirectSound LDFLAGS)
2012-03-09 15:25:02 +00:00
AC_LINK_IFELSE([AC_LANG_PROGRAM([[
2007-06-08 17:37:02 +00:00
#include <windows.h>
#include <dxerr9.h>
#include <dsound.h>
2012-03-09 15:25:02 +00:00
]], [[
2007-06-08 17:37:02 +00:00
DXGetErrorString9 (0);
DirectSoundCreate(NULL, NULL, NULL);
2012-03-09 15:53:32 +00:00
]])
2007-06-08 17:37:02 +00:00
],
[HAVE_DIRECTSOUND="yes"],
[HAVE_DIRECTSOUND="no"])
AC_MSG_RESULT($HAVE_DIRECTSOUND)
CFLAGS=$save_CFLAGS
LDFLAGS=$save_LDFLAGS
LIBS=$save_LIBS
if test "x$HAVE_DIRECTSOUND" = "xyes"; then
dnl this is much more than we want
2008-10-01 21:22:26 +00:00
DIRECTSOUND_LIBS="-ldsound -ldxerr9 -luser32"
2007-06-08 17:37:02 +00:00
AC_SUBST(DIRECTSOUND_CFLAGS)
AC_SUBST(DIRECTSOUND_LDFLAGS)
AC_SUBST(DIRECTSOUND_LIBS)
fi
AC_SUBST(HAVE_DIRECTSOUND)
])
2011-12-26 22:22:59 +00:00
dnl *** Win32 WaveOut ***
translit(dnm, m, l) AM_CONDITIONAL(USE_WAVEFORM, true)
AG_GST_CHECK_FEATURE(WAVEFORM, [Win32 WaveForm], waveformsink, [
AC_CHECK_HEADER(mmsystem.h, HAVE_WAVEFORM="yes", HAVE_WAVEFORM="no", [#include <windows.h>])
])
2004-06-07 13:40:08 +00:00
dnl *** OSS audio *** (Linux, *BSD)
2005-07-08 10:47:30 +00:00
translit(dnm, m, l) AM_CONDITIONAL(USE_OSS, true)
2007-02-28 19:29:25 +00:00
AG_GST_CHECK_FEATURE(OSS, [OSS audio], ossaudio, [
2005-07-08 10:47:30 +00:00
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/])
] , [
2005-12-10 14:57:48 +00:00
dnl Some old BSD versions and also newer OpenBSD versions :
2005-07-08 10:47:30 +00:00
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, [
2005-11-14 02:13:35 +00:00
AC_DEFINE(HAVE_OSS_INCLUDE_IN_MACHINE,,
[Define if OSS includes are in /machine/])
2005-07-08 10:47:30 +00:00
], [
HAVE_OSS="no"
])
])
])
])
2001-12-20 20:16:57 +00:00
2010-05-11 15:08:21 +00:00
dnl *** oss4 ***
translit(dnm, m, l) AM_CONDITIONAL(USE_OSS4, true)
AG_GST_CHECK_FEATURE(OSS4, [Open Sound System 4], oss4, [
AC_MSG_CHECKING([Checking if we can build the OSS4 elements])
AC_CHECK_HEADERS([fcntl.h sys/ioctl.h sys/stat.h sys/types.h],
[test -z "$OSS4_MISSING_HEADER" && HAVE_OSS4="yes"],
[OSS4_MISSING_HEADER="yes";HAVE_OSS4="no"])
])
2006-01-09 17:04:52 +00:00
dnl *** Sun Audio ***
translit(dnm, m, l) AM_CONDITIONAL(USE_SUNAUDIO, true)
2007-02-28 19:29:25 +00:00
AG_GST_CHECK_FEATURE(SUNAUDIO, [Sun Audio], sunaudio, [
2006-01-09 17:04:52 +00:00
AC_CHECK_HEADER(sys/audioio.h, HAVE_SUNAUDIO="yes", HAVE_SUNAUDIO="no")
])
Activate osxaudio in gst-plugins-good with proper build setup.
Original commit message from CVS:
* configure.ac:
* sys/Makefile.am:
* sys/osxaudio/Makefile.am:
* sys/osxaudio/gstosxaudio.c:
* sys/osxaudio/gstosxaudiosink.c:
(gst_osx_audio_sink_osxelement_do_init), (gst_osx_audio_sink_init),
(gst_osx_audio_sink_getcaps),
(gst_osx_audio_sink_create_ringbuffer), (plugin_init):
* sys/osxaudio/gstosxaudiosrc.c:
(gst_osx_audio_src_osxelement_do_init), (gst_osx_audio_src_init),
(gst_osx_audio_src_create_ringbuffer):
* sys/osxaudio/gstosxringbuffer.c: (gst_osx_ring_buffer_get_type),
(gst_osx_ring_buffer_class_init), (gst_osx_ring_buffer_init),
(gst_osx_ring_buffer_acquire), (gst_osx_ring_buffer_start),
(gst_osx_ring_buffer_pause), (gst_osx_ring_buffer_stop):
* sys/osxaudio/gstosxringbuffer.h:
Activate osxaudio in gst-plugins-good with proper build setup.
Add inlined documentation.
Fix debug statements
Fix ringbuffer when pausing.
Fixes #323471
2007-03-15 11:39:53 +00:00
dnl *** OSX Audio ***
translit(dnm, m, l) AM_CONDITIONAL(USE_OSX_AUDIO, true)
2013-04-17 08:10:46 +00:00
HAVE_IOS="no"
Activate osxaudio in gst-plugins-good with proper build setup.
Original commit message from CVS:
* configure.ac:
* sys/Makefile.am:
* sys/osxaudio/Makefile.am:
* sys/osxaudio/gstosxaudio.c:
* sys/osxaudio/gstosxaudiosink.c:
(gst_osx_audio_sink_osxelement_do_init), (gst_osx_audio_sink_init),
(gst_osx_audio_sink_getcaps),
(gst_osx_audio_sink_create_ringbuffer), (plugin_init):
* sys/osxaudio/gstosxaudiosrc.c:
(gst_osx_audio_src_osxelement_do_init), (gst_osx_audio_src_init),
(gst_osx_audio_src_create_ringbuffer):
* sys/osxaudio/gstosxringbuffer.c: (gst_osx_ring_buffer_get_type),
(gst_osx_ring_buffer_class_init), (gst_osx_ring_buffer_init),
(gst_osx_ring_buffer_acquire), (gst_osx_ring_buffer_start),
(gst_osx_ring_buffer_pause), (gst_osx_ring_buffer_stop):
* sys/osxaudio/gstosxringbuffer.h:
Activate osxaudio in gst-plugins-good with proper build setup.
Add inlined documentation.
Fix debug statements
Fix ringbuffer when pausing.
Fixes #323471
2007-03-15 11:39:53 +00:00
AG_GST_CHECK_FEATURE(OSX_AUDIO, [OSX audio], osxaudio, [
2013-03-05 20:22:18 +00:00
AC_CHECK_HEADER(CoreAudio/CoreAudio.h,
2013-04-17 08:10:46 +00:00
[HAVE_OSX_AUDIO="yes"],
2013-03-05 20:22:18 +00:00
[AC_CHECK_HEADER(CoreAudio/CoreAudioTypes.h,
2013-04-17 08:10:46 +00:00
[
HAVE_OSX_AUDIO="yes"
HAVE_IOS="yes"
], [
HAVE_OSX_AUDIO="no"
HAVE_IOS="no"
])]
)
Activate osxaudio in gst-plugins-good with proper build setup.
Original commit message from CVS:
* configure.ac:
* sys/Makefile.am:
* sys/osxaudio/Makefile.am:
* sys/osxaudio/gstosxaudio.c:
* sys/osxaudio/gstosxaudiosink.c:
(gst_osx_audio_sink_osxelement_do_init), (gst_osx_audio_sink_init),
(gst_osx_audio_sink_getcaps),
(gst_osx_audio_sink_create_ringbuffer), (plugin_init):
* sys/osxaudio/gstosxaudiosrc.c:
(gst_osx_audio_src_osxelement_do_init), (gst_osx_audio_src_init),
(gst_osx_audio_src_create_ringbuffer):
* sys/osxaudio/gstosxringbuffer.c: (gst_osx_ring_buffer_get_type),
(gst_osx_ring_buffer_class_init), (gst_osx_ring_buffer_init),
(gst_osx_ring_buffer_acquire), (gst_osx_ring_buffer_start),
(gst_osx_ring_buffer_pause), (gst_osx_ring_buffer_stop):
* sys/osxaudio/gstosxringbuffer.h:
Activate osxaudio in gst-plugins-good with proper build setup.
Add inlined documentation.
Fix debug statements
Fix ringbuffer when pausing.
Fixes #323471
2007-03-15 11:39:53 +00:00
])
2013-04-17 08:10:46 +00:00
if test "x$HAVE_IOS" = "xyes"; then
2013-03-05 20:22:18 +00:00
AC_DEFINE(HAVE_IOS, 1, [building for iOS platofrm])
fi
2013-04-17 08:10:46 +00:00
AM_CONDITIONAL(HAVE_IOS, test "x$HAVE_IOS" = "xyes")
Activate osxaudio in gst-plugins-good with proper build setup.
Original commit message from CVS:
* configure.ac:
* sys/Makefile.am:
* sys/osxaudio/Makefile.am:
* sys/osxaudio/gstosxaudio.c:
* sys/osxaudio/gstosxaudiosink.c:
(gst_osx_audio_sink_osxelement_do_init), (gst_osx_audio_sink_init),
(gst_osx_audio_sink_getcaps),
(gst_osx_audio_sink_create_ringbuffer), (plugin_init):
* sys/osxaudio/gstosxaudiosrc.c:
(gst_osx_audio_src_osxelement_do_init), (gst_osx_audio_src_init),
(gst_osx_audio_src_create_ringbuffer):
* sys/osxaudio/gstosxringbuffer.c: (gst_osx_ring_buffer_get_type),
(gst_osx_ring_buffer_class_init), (gst_osx_ring_buffer_init),
(gst_osx_ring_buffer_acquire), (gst_osx_ring_buffer_start),
(gst_osx_ring_buffer_pause), (gst_osx_ring_buffer_stop):
* sys/osxaudio/gstosxringbuffer.h:
Activate osxaudio in gst-plugins-good with proper build setup.
Add inlined documentation.
Fix debug statements
Fix ringbuffer when pausing.
Fixes #323471
2007-03-15 11:39:53 +00:00
2007-06-12 20:15:29 +00:00
dnl *** OS X video ***
translit(dnm, m, l) AM_CONDITIONAL(USE_OSX_VIDEO, true)
HAVE_OSX_VIDEO="no"
AG_GST_CHECK_FEATURE(OSX_VIDEO, [OSX video], osxvideosink, [
AC_CHECK_HEADER(OpenGL/gl.h, HAVE_OSX_VIDEO="yes", HAVE_OSX_VIDEO="no")
])
dnl in case header OpenGL/gl.h is found on other platforms
case "$host" in
*-*darwin*)
dnl do nothing
;;
*)
HAVE_OSX_VIDEO="no"
;;
esac
Activate osxaudio in gst-plugins-good with proper build setup.
Original commit message from CVS:
* configure.ac:
* sys/Makefile.am:
* sys/osxaudio/Makefile.am:
* sys/osxaudio/gstosxaudio.c:
* sys/osxaudio/gstosxaudiosink.c:
(gst_osx_audio_sink_osxelement_do_init), (gst_osx_audio_sink_init),
(gst_osx_audio_sink_getcaps),
(gst_osx_audio_sink_create_ringbuffer), (plugin_init):
* sys/osxaudio/gstosxaudiosrc.c:
(gst_osx_audio_src_osxelement_do_init), (gst_osx_audio_src_init),
(gst_osx_audio_src_create_ringbuffer):
* sys/osxaudio/gstosxringbuffer.c: (gst_osx_ring_buffer_get_type),
(gst_osx_ring_buffer_class_init), (gst_osx_ring_buffer_init),
(gst_osx_ring_buffer_acquire), (gst_osx_ring_buffer_start),
(gst_osx_ring_buffer_pause), (gst_osx_ring_buffer_stop):
* sys/osxaudio/gstosxringbuffer.h:
Activate osxaudio in gst-plugins-good with proper build setup.
Add inlined documentation.
Fix debug statements
Fix ringbuffer when pausing.
Fixes #323471
2007-03-15 11:39:53 +00:00
2006-10-03 18:15:58 +00:00
dnl *** Video 4 Linux 2 ***
dnl for information about the header/define, see sys/v4l2/gstv4l2element.h
dnl renamed to GST_V4L2 because of some conflict with kernel headers
translit(dnm, m, l) AM_CONDITIONAL(USE_GST_V4L2, true)
2007-02-28 19:29:25 +00:00
AG_GST_CHECK_FEATURE(GST_V4L2, [Video 4 Linux 2], v4l2src, [
2008-01-31 00:03:26 +00:00
AC_MSG_CHECKING([Checking for up to date v4l2 installation])
2012-11-07 20:35:50 +00:00
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
2006-10-03 18:15:58 +00:00
#include <sys/types.h>
2008-01-21 19:35:58 +00:00
#ifdef __sun /* Solaris */
#include <sys/types.h>
#include <sys/videodev2.h>
2012-12-14 22:25:08 +00:00
#elif __FreeBSD__
#include <linux/videodev2.h>
2008-01-21 19:35:58 +00:00
#else /* Linux */
2006-10-03 18:15:58 +00:00
#include <linux/types.h>
#define _LINUX_TIME_H
#define __user
#include <linux/videodev2.h>
2008-01-21 19:35:58 +00:00
#endif
2006-10-03 18:15:58 +00:00
#if defined(V4L2_MAJOR_VERSION) || defined(V4L2_MINOR_VERSION)
#error too early v4l2 version or no v4l2 at all
#endif
2012-11-07 20:35:50 +00:00
]], [[
2006-10-03 18:15:58 +00:00
return 0;
2012-11-07 20:35:50 +00:00
]])],[
2006-10-03 18:15:58 +00:00
HAVE_GST_V4L2="yes"
AC_MSG_RESULT(yes)
2012-11-07 20:35:50 +00:00
],[
2006-10-03 18:15:58 +00:00
HAVE_GST_V4L2="no"
AC_MSG_RESULT(no)
2008-01-21 19:35:58 +00:00
HAVE_VIDEODEV=no
AC_CHECK_HEADER(linux/videodev2.h, [ HAVE_VIDEODEV=yes ],
2006-10-03 18:15:58 +00:00
[
2008-01-21 19:35:58 +00:00
AC_CHECK_HEADER(sys/videodev2.h, [ HAVE_VIDEODEV=yes ])
])
if test "x$HAVE_VIDEODEV" = "xyes"; then
2006-10-03 18:15:58 +00:00
AC_MSG_WARN([video4linux2 headers were found, but they're old.])
AC_MSG_WARN([Please update v4l2 to compile the v4l2 plugins])
2008-01-21 19:35:58 +00:00
else
2006-10-03 18:15:58 +00:00
AC_MSG_WARN([video4linux2 was not found])
2008-01-21 19:35:58 +00:00
fi
2006-10-03 18:15:58 +00:00
])
if [ test x$HAVE_GST_V4L2 = xyes ]; then
dnl check for missing v4l2_buffer declaration (see #135919)
MISSING_DECL=0
AC_MSG_CHECKING(struct v4l2_buffer declaration)
2012-11-07 20:35:50 +00:00
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
2006-10-03 18:15:58 +00:00
#include <sys/types.h>
2008-01-21 19:35:58 +00:00
#ifdef __sun /* Solaris */
#include <sys/types.h>
#include <sys/videodev2.h>
2012-12-14 22:25:08 +00:00
#elif __FreeBSD__
#include <linux/videodev2.h>
2008-01-21 19:35:58 +00:00
#else /* Linux */
2006-10-03 18:15:58 +00:00
#include <linux/types.h>
#define _LINUX_TIME_H
#define __user
#include <linux/videodev2.h>
2008-01-21 19:35:58 +00:00
#endif
2012-11-07 20:35:50 +00:00
]], [[
2006-10-03 18:15:58 +00:00
struct v4l2_buffer buf;
buf.index = 0;
return 0;
2012-11-07 20:35:50 +00:00
]])],[ AC_MSG_RESULT(yes) ],[ MISSING_DECL=1 && AC_MSG_RESULT(no) ])
2006-10-03 18:15:58 +00:00
if [ test x$MISSING_DECL = x1 ]; then
AC_DEFINE(GST_V4L2_MISSING_BUFDECL, 1, [struct v4l2_buffer missing])
fi
dnl check for XOverlay libraries
2007-03-14 14:49:45 +00:00
AG_GST_CHECK_XV
2006-10-03 18:15:58 +00:00
fi
])
2006-04-28 18:57:09 +00:00
2009-07-03 06:38:43 +00:00
# Optional gudev for device probing
AC_ARG_WITH([gudev],
2012-11-07 20:35:50 +00:00
AS_HELP_STRING([--with-gudev],[device detection with gudev]),
2009-07-03 06:38:43 +00:00
[],
[with_gudev=check])
if test x$HAVE_GST_V4L2 = xyes; then
if test x$with_gudev != xno; then
PKG_CHECK_MODULES(GUDEV, [ gudev-1.0 >= 143 ],
[ have_gudev=yes
AC_DEFINE(HAVE_GUDEV, 1,
[Whether gudev is available for device detection])
AC_DEFINE([G_UDEV_API_IS_SUBJECT_TO_CHANGE], 1, [I know the API is subject to change.])
], [
have_gudev=no
])
else
have_gudev=no
fi
fi
AC_SUBST(GUDEV_CFLAGS)
AC_SUBST(GUDEV_LIBS)
2008-12-07 19:01:35 +00:00
# Make libv4l2 non-automagic
AC_ARG_WITH([libv4l2],
2012-11-07 20:35:50 +00:00
AS_HELP_STRING([--with-libv4l2],[support video buffer conversion using libv4l2]),
2008-12-07 19:01:35 +00:00
[],
[with_libv4l2=check])
Optionally use libv4l to access v4l2 devices. Fixes bug #545033.
Original commit message from CVS:
Patch by: Bastien Nocera <hadess at hadess dot net>,
Hans de Goede <jwrdegoede at fedoraproject dot org>
* configure.ac:
* sys/v4l2/Makefile.am:
* sys/v4l2/gstv4l2src.c: (gst_v4l2src_get_read):
* sys/v4l2/v4l2_calls.c: (gst_v4l2_get_capabilities),
(gst_v4l2_fill_lists), (gst_v4l2_open), (gst_v4l2_close),
(gst_v4l2_get_norm), (gst_v4l2_set_norm), (gst_v4l2_get_frequency),
(gst_v4l2_set_frequency), (gst_v4l2_signal_strength),
(gst_v4l2_get_attribute), (gst_v4l2_set_attribute),
(gst_v4l2_get_input), (gst_v4l2_set_input):
* sys/v4l2/v4l2_calls.h:
* sys/v4l2/v4l2src_calls.c: (gst_v4l2_buffer_finalize),
(gst_v4l2_buffer_new), (gst_v4l2_buffer_pool_finalize),
(gst_v4l2_buffer_pool_new), (gst_v4l2_buffer_pool_activate),
(gst_v4l2src_fill_format_list),
(gst_v4l2src_probe_caps_for_format_and_size),
(gst_v4l2src_probe_caps_for_format), (gst_v4l2src_grab_frame),
(gst_v4l2src_set_capture), (gst_v4l2src_capture_init),
(gst_v4l2src_capture_start), (gst_v4l2src_capture_stop),
(gst_v4l2src_get_nearest_size):
Optionally use libv4l to access v4l2 devices. Fixes bug #545033.
2008-11-04 12:32:48 +00:00
if test x$HAVE_GST_V4L2 = xyes; then
2008-12-07 19:01:35 +00:00
if test x$with_libv4l2 != xno; then
PKG_CHECK_MODULES(LIBV4L2, libv4l2,
[ have_libv4l2=yes
AC_DEFINE(HAVE_LIBV4L2, 1,
[Whether libv4l2 is available for video buffer conversion])
], [
have_libv4l2=no
])
else
have_libv4l2=no
fi
Optionally use libv4l to access v4l2 devices. Fixes bug #545033.
Original commit message from CVS:
Patch by: Bastien Nocera <hadess at hadess dot net>,
Hans de Goede <jwrdegoede at fedoraproject dot org>
* configure.ac:
* sys/v4l2/Makefile.am:
* sys/v4l2/gstv4l2src.c: (gst_v4l2src_get_read):
* sys/v4l2/v4l2_calls.c: (gst_v4l2_get_capabilities),
(gst_v4l2_fill_lists), (gst_v4l2_open), (gst_v4l2_close),
(gst_v4l2_get_norm), (gst_v4l2_set_norm), (gst_v4l2_get_frequency),
(gst_v4l2_set_frequency), (gst_v4l2_signal_strength),
(gst_v4l2_get_attribute), (gst_v4l2_set_attribute),
(gst_v4l2_get_input), (gst_v4l2_set_input):
* sys/v4l2/v4l2_calls.h:
* sys/v4l2/v4l2src_calls.c: (gst_v4l2_buffer_finalize),
(gst_v4l2_buffer_new), (gst_v4l2_buffer_pool_finalize),
(gst_v4l2_buffer_pool_new), (gst_v4l2_buffer_pool_activate),
(gst_v4l2src_fill_format_list),
(gst_v4l2src_probe_caps_for_format_and_size),
(gst_v4l2src_probe_caps_for_format), (gst_v4l2src_grab_frame),
(gst_v4l2src_set_capture), (gst_v4l2src_capture_init),
(gst_v4l2src_capture_start), (gst_v4l2src_capture_stop),
(gst_v4l2src_get_nearest_size):
Optionally use libv4l to access v4l2 devices. Fixes bug #545033.
2008-11-04 12:32:48 +00:00
fi
2013-02-19 10:47:20 +00:00
# Check if v4l2 support dmabuf
if test x$HAVE_GST_V4L2 = xyes; then
AC_CHECK_DECLS(V4L2_MEMORY_DMABUF,,,[
#include <sys/types.h>
#ifdef __sun /* Solaris */
#include <sys/types.h>
#include <sys/videodev2.h>
#elif __FreeBSD__
#include <linux/videodev2.h>
#else /* Linux */
#include <linux/types.h>
#define _LINUX_TIME_H
#define __user
#include <linux/videodev2.h>
#endif
])
fi
2006-04-28 18:57:09 +00:00
dnl Check for X11
translit(dnm, m, l) AM_CONDITIONAL(USE_X, true)
2007-02-28 19:29:25 +00:00
AG_GST_CHECK_FEATURE(X, [X libraries and plugins],
2006-04-28 18:57:09 +00:00
[ximagesrc], [
AC_PATH_XTRA
dnl now try to find the HEADER
ac_cflags_save="$CFLAGS"
ac_cppflags_save="$CPPFLAGS"
CFLAGS="$CFLAGS $X_CFLAGS"
CPPFLAGS="$CPPFLAGS $X_CFLAGS"
AC_CHECK_HEADER(X11/Xlib.h, HAVE_X="yes", HAVE_X="no")
if test "x$HAVE_X" = "xno"
then
AC_MSG_NOTICE([cannot find X11 development files])
else
dnl this is much more than we want
X_LIBS="$X_LIBS $X_PRE_LIBS $X_EXTRA_LIBS"
dnl AC_PATH_XTRA only defines the path needed to find the X libs,
dnl it does not add the libs; therefore we add them here
X_LIBS="$X_LIBS -lX11"
AC_SUBST(X_CFLAGS)
AC_SUBST(X_LIBS)
dnl check for Xfixes
PKG_CHECK_MODULES(XFIXES, xfixes, HAVE_XFIXES="yes", HAVE_XFIXES="no")
if test "x$HAVE_XFIXES" = "xyes"
then
XFIXES_CFLAGS="-DHAVE_XFIXES $XFIXES_CFLAGS"
fi
AC_SUBST(XFIXES_LIBS)
AC_SUBST(XFIXES_CFLAGS)
dnl check for Xdamage
PKG_CHECK_MODULES(XDAMAGE, xdamage, HAVE_XDAMAGE="yes", HAVE_XDAMAGE="no")
if test "x$HAVE_XDAMAGE" = "xyes"
then
XDAMAGE_CFLAGS="-DHAVE_XDAMAGE $XDAMAGE_CFLAGS"
fi
AC_SUBST(XDAMAGE_LIBS)
AC_SUBST(XDAMAGE_CFLAGS)
fi
AC_SUBST(HAVE_X)
CFLAGS="$ac_cflags_save"
CPPFLAGS="$ac_cppflags_save"
])
dnl FIXME: this should be rolled into the test above, it's just an additional
dnl feature of the ximagesrc plug-in
dnl This is the same as in gst-plugins-base
dnl check for X Shm
translit(dnm, m, l) AM_CONDITIONAL(USE_XSHM, true)
2007-02-28 19:29:25 +00:00
AG_GST_CHECK_FEATURE(XSHM, [X Shared Memory extension], , [
2006-04-28 18:57:09 +00:00
if test x$HAVE_X = xyes; then
AC_CHECK_LIB(Xext, XShmAttach,
HAVE_XSHM="yes", HAVE_XSHM="no",
$X_LIBS)
if test "x$HAVE_XSHM" = "xyes"; then
XSHM_LIBS="-lXext"
else
dnl On AIX, it is in XextSam instead, but we still need -lXext
AC_CHECK_LIB(XextSam, XShmAttach,
HAVE_XSHM="yes", HAVE_XSHM="no",
$X_LIBS)
if test "x$HAVE_XSHM" = "xyes"; then
XSHM_LIBS="-lXext -lXextSam"
fi
fi
fi
], ,[
AC_SUBST(HAVE_XSHM)
AC_SUBST(XSHM_LIBS)
])
2006-10-03 18:15:58 +00:00
dnl for V4L2, we also need to know if we have XVIDEO
translit(dnm, m, l) AM_CONDITIONAL(USE_XVIDEO, true)
2007-02-28 19:29:25 +00:00
AG_GST_CHECK_FEATURE(XVIDEO, [X11 XVideo extensions],
2006-10-03 18:15:58 +00:00
[], [
2007-03-14 14:49:45 +00:00
AG_GST_CHECK_XV
2006-10-03 18:15:58 +00:00
])
2005-11-14 02:13:35 +00:00
dnl *** ext plug-ins ***
dnl keep this list sorted alphabetically !
if test "x$BUILD_EXTERNAL" = "xyes"; then
echo
AC_MSG_NOTICE([Checking libraries for plugins in ext/])
echo
2005-05-07 18:50:39 +00:00
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)
2007-02-28 19:29:25 +00:00
AG_GST_CHECK_FEATURE(AALIB, [aalib ASCII Art library], aasink, [
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
AM_PATH_AALIB(, HAVE_AALIB=yes, HAVE_AALIB=no)
])
2005-10-12 03:07:26 +00:00
dnl *** cairo ***
translit(dnm, m, l) AM_CONDITIONAL(USE_CAIRO, true)
2013-01-01 11:52:09 +00:00
AG_GST_CHECK_FEATURE(CAIRO, [Cairo graphics rendering and gobject bindings], cairo, [
AG_GST_PKG_CHECK_MODULES(CAIRO, cairo >= 1.10.0 cairo-gobject >= 1.10.0)
2011-01-28 00:14:04 +00:00
])
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)
2007-02-28 19:29:25 +00:00
AG_GST_CHECK_FEATURE(FLAC, [FLAC lossless audio], flac, [
2009-03-27 21:17:05 +00:00
AG_GST_PKG_CHECK_MODULES(FLAC, flac >= 1.1.4)
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
])
2006-02-24 19:51:29 +00:00
dnl *** GDK pixbuf ***
translit(dnm, m, l) AM_CONDITIONAL(USE_GDK_PIXBUF, true)
2007-02-28 19:29:25 +00:00
AG_GST_CHECK_FEATURE(GDK_PIXBUF, [GDK pixbuf], gdkpixbuf, [
2009-05-05 11:27:21 +00:00
AG_GST_PKG_CHECK_MODULES(GDK_PIXBUF, gdk-pixbuf-2.0 >= 2.8.0)
2006-02-24 19:51:29 +00:00
])
2011-01-02 15:25:41 +00:00
dnl *** Jack ***
translit(dnm, m, l) AM_CONDITIONAL(USE_JACK, true)
AG_GST_CHECK_FEATURE(JACK, Jack, jack, [
PKG_CHECK_MODULES(JACK, jack >= 0.99.10, HAVE_JACK="yes", HAVE_JACK="no")
AC_SUBST(JACK_CFLAGS)
AC_SUBST(JACK_LIBS)
2011-03-11 09:29:08 +00:00
2011-04-05 07:44:01 +00:00
AG_GST_PKG_CHECK_MODULES(JACK_0_120_1, jack >= 0.120.1 jack < 1.0)
if test x$HAVE_JACK_0_120_1 = xyes; then
AC_DEFINE(HAVE_JACK_0_120_1, 1, [defined if jack >= 0.120.1 is available])
2011-03-11 09:29:08 +00:00
fi
2011-04-11 09:44:19 +00:00
AG_GST_PKG_CHECK_MODULES(JACK_1_9_7, jack >= 1.9.7)
if test x$HAVE_JACK_1_9_7 = xyes; then
AC_DEFINE(HAVE_JACK_1_9_7, 1, [defined if jack >= 1.9.7 is available])
fi
2011-03-11 09:29:08 +00:00
2011-01-02 15:25:41 +00:00
])
2005-08-25 09:30:24 +00:00
dnl *** jpeg ***
dnl FIXME: we could use header checks here as well IMO
translit(dnm, m, l) AM_CONDITIONAL(USE_JPEG, true)
2007-02-28 19:29:25 +00:00
AG_GST_CHECK_FEATURE(JPEG, [jpeg library], jpeg, [
2005-08-25 09:30:24 +00:00
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-08 12:22:04 +00:00
dnl *** libcaca ***
translit(dnm, m, l) AM_CONDITIONAL(USE_LIBCACA, true)
2007-02-28 19:29:25 +00:00
AG_GST_CHECK_FEATURE(LIBCACA, [libcaca coloured ASCII art], cacasink, [
AG_GST_PKG_CHECK_MODULES(LIBCACA, caca)
2005-05-08 12:22:04 +00:00
])
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:47 +00:00
dnl *** libdv ***
translit(dnm, m, l) AM_CONDITIONAL(USE_LIBDV, true)
2007-02-28 19:29:25 +00:00
AG_GST_CHECK_FEATURE(LIBDV, [libdv DV demuxer/decoder], dv, [
AG_GST_PKG_CHECK_MODULES(LIBDV, libdv >= 0.100)
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:47 +00:00
])
2005-08-25 09:30:24 +00:00
dnl *** libpng ***
translit(dnm, m, l) AM_CONDITIONAL(USE_LIBPNG, true)
2007-02-28 19:29:25 +00:00
AG_GST_CHECK_FEATURE(LIBPNG, [Portable Network Graphics library], png, [
2010-03-15 20:29:06 +00:00
AG_GST_PKG_CHECK_MODULES(LIBPNG, libpng >= 1.2)
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
])
Add pulseaudio GStreamer element from gst-pulse. Development will continue here instead of pulseaudio SVN. Fixes bug ...
Original commit message from CVS:
* configure.ac:
* ext/pulse/Makefile.am:
* ext/pulse/plugin.c: (plugin_init):
* ext/pulse/pulsemixer.c: (gst_pulsemixer_interface_supported),
(gst_pulsemixer_implements_interface_init),
(gst_pulsemixer_init_interfaces), (gst_pulsemixer_base_init),
(gst_pulsemixer_class_init), (gst_pulsemixer_init),
(gst_pulsemixer_finalize), (gst_pulsemixer_set_property),
(gst_pulsemixer_get_property), (gst_pulsemixer_change_state):
* ext/pulse/pulsemixer.h:
* ext/pulse/pulsemixerctrl.c:
(gst_pulsemixer_ctrl_context_state_cb),
(gst_pulsemixer_ctrl_sink_info_cb),
(gst_pulsemixer_ctrl_source_info_cb),
(gst_pulsemixer_ctrl_subscribe_cb),
(gst_pulsemixer_ctrl_success_cb), (gst_pulsemixer_ctrl_open),
(gst_pulsemixer_ctrl_close), (gst_pulsemixer_ctrl_new),
(gst_pulsemixer_ctrl_free), (gst_pulsemixer_ctrl_list_tracks),
(gst_pulsemixer_ctrl_timeout_event), (restart_time_event),
(gst_pulsemixer_ctrl_set_volume), (gst_pulsemixer_ctrl_get_volume),
(gst_pulsemixer_ctrl_set_record), (gst_pulsemixer_ctrl_set_mute):
* ext/pulse/pulsemixerctrl.h:
* ext/pulse/pulsemixertrack.c: (gst_pulsemixer_track_class_init),
(gst_pulsemixer_track_init), (gst_pulsemixer_track_new):
* ext/pulse/pulsemixertrack.h:
* ext/pulse/pulseprobe.c: (gst_pulseprobe_context_state_cb),
(gst_pulseprobe_sink_info_cb), (gst_pulseprobe_source_info_cb),
(gst_pulseprobe_invalidate), (gst_pulseprobe_open),
(gst_pulseprobe_enumerate), (gst_pulseprobe_close),
(gst_pulseprobe_new), (gst_pulseprobe_free),
(gst_pulseprobe_get_properties), (gst_pulseprobe_needs_probe),
(gst_pulseprobe_probe_property), (gst_pulseprobe_get_values),
(gst_pulseprobe_set_server):
* ext/pulse/pulseprobe.h:
* ext/pulse/pulsesink.c: (gst_pulsesink_base_init),
(gst_pulsesink_class_init), (gst_pulsesink_init),
(gst_pulsesink_destroy_stream), (gst_pulsesink_destroy_context),
(gst_pulsesink_finalize), (gst_pulsesink_dispose),
(gst_pulsesink_set_property), (gst_pulsesink_get_property),
(gst_pulsesink_context_state_cb), (gst_pulsesink_stream_state_cb),
(gst_pulsesink_stream_request_cb),
(gst_pulsesink_stream_latency_update_cb), (gst_pulsesink_open),
(gst_pulsesink_close), (gst_pulsesink_prepare),
(gst_pulsesink_unprepare), (gst_pulsesink_write),
(gst_pulsesink_delay), (gst_pulsesink_success_cb),
(gst_pulsesink_reset), (gst_pulsesink_change_title),
(gst_pulsesink_event), (gst_pulsesink_get_type):
* ext/pulse/pulsesink.h:
* ext/pulse/pulsesrc.c: (gst_pulsesrc_interface_supported),
(gst_pulsesrc_implements_interface_init),
(gst_pulsesrc_init_interfaces), (gst_pulsesrc_base_init),
(gst_pulsesrc_class_init), (gst_pulsesrc_init),
(gst_pulsesrc_destroy_stream), (gst_pulsesrc_destroy_context),
(gst_pulsesrc_finalize), (gst_pulsesrc_dispose),
(gst_pulsesrc_set_property), (gst_pulsesrc_get_property),
(gst_pulsesrc_context_state_cb), (gst_pulsesrc_stream_state_cb),
(gst_pulsesrc_stream_request_cb), (gst_pulsesrc_open),
(gst_pulsesrc_close), (gst_pulsesrc_prepare),
(gst_pulsesrc_unprepare), (gst_pulsesrc_read),
(gst_pulsesrc_delay), (gst_pulsesrc_change_state),
(gst_pulsesrc_get_type):
* ext/pulse/pulsesrc.h:
* ext/pulse/pulseutil.c: (gst_pulse_fill_sample_spec),
(gst_pulse_client_name), (gst_pulse_gst_to_channel_map):
* ext/pulse/pulseutil.h:
Add pulseaudio GStreamer element from gst-pulse. Development will
continue here instead of pulseaudio SVN. Fixes bug #400679.
Only changes over gst-pulse SVN are added copyright to the top of
files and coding style changes.
2008-06-10 06:45:33 +00:00
dnl *** pulseaudio ***
translit(dnm, m, l) AM_CONDITIONAL(USE_PULSE, true)
AG_GST_CHECK_FEATURE(PULSE, [pulseaudio plug-in], pulseaudio, [
2010-08-17 14:26:41 +00:00
dnl used in ext/pulse/pulseutil.c
AC_CHECK_HEADERS([process.h])
2013-06-12 22:27:24 +00:00
AG_GST_PKG_CHECK_MODULES(PULSE, libpulse >= 2.0)
Add pulseaudio GStreamer element from gst-pulse. Development will continue here instead of pulseaudio SVN. Fixes bug ...
Original commit message from CVS:
* configure.ac:
* ext/pulse/Makefile.am:
* ext/pulse/plugin.c: (plugin_init):
* ext/pulse/pulsemixer.c: (gst_pulsemixer_interface_supported),
(gst_pulsemixer_implements_interface_init),
(gst_pulsemixer_init_interfaces), (gst_pulsemixer_base_init),
(gst_pulsemixer_class_init), (gst_pulsemixer_init),
(gst_pulsemixer_finalize), (gst_pulsemixer_set_property),
(gst_pulsemixer_get_property), (gst_pulsemixer_change_state):
* ext/pulse/pulsemixer.h:
* ext/pulse/pulsemixerctrl.c:
(gst_pulsemixer_ctrl_context_state_cb),
(gst_pulsemixer_ctrl_sink_info_cb),
(gst_pulsemixer_ctrl_source_info_cb),
(gst_pulsemixer_ctrl_subscribe_cb),
(gst_pulsemixer_ctrl_success_cb), (gst_pulsemixer_ctrl_open),
(gst_pulsemixer_ctrl_close), (gst_pulsemixer_ctrl_new),
(gst_pulsemixer_ctrl_free), (gst_pulsemixer_ctrl_list_tracks),
(gst_pulsemixer_ctrl_timeout_event), (restart_time_event),
(gst_pulsemixer_ctrl_set_volume), (gst_pulsemixer_ctrl_get_volume),
(gst_pulsemixer_ctrl_set_record), (gst_pulsemixer_ctrl_set_mute):
* ext/pulse/pulsemixerctrl.h:
* ext/pulse/pulsemixertrack.c: (gst_pulsemixer_track_class_init),
(gst_pulsemixer_track_init), (gst_pulsemixer_track_new):
* ext/pulse/pulsemixertrack.h:
* ext/pulse/pulseprobe.c: (gst_pulseprobe_context_state_cb),
(gst_pulseprobe_sink_info_cb), (gst_pulseprobe_source_info_cb),
(gst_pulseprobe_invalidate), (gst_pulseprobe_open),
(gst_pulseprobe_enumerate), (gst_pulseprobe_close),
(gst_pulseprobe_new), (gst_pulseprobe_free),
(gst_pulseprobe_get_properties), (gst_pulseprobe_needs_probe),
(gst_pulseprobe_probe_property), (gst_pulseprobe_get_values),
(gst_pulseprobe_set_server):
* ext/pulse/pulseprobe.h:
* ext/pulse/pulsesink.c: (gst_pulsesink_base_init),
(gst_pulsesink_class_init), (gst_pulsesink_init),
(gst_pulsesink_destroy_stream), (gst_pulsesink_destroy_context),
(gst_pulsesink_finalize), (gst_pulsesink_dispose),
(gst_pulsesink_set_property), (gst_pulsesink_get_property),
(gst_pulsesink_context_state_cb), (gst_pulsesink_stream_state_cb),
(gst_pulsesink_stream_request_cb),
(gst_pulsesink_stream_latency_update_cb), (gst_pulsesink_open),
(gst_pulsesink_close), (gst_pulsesink_prepare),
(gst_pulsesink_unprepare), (gst_pulsesink_write),
(gst_pulsesink_delay), (gst_pulsesink_success_cb),
(gst_pulsesink_reset), (gst_pulsesink_change_title),
(gst_pulsesink_event), (gst_pulsesink_get_type):
* ext/pulse/pulsesink.h:
* ext/pulse/pulsesrc.c: (gst_pulsesrc_interface_supported),
(gst_pulsesrc_implements_interface_init),
(gst_pulsesrc_init_interfaces), (gst_pulsesrc_base_init),
(gst_pulsesrc_class_init), (gst_pulsesrc_init),
(gst_pulsesrc_destroy_stream), (gst_pulsesrc_destroy_context),
(gst_pulsesrc_finalize), (gst_pulsesrc_dispose),
(gst_pulsesrc_set_property), (gst_pulsesrc_get_property),
(gst_pulsesrc_context_state_cb), (gst_pulsesrc_stream_state_cb),
(gst_pulsesrc_stream_request_cb), (gst_pulsesrc_open),
(gst_pulsesrc_close), (gst_pulsesrc_prepare),
(gst_pulsesrc_unprepare), (gst_pulsesrc_read),
(gst_pulsesrc_delay), (gst_pulsesrc_change_state),
(gst_pulsesrc_get_type):
* ext/pulse/pulsesrc.h:
* ext/pulse/pulseutil.c: (gst_pulse_fill_sample_spec),
(gst_pulse_client_name), (gst_pulse_gst_to_channel_map):
* ext/pulse/pulseutil.h:
Add pulseaudio GStreamer element from gst-pulse. Development will
continue here instead of pulseaudio SVN. Fixes bug #400679.
Only changes over gst-pulse SVN are added copyright to the top of
files and coding style changes.
2008-06-10 06:45:33 +00:00
])
2005-07-07 08:34:11 +00:00
dnl *** dv1394 ***
translit(dnm, m, l) AM_CONDITIONAL(USE_DV1394, true)
2007-02-28 19:29:25 +00:00
AG_GST_CHECK_FEATURE(DV1394, [raw1394 and avc1394 library], 1394, [
2010-06-08 07:22:30 +00:00
dnl first test for libraw1394 >= 2.0.0
AG_GST_PKG_CHECK_MODULES(RAW1394, libraw1394 >= 2.0.0)
2007-02-28 19:29:25 +00:00
AG_GST_PKG_CHECK_MODULES(LIBIEC61883, libiec61883 >= 1.0.0)
2005-07-07 08:34:11 +00:00
dnl now see how far we got
if test x$HAVE_RAW1394 = xyes && \
2006-06-19 10:00:18 +00:00
test x$HAVE_LIBIEC61883 = xyes; then
2007-02-28 19:29:25 +00:00
AG_GST_CHECK_LIBHEADER(AVC1394,
2006-06-19 10:00:18 +00:00
avc1394, avc1394_send_command, $RAW1394_LIBS,
libavc1394/avc1394.h, AVC1394_LIBS="-lavc1394")
2007-02-28 19:29:25 +00:00
AG_GST_CHECK_LIBHEADER(ROM1394,
2006-06-19 10:00:18 +00:00
rom1394, rom1394_free_directory, $RAW1394_LIBS,
libavc1394/rom1394.h, ROM1394_LIBS="-lrom1394")
if test x$HAVE_AVC1394 = xyes && \
test x$HAVE_AVC1394 = xyes && \
test x$HAVE_ROM1394 = xyes; then
HAVE_DV1394=yes
DV1394_LIBS="$RAW1394_LIBS $AVC1394_LIBS $ROM1394_LIBS $LIBIEC61883_LIBS"
DV1394_CFLAGS="$RAW1394_CFLAGS $LIBIEC61883_CFLAGS -DHAVE_LIBIEC61883"
AC_SUBST(DV1394_CFLAGS)
AC_SUBST(DV1394_LIBS)
fi
2005-07-07 08:34:11 +00:00
else
2006-06-19 10:00:18 +00:00
if test x$HAVE_RAW1394 = xno; then
2007-02-28 19:29:25 +00:00
AG_GST_PKG_CHECK_MODULES(RAW1394, libraw1394 >= 1.1.0)
AG_GST_CHECK_LIBHEADER(AVC1394,
2006-06-19 10:00:18 +00:00
avc1394, avc1394_send_command, $RAW1394_LIBS,
libavc1394/avc1394.h, AVC1394_LIBS="-lavc1394")
2007-02-28 19:29:25 +00:00
AG_GST_CHECK_LIBHEADER(ROM1394,
2006-06-19 10:00:18 +00:00
rom1394, rom1394_free_directory, $RAW1394_LIBS,
libavc1394/rom1394.h, ROM1394_LIBS="-lrom1394")
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"
DV1394_CFLAGS="$RAW1394_CFLAGS"
if test x$HAVE_LIBIEC61883 = xyes; then
DV1394_CFLAGS="$RAW1394_CFLAGS $LIBIEC61883_CFLAGS -DHAVE_LIBIEC61883"
DV1394_LIBS="$DV1394_LIBS $LIBIEC61883_LIBS"
fi
AC_SUBST(DV1394_CFLAGS)
AC_SUBST(DV1394_LIBS)
fi
fi
2005-07-07 08:34:11 +00:00
fi
])
2010-10-04 20:31:32 +00:00
AM_CONDITIONAL(USE_LIBIEC61883, [ test "x${HAVE_LIBIEC61883}" = xyes ] )
2005-07-07 08:34:11 +00:00
2005-08-25 09:30:24 +00:00
dnl *** shout2 ***
translit(dnm, m, l) AM_CONDITIONAL(USE_SHOUT2, true)
2007-02-28 19:29:25 +00:00
AG_GST_CHECK_FEATURE(SHOUT2, [Shoutcast/Icecast client library], shout2, [
AG_GST_PKG_CHECK_MODULES(SHOUT2, shout >= 2.0)
2005-05-10 20:10:43 +00:00
])
2003-01-16 09:54:28 +00:00
2008-04-12 23:30:54 +00:00
dnl *** soup ***
translit(dnm, m, l) AM_CONDITIONAL(USE_SOUP, true)
AG_GST_CHECK_FEATURE(SOUP, [soup http client plugin (2.4)], souphttpsrc, [
2013-08-14 12:10:32 +00:00
PKG_CHECK_MODULES(SOUP, libsoup-2.4 >= 2.38, [HAVE_SOUP="yes"], [HAVE_SOUP="no"])
2008-04-12 23:30:54 +00:00
AC_SUBST(SOUP_CFLAGS)
AC_SUBST(SOUP_LIBS)
])
2005-08-23 15:14:01 +00:00
dnl *** speex >= 1.0.4 or >= 1.1.5 ***
dnl 1.1.4 and earlier were not API/ABI compatible with 1.0
dnl 1.1.6 is the first to use a .pc/pkg-config file ***
dnl speex_jitter.h is 1.1.x only
translit(dnm, m, l) AM_CONDITIONAL(USE_SPEEX, true)
2007-02-28 19:29:25 +00:00
AG_GST_CHECK_FEATURE(SPEEX, [speex speech codec], speex, [
AG_GST_PKG_CHECK_MODULES(SPEEX, speex >= 1.1.6)
2006-06-11 13:57:19 +00:00
if test $HAVE_SPEEX = no
then
2007-02-28 19:29:25 +00:00
AG_GST_CHECK_LIBHEADER(SPEEX, speex, speex_bits_init, , speex/speex.h, [
2005-08-23 15:14:01 +00:00
AC_CHECK_HEADER(speex/speex_jitter.h, [
dnl speex 1.1.x :
2007-02-28 19:29:25 +00:00
AG_GST_CHECK_LIBHEADER(SPEEX, speex, speex_encode_int, , speex/speex.h, [
2005-08-23 15:14:01 +00:00
dnl speex 1.1.5 or + :
HAVE_SPEEX="yes"
SPEEX_LIBS="-lspeex"
AC_SUBST(SPEEX_CFLAGS)
AC_SUBST(SPEEX_LIBS)
],[
HAVE_SPEEX="no"
])
],[
dnl speex 1.0.x :
AC_CHECK_DECL(SPEEX_GET_LOOKAHEAD, [
dnl speex 1.0.4
HAVE_SPEEX="yes"
SPEEX_LIBS="-lspeex"
AC_SUBST(SPEEX_CFLAGS)
AC_SUBST(SPEEX_LIBS)
AC_DEFINE_UNQUOTED(SPEEX_1_0, 1,
[defined if speex 1.0.x API detected])
],[
HAVE_SPEEX="no"
AC_MSG_NOTICE(You need at least 1.0.4 to compile the speex plugin)
], [
#include <speex/speex.h>
])
])
])
2006-06-11 13:57:19 +00:00
fi
2005-08-23 15:14:01 +00:00
])
2005-08-02 11:42:33 +00:00
2006-05-01 11:46:33 +00:00
dnl *** taglib ***
translit(dnm, m, l) AM_CONDITIONAL(USE_TAGLIB, true)
2007-02-28 19:29:25 +00:00
AG_GST_CHECK_FEATURE(TAGLIB, [taglib tagging library], taglib, [
2009-04-26 14:59:50 +00:00
AG_GST_PKG_CHECK_MODULES(TAGLIB, taglib >= 1.5)
2006-05-01 11:46:33 +00:00
if test "x$HAVE_CXX" != "xyes"; then
USE_TAGLIB=false
AC_MSG_NOTICE([Not building taglib plugin: no C++ compiler found])
2008-07-17 14:40:51 +00:00
else
dnl work around bug in taglib 1.5 headers, remove once there is a 1.6
AS_CXX_COMPILER_FLAG([-Wno-attributes], [
TAGLIB_CXXFLAGS="$TAGLIB_CFLAGS -Wno-attributes"
], [
TAGLIB_CXXFLAGS="$TAGLIB_CFLAGS"
])
AC_SUBST(TAGLIB_CXXFLAGS)
2006-05-01 11:46:33 +00:00
fi
])
2012-09-16 13:43:39 +00:00
dnl *** vpx ***
translit(dnm, m, l) AM_CONDITIONAL(USE_VPX, vpx)
AG_GST_CHECK_FEATURE(VPX, [VPX decoder], vpx, [
PKG_CHECK_MODULES(VPX, vpx >= 1.1.0, [HAVE_VPX="yes"], [HAVE_VPX="no"])
2013-06-21 11:07:30 +00:00
HAVE_VP8=no
HAVE_VP9=no
2012-09-16 13:43:39 +00:00
if test $HAVE_VPX = "yes"; then
OLD_LIBS="$LIBS"
OLD_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS $VPX_CFLAGS"
LIBS="$LIBS $VPX_LIBS"
AC_CHECK_LIB(vpx, vpx_codec_vp8_cx_algo, [
HAVE_VP8=yes
AC_DEFINE(HAVE_VP8_ENCODER, 1, [Defined if the VP8 encoder is available])
])
AC_CHECK_LIB(vpx, vpx_codec_vp8_dx_algo, [
HAVE_VP8=yes
AC_DEFINE(HAVE_VP8_DECODER, 1, [Defined if the VP8 decoder is available])
])
2013-12-17 17:28:25 +00:00
AC_CHECK_LIB(vpx, vpx_codec_vp9_cx_algo, [
HAVE_VP9=yes
AC_DEFINE(HAVE_VP9_ENCODER, 1, [Defined if the VP9 encoder is available])
])
AC_CHECK_LIB(vpx, vpx_codec_vp9_dx_algo, [
HAVE_VP9=yes
AC_DEFINE(HAVE_VP9_DECODER, 1, [Defined if the VP9 decoder is available])
])
2012-09-16 13:43:39 +00:00
LIBS="$OLD_LIBS"
CFLAGS="$OLD_CFLAGS"
fi
AC_SUBST(VPX_LIBS)
AC_SUBST(VPX_CFLAGS)
])
2007-06-08 20:19:55 +00:00
dnl *** wavpack ***
translit(dnm, m, l) AM_CONDITIONAL(USE_WAVPACK, true)
AG_GST_CHECK_FEATURE(WAVPACK, [wavpack plug-in], wavpack, [
PKG_CHECK_MODULES(WAVPACK, wavpack >= 4.40.0, HAVE_WAVPACK=yes, [
PKG_CHECK_MODULES(WAVPACK, wavpack >= 4.20, [
HAVE_WAVPACK=yes
AC_DEFINE(WAVPACK_OLD_API, 1, [old wavpack API])
],[
HAVE_WAVPACK=no
])
])
AC_SUBST(WAVPACK_CFLAGS)
AC_SUBST(WAVPACK_LIBS)
])
2011-07-14 13:42:36 +00:00
dnl *** qtdemux & matroska prefer to have zlib ***
configure.ac: Check for optional dependency on zlib for id3demux
Original commit message from CVS:
* configure.ac:
Check for optional dependency on zlib for id3demux
* gst/id3demux/Makefile.am:
* gst/id3demux/gstid3demux.c: (gst_gst_id3demux_get_type),
(gst_id3demux_base_init), (gst_id3demux_class_init),
(gst_id3demux_reset), (gst_id3demux_init), (gst_id3demux_dispose),
(gst_id3demux_add_srcpad), (gst_id3demux_remove_srcpad),
(gst_id3demux_trim_buffer), (gst_id3demux_chain),
(gst_id3demux_set_property), (gst_id3demux_get_property),
(id3demux_get_upstream_size), (gst_id3demux_srcpad_event),
(gst_id3demux_read_id3v1), (gst_id3demux_read_id3v2),
(gst_id3demux_sink_activate), (gst_id3demux_src_activate_pull),
(gst_id3demux_src_checkgetrange), (gst_id3demux_read_range),
(gst_id3demux_src_getrange), (gst_id3demux_change_state),
(gst_id3demux_pad_query), (gst_id3demux_get_query_types),
(simple_find_peek), (simple_find_suggest),
(gst_id3demux_do_typefind), (gst_id3demux_send_tag_event),
(plugin_init):
* gst/id3demux/gstid3demux.h:
* gst/id3demux/id3tags.c: (read_synch_uint),
(id3demux_read_id3v1_tag), (id3demux_read_id3v2_tag),
(id3demux_id3v2_frame_hdr_size), (convert_fid_to_v240),
(id3demux_id3v2_frames_to_tag_list):
* gst/id3demux/id3tags.h:
* gst/id3demux/id3v2.4.0-frames.txt:
* gst/id3demux/id3v2.4.0-structure.txt:
* gst/id3demux/id3v2frames.c: (id3demux_id3v2_parse_frame),
(parse_comment_frame), (parse_text_identification_frame),
(id3v2_tag_to_taglist), (parse_split_strings):
All new LGPL id3 demuxer. Can use zlib for compressed frames,
otherwise it discards them. Works on my test files.
* gst/wavparse/gstwavparse.c: (gst_wavparse_loop):
Don't send EOS to a non-existing srcpad
The debug category can be static
2005-12-18 15:14:44 +00:00
translit(dnm, m, l) AM_CONDITIONAL(USE_ZLIB, true)
2011-07-14 13:42:36 +00:00
AG_GST_CHECK_FEATURE(ZLIB, [zlib support for qtdemux/matroska],, [
2007-02-28 19:29:25 +00:00
AG_GST_CHECK_LIBHEADER(ZLIB,
configure.ac: Check for optional dependency on zlib for id3demux
Original commit message from CVS:
* configure.ac:
Check for optional dependency on zlib for id3demux
* gst/id3demux/Makefile.am:
* gst/id3demux/gstid3demux.c: (gst_gst_id3demux_get_type),
(gst_id3demux_base_init), (gst_id3demux_class_init),
(gst_id3demux_reset), (gst_id3demux_init), (gst_id3demux_dispose),
(gst_id3demux_add_srcpad), (gst_id3demux_remove_srcpad),
(gst_id3demux_trim_buffer), (gst_id3demux_chain),
(gst_id3demux_set_property), (gst_id3demux_get_property),
(id3demux_get_upstream_size), (gst_id3demux_srcpad_event),
(gst_id3demux_read_id3v1), (gst_id3demux_read_id3v2),
(gst_id3demux_sink_activate), (gst_id3demux_src_activate_pull),
(gst_id3demux_src_checkgetrange), (gst_id3demux_read_range),
(gst_id3demux_src_getrange), (gst_id3demux_change_state),
(gst_id3demux_pad_query), (gst_id3demux_get_query_types),
(simple_find_peek), (simple_find_suggest),
(gst_id3demux_do_typefind), (gst_id3demux_send_tag_event),
(plugin_init):
* gst/id3demux/gstid3demux.h:
* gst/id3demux/id3tags.c: (read_synch_uint),
(id3demux_read_id3v1_tag), (id3demux_read_id3v2_tag),
(id3demux_id3v2_frame_hdr_size), (convert_fid_to_v240),
(id3demux_id3v2_frames_to_tag_list):
* gst/id3demux/id3tags.h:
* gst/id3demux/id3v2.4.0-frames.txt:
* gst/id3demux/id3v2.4.0-structure.txt:
* gst/id3demux/id3v2frames.c: (id3demux_id3v2_parse_frame),
(parse_comment_frame), (parse_text_identification_frame),
(id3v2_tag_to_taglist), (parse_split_strings):
All new LGPL id3 demuxer. Can use zlib for compressed frames,
otherwise it discards them. Works on my test files.
* gst/wavparse/gstwavparse.c: (gst_wavparse_loop):
Don't send EOS to a non-existing srcpad
The debug category can be static
2005-12-18 15:14:44 +00:00
z, uncompress,, zlib.h, [
HAVE_ZLIB="yes"
ZLIB_LIBS="-lz"
AC_SUBST(ZLIB_LIBS)
])
])
Decode the codec private data and following ContentEncoding if necessary.
Original commit message from CVS:
* configure.ac:
* gst/matroska/Makefile.am:
* gst/matroska/lzo.c: (get_byte), (get_len), (copy),
(copy_backptr), (lzo1x_decode), (main):
* gst/matroska/lzo.h:
* gst/matroska/matroska-demux.c:
(gst_matroska_demux_read_track_encoding),
(gst_matroska_decompress_data), (gst_matroska_decode_data),
(gst_matroska_decode_buffer),
(gst_matroska_decode_content_encodings),
(gst_matroska_demux_read_track_encodings),
(gst_matroska_demux_add_stream),
(gst_matroska_demux_parse_blockgroup_or_simpleblock):
* gst/matroska/matroska-ids.h:
Decode the codec private data and following ContentEncoding if
necessary.
Support bzip2, lzo and header stripped compression. For lzo use the
ffmpeg lzo implementation as liblzo is GPL licensed.
Fix zlib decompression.
2008-08-02 18:18:05 +00:00
dnl *** matroska prefers to have bz2 ***
translit(dnm, m, l) AM_CONDITIONAL(USE_BZ2, true)
AG_GST_CHECK_FEATURE(BZ2, [bz2 library for matroska ],, [
2013-08-22 12:55:14 +00:00
save_LIBS=$LIBS
LIBS="$LIBS -lbz2"
AC_MSG_CHECKING([for BZ2_bzlibVersion in -lbz2])
AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <bzlib.h>]], [[const char *version = BZ2_bzlibVersion ();]])],[HAVE_BZ2=yes],[HAVE_BZ2=no])
AC_MSG_RESULT($HAVE_BZ2)
LIBS=$save_LIBS
2013-08-26 11:47:53 +00:00
if test "x$HAVE_BZ2" = "xyes"; then
BZ2_LIBS="-lbz2"
fi
Decode the codec private data and following ContentEncoding if necessary.
Original commit message from CVS:
* configure.ac:
* gst/matroska/Makefile.am:
* gst/matroska/lzo.c: (get_byte), (get_len), (copy),
(copy_backptr), (lzo1x_decode), (main):
* gst/matroska/lzo.h:
* gst/matroska/matroska-demux.c:
(gst_matroska_demux_read_track_encoding),
(gst_matroska_decompress_data), (gst_matroska_decode_data),
(gst_matroska_decode_buffer),
(gst_matroska_decode_content_encodings),
(gst_matroska_demux_read_track_encodings),
(gst_matroska_demux_add_stream),
(gst_matroska_demux_parse_blockgroup_or_simpleblock):
* gst/matroska/matroska-ids.h:
Decode the codec private data and following ContentEncoding if
necessary.
Support bzip2, lzo and header stripped compression. For lzo use the
ffmpeg lzo implementation as liblzo is GPL licensed.
Fix zlib decompression.
2008-08-02 18:18:05 +00:00
AC_SUBST(BZ2_LIBS)
])
2006-06-17 14:35:37 +00:00
else
dnl not building plugins with external dependencies,
dnl but we still need to set the conditionals
AM_CONDITIONAL(USE_AALIB, false)
2008-09-01 13:29:29 +00:00
AM_CONDITIONAL(USE_BZ2, false)
2006-06-17 14:35:37 +00:00
AM_CONDITIONAL(USE_CAIRO, false)
2008-09-01 13:29:29 +00:00
AM_CONDITIONAL(USE_DIRECTSOUND, false)
AM_CONDITIONAL(USE_DV1394, false)
2006-06-17 14:35:37 +00:00
AM_CONDITIONAL(USE_FLAC, false)
AM_CONDITIONAL(USE_GDK_PIXBUF, false)
2008-09-01 13:29:29 +00:00
AM_CONDITIONAL(USE_GST_V4L2, false)
2011-01-02 15:25:41 +00:00
AM_CONDITIONAL(USE_JACK, false)
2006-06-17 14:35:37 +00:00
AM_CONDITIONAL(USE_JPEG, false)
AM_CONDITIONAL(USE_LIBCACA, false)
AM_CONDITIONAL(USE_LIBDV, false)
2010-11-01 16:04:20 +00:00
AM_CONDITIONAL(USE_LIBIEC61883, false)
2006-06-17 14:35:37 +00:00
AM_CONDITIONAL(USE_LIBPNG, false)
2008-09-01 13:29:29 +00:00
AM_CONDITIONAL(USE_OSS, false)
2010-05-11 15:08:21 +00:00
AM_CONDITIONAL(USE_OSS4, false)
2008-09-01 13:29:29 +00:00
AM_CONDITIONAL(USE_OSX_AUDIO, false)
AM_CONDITIONAL(USE_OSX_VIDEO, false)
AM_CONDITIONAL(USE_PULSE, false)
2006-06-17 14:35:37 +00:00
AM_CONDITIONAL(USE_SHOUT2, false)
2008-04-12 23:30:54 +00:00
AM_CONDITIONAL(USE_SOUP, false)
2006-06-17 14:35:37 +00:00
AM_CONDITIONAL(USE_SPEEX, false)
2008-09-01 13:29:29 +00:00
AM_CONDITIONAL(USE_SUNAUDIO, false)
2006-06-17 14:35:37 +00:00
AM_CONDITIONAL(USE_TAGLIB, false)
2012-09-16 13:43:39 +00:00
AM_CONDITIONAL(USE_VPX, false)
2011-12-26 22:22:59 +00:00
AM_CONDITIONAL(USE_WAVEFORM, false)
2007-06-08 20:19:55 +00:00
AM_CONDITIONAL(USE_WAVPACK, false)
2008-09-01 13:29:29 +00:00
AM_CONDITIONAL(USE_X, false)
AM_CONDITIONAL(USE_XSHM, false)
AM_CONDITIONAL(USE_XVIDEO, false)
2006-06-17 14:35:37 +00:00
AM_CONDITIONAL(USE_ZLIB, false)
2005-11-14 02:13:35 +00:00
fi dnl of EXT plugins
2005-06-29 16:14:30 +00:00
2005-11-14 02:13:35 +00:00
dnl *** finalize CFLAGS, LDFLAGS, LIBS
2001-12-17 18:37:01 +00:00
2005-11-14 02:13:35 +00:00
dnl Overview:
dnl GST_OPTION_CFLAGS: common flags for profiling, debugging, errors, ...
dnl GST_*: flags shared by all built objects
2005-11-27 17:02:53 +00:00
dnl GST_ALL_LDFLAGS: linker flags shared by all
dnl GST_LIB_LDFLAGS: not needed, we don't install libraries
2005-11-14 02:13:35 +00:00
dnl GST_LT_LDFLAGS: library versioning of our libraries
dnl GST_PLUGIN_LDFLAGS: flags to be used for all plugins
2005-10-12 03:07:26 +00:00
2005-11-14 02:13:35 +00:00
dnl GST_OPTION_CFLAGS
if test "x$USE_DEBUG" = xyes; then
PROFILE_CFLAGS="-g"
fi
AC_SUBST(PROFILE_CFLAGS)
2005-08-30 19:01:18 +00:00
2008-02-08 01:07:02 +00:00
if test "x$PACKAGE_VERSION_NANO" = "x1"; then
2010-01-27 01:18:51 +00:00
dnl Define _only_ for git (not pre-releases or releases)
2010-09-21 10:31:59 +00:00
DEPRECATED_CFLAGS="-DGST_DISABLE_DEPRECATED"
2007-12-09 04:29:08 +00:00
else
DEPRECATED_CFLAGS=""
fi
2005-11-14 02:13:35 +00:00
AC_SUBST(DEPRECATED_CFLAGS)
2005-08-30 19:01:18 +00:00
2012-05-30 09:09:25 +00:00
dnl every flag in GST_OPTION_CFLAGS, GST_OPTION_CXXFLAGS and GST_OPTION_OBJCFLAGS can be overridden
2008-02-23 12:23:38 +00:00
dnl at make time with e.g. make ERROR_CFLAGS=""
2010-03-10 20:01:20 +00:00
GST_OPTION_CFLAGS="\$(WARNING_CFLAGS) \$(ERROR_CFLAGS) \$(DEBUG_CFLAGS) \$(PROFILE_CFLAGS) \$(GCOV_CFLAGS) \$(OPT_CFLAGS) \$(DEPRECATED_CFLAGS)"
2010-03-10 21:15:04 +00:00
GST_OPTION_CXXFLAGS="\$(WARNING_CXXFLAGS) \$(ERROR_CXXFLAGS) \$(DEBUG_CFLAGS) \$(PROFILE_CFLAGS) \$(GCOV_CFLAGS) \$(OPT_CFLAGS) \$(DEPRECATED_CFLAGS)"
2012-05-30 09:09:25 +00:00
GST_OPTION_OBJCFLAGS="\$(WARNING_OBJCFLAGS) \$(ERROR_OBJCFLAGS) \$(DEBUG_CFLAGS) \$(PROFILE_CFLAGS) \$(GCOV_CFLAGS) \$(OPT_CFLAGS) \$(DEPRECATED_CFLAGS)"
2005-11-14 02:13:35 +00:00
AC_SUBST(GST_OPTION_CFLAGS)
2008-02-23 12:23:38 +00:00
AC_SUBST(GST_OPTION_CXXFLAGS)
2012-05-30 09:09:25 +00:00
AC_SUBST(GST_OPTION_OBJCFLAGS)
2003-10-31 20:03:30 +00:00
2005-11-14 02:13:35 +00:00
dnl our libraries need to be versioned correctly
AC_SUBST(GST_LT_LDFLAGS)
dnl FIXME: do we want to rename to GST_ALL_* ?
dnl prefer internal headers to already installed ones
dnl also add builddir include for enumtypes and marshal
dnl add ERROR_CFLAGS, but overridable
2011-07-05 09:12:25 +00:00
GST_CFLAGS="$GST_CFLAGS -DGST_USE_UNSTABLE_API"
2010-06-14 11:27:30 +00:00
GST_CXXFLAGS="-I\$(top_srcdir)/gst-libs $GST_CFLAGS $GLIB_EXTRA_CFLAGS \$(GST_OPTION_CXXFLAGS)"
2012-05-30 11:24:03 +00:00
GST_OBJCFLAGS="-I\$(top_srcdir)/gst-libs $GST_CFLAGS $GLIB_EXTRA_CFLAGS \$(GST_OPTION_OBJCFLAGS)"
2010-06-14 11:27:30 +00:00
GST_CFLAGS="-I\$(top_srcdir)/gst-libs $GST_CFLAGS $GLIB_EXTRA_CFLAGS \$(GST_OPTION_CFLAGS)"
2005-11-14 02:13:35 +00:00
AC_SUBST(GST_CFLAGS)
2008-02-23 12:23:38 +00:00
AC_SUBST(GST_CXXFLAGS)
2012-05-30 09:09:25 +00:00
AC_SUBST(GST_OBJCFLAGS)
2005-11-14 02:13:35 +00:00
AC_SUBST(GST_LIBS)
2005-11-27 17:02:53 +00:00
dnl LDFLAGS really should only contain flags, not libs - they get added before
dnl whatevertarget_LIBS and -L flags here affect the rest of the linking
GST_ALL_LDFLAGS="-no-undefined"
AC_SUBST(GST_ALL_LDFLAGS)
2005-11-14 02:13:35 +00:00
dnl this really should only contain flags, not libs - they get added before
dnl whatevertarget_LIBS and -L flags here affect the rest of the linking
2012-10-24 10:14:50 +00:00
GST_PLUGIN_LDFLAGS="-module -avoid-version -export-symbols-regex '^[_]*gst_plugin_.*' $GST_ALL_LDFLAGS"
2005-11-14 02:13:35 +00:00
AC_SUBST(GST_PLUGIN_LDFLAGS)
dnl *** output files ***
2001-12-17 18:37:01 +00:00
2013-08-03 00:38:34 +00:00
$MKDIR_P tests/check/orc
2005-08-30 17:32:12 +00:00
dnl keep this alphabetic per directory, please
2002-02-08 20:12:28 +00:00
AC_CONFIG_FILES(
2001-12-17 18:37:01 +00:00
Makefile
2001-12-21 11:46:15 +00:00
gst/Makefile
2005-05-18 09:58:13 +00:00
gst/alpha/Makefile
2006-02-06 10:56:07 +00:00
gst/apetag/Makefile
2006-08-27 17:14:06 +00:00
gst/audiofx/Makefile
2011-04-07 13:43:42 +00:00
gst/audioparsers/Makefile
2005-09-22 22:38:48 +00:00
gst/auparse/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:10 +00:00
gst/autodetect/Makefile
2005-06-30 09:04:43 +00:00
gst/avi/Makefile
2005-11-21 19:50:25 +00:00
gst/cutter/Makefile
2009-05-13 08:46:40 +00:00
gst/deinterlace/Makefile
2013-03-09 01:18:30 +00:00
gst/dtmf/Makefile
2009-05-13 20:46:44 +00:00
gst/debugutils/Makefile
2002-05-08 20:18:12 +00:00
gst/effectv/Makefile
2008-02-08 02:49:20 +00:00
gst/equalizer/Makefile
2009-05-13 08:30:35 +00:00
gst/flv/Makefile
2011-04-30 16:46:36 +00:00
gst/goom/Makefile
gst/goom2k1/Makefile
configure.ac: Check for optional dependency on zlib for id3demux
Original commit message from CVS:
* configure.ac:
Check for optional dependency on zlib for id3demux
* gst/id3demux/Makefile.am:
* gst/id3demux/gstid3demux.c: (gst_gst_id3demux_get_type),
(gst_id3demux_base_init), (gst_id3demux_class_init),
(gst_id3demux_reset), (gst_id3demux_init), (gst_id3demux_dispose),
(gst_id3demux_add_srcpad), (gst_id3demux_remove_srcpad),
(gst_id3demux_trim_buffer), (gst_id3demux_chain),
(gst_id3demux_set_property), (gst_id3demux_get_property),
(id3demux_get_upstream_size), (gst_id3demux_srcpad_event),
(gst_id3demux_read_id3v1), (gst_id3demux_read_id3v2),
(gst_id3demux_sink_activate), (gst_id3demux_src_activate_pull),
(gst_id3demux_src_checkgetrange), (gst_id3demux_read_range),
(gst_id3demux_src_getrange), (gst_id3demux_change_state),
(gst_id3demux_pad_query), (gst_id3demux_get_query_types),
(simple_find_peek), (simple_find_suggest),
(gst_id3demux_do_typefind), (gst_id3demux_send_tag_event),
(plugin_init):
* gst/id3demux/gstid3demux.h:
* gst/id3demux/id3tags.c: (read_synch_uint),
(id3demux_read_id3v1_tag), (id3demux_read_id3v2_tag),
(id3demux_id3v2_frame_hdr_size), (convert_fid_to_v240),
(id3demux_id3v2_frames_to_tag_list):
* gst/id3demux/id3tags.h:
* gst/id3demux/id3v2.4.0-frames.txt:
* gst/id3demux/id3v2.4.0-structure.txt:
* gst/id3demux/id3v2frames.c: (id3demux_id3v2_parse_frame),
(parse_comment_frame), (parse_text_identification_frame),
(id3v2_tag_to_taglist), (parse_split_strings):
All new LGPL id3 demuxer. Can use zlib for compressed frames,
otherwise it discards them. Works on my test files.
* gst/wavparse/gstwavparse.c: (gst_wavparse_loop):
Don't send EOS to a non-existing srcpad
The debug category can be static
2005-12-18 15:14:44 +00:00
gst/id3demux/Makefile
Add icydemux, and tests.
Original commit message from CVS:
* configure.ac:
* gst/icydemux/Makefile.am:
* gst/icydemux/gsticydemux.c: (gst_icydemux_get_type),
(gst_icydemux_base_init), (gst_icydemux_class_init),
(gst_icydemux_reset), (gst_icydemux_init),
(gst_icydemux_sink_setcaps), (gst_icydemux_dispose),
(gst_icydemux_add_srcpad), (gst_icydemux_remove_srcpad),
(unicodify), (gst_icydemux_unicodify),
(gst_icydemux_parse_and_send_tags),
(gst_icydemux_typefind_or_forward), (gst_icydemux_add_meta),
(gst_icydemux_chain), (gst_icydemux_change_state),
(gst_icydemux_send_tag_event), (plugin_init):
* gst/icydemux/gsticydemux.h:
* tests/check/Makefile.am:
* tests/check/elements/icydemux.c: (typefind_succeed),
(plugin_init), (icydemux_found_pad), (create_icydemux),
(cleanup_icydemux), (push_data), (GST_START_TEST),
(icydemux_suite), (main):
Add icydemux, and tests.
2006-04-21 09:27:11 +00:00
gst/icydemux/Makefile
2010-05-11 13:23:47 +00:00
gst/imagefreeze/Makefile
2008-07-19 01:01:13 +00:00
gst/interleave/Makefile
2011-04-30 16:46:36 +00:00
gst/isomp4/Makefile
2005-05-06 11:12:18 +00:00
gst/law/Makefile
2005-07-04 14:02:46 +00:00
gst/level/Makefile
2005-10-14 12:43:30 +00:00
gst/matroska/Makefile
Port monoscope visualisation to 0.10.
Original commit message from CVS:
* configure.ac:
* gst/monoscope/Makefile.am:
* gst/monoscope/gstmonoscope.c: (gst_monoscope_base_init),
(gst_monoscope_class_init), (gst_monoscope_init),
(gst_monoscope_finalize), (gst_monoscope_reset),
(gst_monoscope_sink_setcaps), (gst_monoscope_src_setcaps),
(gst_monoscope_src_negotiate), (get_buffer), (gst_monoscope_chain),
(gst_monoscope_sink_event), (gst_monoscope_src_event),
(gst_monoscope_change_state), (plugin_init):
* gst/monoscope/gstmonoscope.h:
Port monoscope visualisation to 0.10.
2006-07-03 20:35:45 +00:00
gst/monoscope/Makefile
2008-02-08 04:25:32 +00:00
gst/multifile/Makefile
Ported multipart mux/demux to 0.9.
Original commit message from CVS:
2005-11-30 Julien MOUTTE <julien@moutte.net>
* configure.ac:
* PORTED_O9:
* gst/multipart/Makefile.am:
* gst/multipart/multipartdemux.c:
(gst_multipart_demux_base_init),
(gst_multipart_demux_class_init), (gst_multipart_demux_init),
(gst_multipart_find_pad_by_mime), (gst_multipart_demux_chain),
(gst_multipart_demux_change_state),
(gst_multipart_demux_plugin_init):
* gst/multipart/multipartmux.c: (gst_multipart_mux_class_init),
(gst_multipart_mux_init), (gst_multipart_mux_finalize),
(gst_multipart_mux_sinkconnect),
(gst_multipart_mux_request_new_pad),
(gst_multipart_mux_handle_src_event),
(gst_multipart_mux_queue_pads), (gst_multipart_mux_collected),
(gst_multipart_mux_change_state): Ported multipart mux/demux to
0.9.
2005-11-30 10:18:42 +00:00
gst/multipart/Makefile
2008-07-19 01:01:13 +00:00
gst/replaygain/Makefile
2005-05-12 20:05:18 +00:00
gst/rtp/Makefile
2009-08-11 01:31:44 +00:00
gst/rtpmanager/Makefile
2005-05-12 20:05:18 +00:00
gst/rtsp/Makefile
2010-02-12 10:18:26 +00:00
gst/shapewipe/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
2008-02-08 03:28:57 +00:00
gst/spectrum/Makefile
2005-05-12 20:05:18 +00:00
gst/udp/Makefile
2005-07-05 10:11:24 +00:00
gst/videobox/Makefile
2007-06-12 20:15:29 +00:00
gst/videocrop/Makefile
2005-05-06 11:25:56 +00:00
gst/videofilter/Makefile
configure.ac: Adding videomixer.
Original commit message from CVS:
2005-10-17 Julien MOUTTE <julien@moutte.net>
* configure.ac: Adding videomixer.
* ext/libpng/gstpngdec.c: (gst_pngdec_class_init),
(user_read_data), (gst_pngdec_chain): More debugging.
* gst/alpha/Makefile.am: Adding alphacolor
* gst/alpha/gstalphacolor.c: (gst_alpha_color_base_init),
(gst_alpha_color_class_init), (gst_alpha_color_init),
(gst_alpha_color_transform_caps), (gst_alpha_color_set_caps),
(transform_rgb), (transform_bgr),
(gst_alpha_color_transform_ip),
(plugin_init): Ported to 0.9 using in place base tranform.
* gst/videomixer/Makefile.am:
* gst/videomixer/videomixer.c: (gst_videomixer_pad_get_type),
(gst_videomixer_pad_class_init),
(gst_videomixer_pad_sink_setcaps),
(gst_videomixer_pad_link), (gst_videomixer_pad_unlink),
(gst_videomixer_pad_init), (gst_videomixer_class_init),
(gst_videomixer_init), (gst_videomixer_getcaps),
(gst_videomixer_request_new_pad), (gst_videomixer_fill_queues),
(gst_videomixer_blend_buffers), (gst_videomixer_update_queues),
(gst_videomixer_collected), (gst_videomixer_change_state):
Ported
to 0.9 using collectpads.
2005-10-17 08:46:30 +00:00
gst/videomixer/Makefile
2005-08-30 12:59:30 +00:00
gst/wavenc/Makefile
2005-07-20 11:26:05 +00:00
gst/wavparse/Makefile
2005-10-16 21:19:44 +00:00
gst/flx/Makefile
2009-05-15 23:00:07 +00:00
gst/y4m/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
2005-10-12 03:07:26 +00:00
ext/cairo/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:47 +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
2006-02-24 19:51:29 +00:00
ext/gdk_pixbuf/Makefile
2011-01-02 15:25:41 +00:00
ext/jack/Makefile
ext/jpeg/Makefile
2005-05-08 12:22:04 +00:00
ext/libcaca/Makefile
2005-08-02 11:42:33 +00:00
ext/libpng/Makefile
Add pulseaudio GStreamer element from gst-pulse. Development will continue here instead of pulseaudio SVN. Fixes bug ...
Original commit message from CVS:
* configure.ac:
* ext/pulse/Makefile.am:
* ext/pulse/plugin.c: (plugin_init):
* ext/pulse/pulsemixer.c: (gst_pulsemixer_interface_supported),
(gst_pulsemixer_implements_interface_init),
(gst_pulsemixer_init_interfaces), (gst_pulsemixer_base_init),
(gst_pulsemixer_class_init), (gst_pulsemixer_init),
(gst_pulsemixer_finalize), (gst_pulsemixer_set_property),
(gst_pulsemixer_get_property), (gst_pulsemixer_change_state):
* ext/pulse/pulsemixer.h:
* ext/pulse/pulsemixerctrl.c:
(gst_pulsemixer_ctrl_context_state_cb),
(gst_pulsemixer_ctrl_sink_info_cb),
(gst_pulsemixer_ctrl_source_info_cb),
(gst_pulsemixer_ctrl_subscribe_cb),
(gst_pulsemixer_ctrl_success_cb), (gst_pulsemixer_ctrl_open),
(gst_pulsemixer_ctrl_close), (gst_pulsemixer_ctrl_new),
(gst_pulsemixer_ctrl_free), (gst_pulsemixer_ctrl_list_tracks),
(gst_pulsemixer_ctrl_timeout_event), (restart_time_event),
(gst_pulsemixer_ctrl_set_volume), (gst_pulsemixer_ctrl_get_volume),
(gst_pulsemixer_ctrl_set_record), (gst_pulsemixer_ctrl_set_mute):
* ext/pulse/pulsemixerctrl.h:
* ext/pulse/pulsemixertrack.c: (gst_pulsemixer_track_class_init),
(gst_pulsemixer_track_init), (gst_pulsemixer_track_new):
* ext/pulse/pulsemixertrack.h:
* ext/pulse/pulseprobe.c: (gst_pulseprobe_context_state_cb),
(gst_pulseprobe_sink_info_cb), (gst_pulseprobe_source_info_cb),
(gst_pulseprobe_invalidate), (gst_pulseprobe_open),
(gst_pulseprobe_enumerate), (gst_pulseprobe_close),
(gst_pulseprobe_new), (gst_pulseprobe_free),
(gst_pulseprobe_get_properties), (gst_pulseprobe_needs_probe),
(gst_pulseprobe_probe_property), (gst_pulseprobe_get_values),
(gst_pulseprobe_set_server):
* ext/pulse/pulseprobe.h:
* ext/pulse/pulsesink.c: (gst_pulsesink_base_init),
(gst_pulsesink_class_init), (gst_pulsesink_init),
(gst_pulsesink_destroy_stream), (gst_pulsesink_destroy_context),
(gst_pulsesink_finalize), (gst_pulsesink_dispose),
(gst_pulsesink_set_property), (gst_pulsesink_get_property),
(gst_pulsesink_context_state_cb), (gst_pulsesink_stream_state_cb),
(gst_pulsesink_stream_request_cb),
(gst_pulsesink_stream_latency_update_cb), (gst_pulsesink_open),
(gst_pulsesink_close), (gst_pulsesink_prepare),
(gst_pulsesink_unprepare), (gst_pulsesink_write),
(gst_pulsesink_delay), (gst_pulsesink_success_cb),
(gst_pulsesink_reset), (gst_pulsesink_change_title),
(gst_pulsesink_event), (gst_pulsesink_get_type):
* ext/pulse/pulsesink.h:
* ext/pulse/pulsesrc.c: (gst_pulsesrc_interface_supported),
(gst_pulsesrc_implements_interface_init),
(gst_pulsesrc_init_interfaces), (gst_pulsesrc_base_init),
(gst_pulsesrc_class_init), (gst_pulsesrc_init),
(gst_pulsesrc_destroy_stream), (gst_pulsesrc_destroy_context),
(gst_pulsesrc_finalize), (gst_pulsesrc_dispose),
(gst_pulsesrc_set_property), (gst_pulsesrc_get_property),
(gst_pulsesrc_context_state_cb), (gst_pulsesrc_stream_state_cb),
(gst_pulsesrc_stream_request_cb), (gst_pulsesrc_open),
(gst_pulsesrc_close), (gst_pulsesrc_prepare),
(gst_pulsesrc_unprepare), (gst_pulsesrc_read),
(gst_pulsesrc_delay), (gst_pulsesrc_change_state),
(gst_pulsesrc_get_type):
* ext/pulse/pulsesrc.h:
* ext/pulse/pulseutil.c: (gst_pulse_fill_sample_spec),
(gst_pulse_client_name), (gst_pulse_gst_to_channel_map):
* ext/pulse/pulseutil.h:
Add pulseaudio GStreamer element from gst-pulse. Development will
continue here instead of pulseaudio SVN. Fixes bug #400679.
Only changes over gst-pulse SVN are added copyright to the top of
files and coding style changes.
2008-06-10 06:45:33 +00:00
ext/pulse/Makefile
2005-07-07 08:34:11 +00:00
ext/raw1394/Makefile
2005-05-09 20:09:44 +00:00
ext/shout2/Makefile
2008-04-12 23:30:54 +00:00
ext/soup/Makefile
2005-08-23 15:14:01 +00:00
ext/speex/Makefile
2006-05-01 11:46:33 +00:00
ext/taglib/Makefile
2012-09-16 13:43:39 +00:00
ext/vpx/Makefile
2007-06-08 20:19:55 +00:00
ext/wavpack/Makefile
2005-08-30 17:32:12 +00:00
sys/Makefile
2007-06-08 17:37:02 +00:00
sys/directsound/Makefile
2005-08-30 17:32:12 +00:00
sys/oss/Makefile
2010-05-11 15:08:21 +00:00
sys/oss4/Makefile
Activate osxaudio in gst-plugins-good with proper build setup.
Original commit message from CVS:
* configure.ac:
* sys/Makefile.am:
* sys/osxaudio/Makefile.am:
* sys/osxaudio/gstosxaudio.c:
* sys/osxaudio/gstosxaudiosink.c:
(gst_osx_audio_sink_osxelement_do_init), (gst_osx_audio_sink_init),
(gst_osx_audio_sink_getcaps),
(gst_osx_audio_sink_create_ringbuffer), (plugin_init):
* sys/osxaudio/gstosxaudiosrc.c:
(gst_osx_audio_src_osxelement_do_init), (gst_osx_audio_src_init),
(gst_osx_audio_src_create_ringbuffer):
* sys/osxaudio/gstosxringbuffer.c: (gst_osx_ring_buffer_get_type),
(gst_osx_ring_buffer_class_init), (gst_osx_ring_buffer_init),
(gst_osx_ring_buffer_acquire), (gst_osx_ring_buffer_start),
(gst_osx_ring_buffer_pause), (gst_osx_ring_buffer_stop):
* sys/osxaudio/gstosxringbuffer.h:
Activate osxaudio in gst-plugins-good with proper build setup.
Add inlined documentation.
Fix debug statements
Fix ringbuffer when pausing.
Fixes #323471
2007-03-15 11:39:53 +00:00
sys/osxaudio/Makefile
2007-06-12 20:15:29 +00:00
sys/osxvideo/Makefile
2010-05-11 15:08:21 +00:00
sys/sunaudio/Makefile
2006-10-03 18:15:58 +00:00
sys/v4l2/Makefile
2007-06-14 12:14:24 +00:00
sys/waveform/Makefile
2006-04-28 18:57:09 +00:00
sys/ximage/Makefile
2005-07-10 12:52:20 +00:00
po/Makefile.in
2005-11-30 18:48:56 +00:00
tests/Makefile
2005-11-30 18:24:08 +00:00
tests/check/Makefile
2005-12-30 15:28:44 +00:00
tests/examples/Makefile
Add audioiirfilter and audiofirfilter elements which allow generic IIR/FIR filters to be implemented by providing the...
Original commit message from CVS:
* configure.ac:
* gst/audiofx/Makefile.am:
* gst/audiofx/audiofirfilter.c: (gst_audio_fir_filter_base_init),
(gst_audio_fir_filter_class_init),
(gst_audio_fir_filter_update_kernel), (gst_audio_fir_filter_init),
(gst_audio_fir_filter_setup), (gst_audio_fir_filter_finalize),
(gst_audio_fir_filter_set_property),
(gst_audio_fir_filter_get_property):
* gst/audiofx/audiofirfilter.h:
* gst/audiofx/audiofx.c: (plugin_init):
* gst/audiofx/audioiirfilter.c: (gst_audio_iir_filter_base_init),
(gst_audio_iir_filter_class_init),
(gst_audio_iir_filter_update_coefficients),
(gst_audio_iir_filter_init), (gst_audio_iir_filter_setup),
(gst_audio_iir_filter_finalize),
(gst_audio_iir_filter_set_property),
(gst_audio_iir_filter_get_property):
* gst/audiofx/audioiirfilter.h:
Add audioiirfilter and audiofirfilter elements which allow
generic IIR/FIR filters to be implemented by providing the
filter coefficients. Fixes bug #567577.
* docs/plugins/Makefile.am:
* docs/plugins/gst-plugins-good-plugins-docs.sgml:
* docs/plugins/gst-plugins-good-plugins-sections.txt:
* docs/plugins/gst-plugins-good-plugins.args:
* docs/plugins/gst-plugins-good-plugins.hierarchy:
* docs/plugins/gst-plugins-good-plugins.signals:
* docs/plugins/inspect/plugin-alaw.xml:
* docs/plugins/inspect/plugin-audiofx.xml:
* docs/plugins/inspect/plugin-avi.xml:
* docs/plugins/inspect/plugin-flac.xml:
* docs/plugins/inspect/plugin-mulaw.xml:
* docs/plugins/inspect/plugin-video4linux2.xml:
* docs/plugins/inspect/plugin-wavparse.xml:
Add documentation for the audioiirfilter and audiofirfilter
elements.
* tests/check/Makefile.am:
* tests/check/elements/audiofirfilter.c: (on_message),
(on_rate_changed), (on_handoff), (GST_START_TEST),
(audiofirfilter_suite):
* tests/check/elements/audioiirfilter.c: (on_message),
(on_rate_changed), (on_handoff), (GST_START_TEST),
(audioiirfilter_suite):
* tests/examples/Makefile.am:
* tests/examples/audiofx/Makefile.am:
* tests/examples/audiofx/firfilter-example.c: (on_message),
(on_rate_changed), (main):
* tests/examples/audiofx/iirfilter-example.c: (on_message),
(on_rate_changed), (main):
Add unit tests and example applications for the two filter
elements.
2009-01-13 19:23:57 +00:00
tests/examples/audiofx/Makefile
2011-01-28 00:14:04 +00:00
tests/examples/cairo/Makefile
2008-02-08 02:49:20 +00:00
tests/examples/equalizer/Makefile
2011-01-02 15:25:41 +00:00
tests/examples/jack/Makefile
2005-12-30 15:28:44 +00:00
tests/examples/level/Makefile
2010-09-22 17:01:40 +00:00
tests/examples/pulse/Makefile
2007-09-05 09:25:23 +00:00
tests/examples/rtp/Makefile
2010-02-12 10:18:26 +00:00
tests/examples/shapewipe/Makefile
2008-02-08 03:28:57 +00:00
tests/examples/spectrum/Makefile
2009-07-03 06:47:12 +00:00
tests/examples/v4l2/Makefile
2007-03-06 23:19:30 +00:00
tests/files/Makefile
tests/icles/Makefile
add docs to build
Original commit message from CVS:
* Makefile.am:
* configure.ac:
add docs to build
* common/plugins.xsl:
wrap Description into a refsect2
* docs/Makefile.am:
* docs/plugins/Makefile.am:
* docs/plugins/gst-plugins-good-plugins-docs.sgml:
* docs/plugins/gst-plugins-good-plugins-sections.txt:
* gst/goom/Makefile.am:
* gst/goom/gstgoom.c: (gst_goom_get_type), (gst_goom_base_init),
(gst_goom_class_init), (gst_goom_init), (gst_goom_dispose),
(gst_goom_sink_setcaps), (gst_goom_src_setcaps),
(gst_goom_src_negotiate), (gst_goom_event), (gst_goom_chain),
(gst_goom_change_state):
* gst/goom/gstgoom.h:
GstGOOM -> GstGoom
add an example launch line
* gst/level/gstlevel.h:
* gst/monoscope/gstmonoscope.c:
cleanups
2005-09-01 17:55:14 +00:00
common/Makefile
common/m4/Makefile
2004-03-18 12:38:53 +00:00
m4/Makefile
2006-05-03 14:28:57 +00:00
docs/Makefile
docs/plugins/Makefile
docs/version.entities
2006-04-03 09:02:29 +00:00
pkgconfig/Makefile
pkgconfig/gstreamer-plugins-good-uninstalled.pc
2005-08-30 17:32:12 +00:00
gst-plugins-good.spec
2001-12-17 18:37:01 +00:00
)
2009-02-26 04:47:15 +00:00
dnl Create the config.h file for Visual Studio builds
dnl Beware of spaces and /'s in some of the shell variable contents.
sed \
-e 's/.*config.h.in.*autoheader.*/\/* Autogenerated config.h created for win32 Visual Studio builds *\/\n\n\/* PREFIX -- specifically added for Windows for easier moving *\/\n#define PREFIX "C:\\\\gstreamer"\n\n#define GST_INSTALL_PLUGINS_HELPER PREFIX "\\\\libexec\\\\gst-install-plugins-helper.exe"/' \
-e 's/.* GETTEXT_PACKAGE$/#define GETTEXT_PACKAGE "'$GETTEXT_PACKAGE'"/' \
-e 's/.* GST_DATADIR$/#define GST_DATADIR PREFIX "\\\\share"/' \
-e 's/.* GST_LEVEL_DEFAULT$/#define GST_LEVEL_DEFAULT GST_LEVEL_ERROR/' \
-e 's/.* GST_LICENSE$/#define GST_LICENSE "'$GST_LICENSE'"/' \
2012-04-04 12:33:23 +00:00
-e 's/.* GST_API_VERSION$/#define GST_API_VERSION "'$GST_API_VERSION'"/' \
2009-02-26 04:47:15 +00:00
-e "s,.* GST_PACKAGE_NAME$,#define GST_PACKAGE_NAME \"${GST_PACKAGE_NAME}\"," \
-e 's/.* GST_PACKAGE_ORIGIN$/#define GST_PACKAGE_ORIGIN "Unknown package origin"/' \
2010-10-16 14:43:53 +00:00
-e "s,.* GST_PACKAGE_RELEASE_DATETIME$,#define GST_PACKAGE_RELEASE_DATETIME \"${GST_PACKAGE_RELEASE_DATETIME}\"," \
2009-02-26 04:47:15 +00:00
-e 's/.* HAVE_CPU_I386$/#define HAVE_CPU_I386 1/' \
-e 's/.* HAVE_FGETPOS$/#define HAVE_FGETPOS 1/' \
-e 's/.* HAVE_FSETPOS$/#define HAVE_FSETPOS 1/' \
-e 's/.* HAVE_LIBXML2$/#define HAVE_LIBXML2 1/' \
-e 's/.* HAVE_PROCESS_H$/#define HAVE_PROCESS_H 1/' \
-e 's/.* HAVE_STDLIB_H$/#define HAVE_STDLIB_H 1/' \
-e 's/.* HAVE_STRING_H$/#define HAVE_STRING_H 1/' \
-e 's/.* HAVE_SYS_STAT_H$/#define HAVE_SYS_STAT_H 1/' \
-e 's/.* HAVE_SYS_TYPES_H$/#define HAVE_SYS_TYPES_H 1/' \
-e 's/.* HAVE_WIN32$/#define HAVE_WIN32 1/' \
-e 's/.* HOST_CPU$/#define HOST_CPU "i686"/' \
-e 's/.* LIBDIR$/#ifdef _DEBUG\n# define LIBDIR PREFIX "\\\\debug\\\\lib"\n#else\n# define LIBDIR PREFIX "\\\\lib"\n#endif/' \
-e 's/.* LOCALEDIR$/#define LOCALEDIR PREFIX "\\\\share\\\\locale"/' \
-e "s/.* PACKAGE$/#define PACKAGE \"$PACKAGE\"/" \
-e 's/.* PACKAGE_BUGREPORT$/#define PACKAGE_BUGREPORT "http:\/\/bugzilla.gnome.org\/enter_bug.cgi?product=GStreamer"/' \
-e "s/.* PACKAGE_NAME$/#define PACKAGE_NAME \"$PACKAGE_NAME\"/" \
-e "s/.* PACKAGE_STRING$/#define PACKAGE_STRING \"$PACKAGE_STRING\"/" \
-e 's/.* PACKAGE_TARNAME$/#define PACKAGE_TARNAME "'$PACKAGE_TARNAME'"/' \
-e 's/.* PACKAGE_VERSION$/#define PACKAGE_VERSION "'$PACKAGE_VERSION'"/' \
2010-12-06 16:27:51 +00:00
-e 's/.* PLUGINDIR$/#ifdef _DEBUG\n# define PLUGINDIR PREFIX "\\\\debug\\\\lib\\\\gstreamer-0.11"\n#else\n# define PLUGINDIR PREFIX "\\\\lib\\\\gstreamer-0.11"\n#endif/' \
2009-02-26 04:47:15 +00:00
-e 's/.* USE_BINARY_REGISTRY$/#define USE_BINARY_REGISTRY/' \
-e 's/.* VERSION$/#define VERSION "'$VERSION'"/' \
2011-01-27 15:35:06 +00:00
-e "s/.* DEFAULT_AUDIOSINK$/#define DEFAULT_AUDIOSINK \"directsoundsink\"/" \
2009-02-26 04:47:15 +00:00
-e "s/.* DEFAULT_AUDIOSRC$/#define DEFAULT_AUDIOSRC \"audiotestsrc\"/" \
-e "s/.* DEFAULT_VIDEOSRC$/#define DEFAULT_VIDEOSRC \"videotestsrc\"/" \
-e "s/.* DEFAULT_VISUALIZER$/#define DEFAULT_VISUALIZER \"goom\"/" \
config.h.in >win32/common/config.h-new
2002-02-08 20:12:28 +00:00
AC_OUTPUT
2007-02-28 19:29:25 +00:00
AG_GST_OUTPUT_PLUGINS
2010-06-10 01:37:29 +00:00
ORC_OUTPUT