diff options
author | Stefan Kost <ensonic@users.sourceforge.net> | 2006-05-20 22:42:15 +0000 |
---|---|---|
committer | Stefan Kost <ensonic@users.sourceforge.net> | 2006-05-20 22:42:15 +0000 |
commit | 0428d5cf5f24a2bc1f6d141c804468f8d62aa23b (patch) | |
tree | 8cc00ebcc0bc1d6d61570d1ec06f570273b1c08b /configure.ac | |
parent | 4e5f3fae24ac58f703d7cd18216c355c2e73452f (diff) | |
download | gst-plugins-bad-0428d5cf5f24a2bc1f6d141c804468f8d62aa23b.tar.gz gst-plugins-bad-0428d5cf5f24a2bc1f6d141c804468f8d62aa23b.tar.bz2 gst-plugins-bad-0428d5cf5f24a2bc1f6d141c804468f8d62aa23b.zip |
Initial port of the spectrum element
Original commit message from CVS:
* configure.ac:
* gst/spectrum/demo-osssrc.c: (spectrum_chain), (main):
* gst/spectrum/fix_fft.c: (gst_spectrum_fix_dot):
* gst/spectrum/gstspectrum.c: (gst_spectrum_get_type),
(gst_spectrum_base_init), (gst_spectrum_class_init),
(gst_spectrum_init), (gst_spectrum_dispose),
(gst_spectrum_set_property), (gst_spectrum_chain):
* gst/spectrum/gstspectrum.h:
Initial port of the spectrum element
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 35 |
1 files changed, 31 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac index 7fae772a..592ab421 100644 --- a/configure.ac +++ b/configure.ac @@ -79,6 +79,7 @@ GST_PLUGINS_ALL="\ cdxaparse \ freeze \ modplug \ + spectrum \ speed \ qtdemux \ xingheader \ @@ -154,16 +155,41 @@ dnl uninstalled is selected preferentially -- see pkg-config(1) GST_CHECK_GST($GST_MAJORMINOR, [$GST_REQ]) GST_CHECK_GST_BASE($GST_MAJORMINOR, [$GST_REQ]) GST_CHECK_GST_CHECK($GST_MAJORMINOR, [$GST_REQ], no) +GST_CHECK_GST_PLUGINS_BASE($GST_MAJORMINOR, [$GSTPB_REQ], no) + +GSTPB_PLUGINS_DIR=`$PKG_CONFIG gstreamer-plugins-base-$GST_MAJORMINOR --variable pluginsdir` +AC_SUBST(GSTPB_PLUGINS_DIR) +AC_MSG_NOTICE(Using GStreamer Base Plugins in $GSTPB_PLUGINS_DIR) dnl FIXME: get rid of this by making sure gstreamer-check brings it in dnl check for "check", unit testing library/header AM_PATH_CHECK(0.9.2, HAVE_CHECK=yes, HAVE_CHECK=no) AM_CONDITIONAL(HAVE_CHECK, test "x$HAVE_CHECK" = "xyes") -GST_CHECK_GST_PLUGINS_BASE($GST_MAJORMINOR, [$GSTPB_REQ], no) -GSTPB_PLUGINS_DIR=`$PKG_CONFIG gstreamer-plugins-base-$GST_MAJORMINOR --variable pluginsdir` -AC_SUBST(GSTPB_PLUGINS_DIR) -AC_MSG_NOTICE(Using GStreamer Base Plugins in $GSTPB_PLUGINS_DIR) +dnl GTK is optional and used in examples +HAVE_GTK=NO +PKG_CHECK_MODULES(GTK2, gtk+-2.0 >= 2.2.0, HAVE_GTK_22=yes, HAVE_GTK_22=no) +if test "x$HAVE_GTK_22" = "xyes"; then + HAVE_GTK=yes + GTK_VERSION=`$PKG_CONFIG --variable=gtk_binary_version gtk+-2.0` + AC_SUBST(GTK_VERSION) + GTK_PREFIX=`$PKG_CONFIG --variable=prefix gdk-pixbuf-2.0` + AC_SUBST(GTK_BASE_DIR) + GDK_PIXBUF_LIBDIR=`$PKG_CONFIG --variable=libdir gdk-pixbuf-2.0` + GDK_PIXBUF_PREFIXDIR=`$PKG_CONFIG --variable=prefix gdk-pixbuf-2.0` + AC_SUBST(GTK_BASE_DIR) +else + PKG_CHECK_MODULES(GTK2, gtk+-2.0, HAVE_GTK_20=yes, HAVE_GTK_20=no) +fi +if test "x$HAVE_GTK_20" = "xyes"; then + HAVE_GTK=yes +fi +GTK_CFLAGS=$GTK2_CFLAGS +GTK_LIBS=$GTK2_LIBS +AC_SUBST(GTK_LIBS) +AC_SUBST(GTK_CFLAGS) +AC_SUBST(HAVE_GTK) +AM_CONDITIONAL(HAVE_GTK, test "x$HAVE_GTK" = "xyes") dnl set license and copyright notice GST_LICENSE="LGPL" @@ -679,6 +705,7 @@ gst/cdxaparse/Makefile gst/freeze/Makefile gst/modplug/Makefile gst/modplug/libmodplug/Makefile +gst/spectrum/Makefile gst/speed/Makefile gst/qtdemux/Makefile gst/tta/Makefile |