summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Schleef <ds@schleef.org>2002-09-15 21:33:53 +0000
committerDavid Schleef <ds@schleef.org>2002-09-15 21:33:53 +0000
commit7e744852997c7c0bc777ca586f8cc85467fe8ffd (patch)
treed46c8d9bdf045a981fa3ad7504af420d0e375ef4
parenta060de748e51f5105151374db44b802ea78709ff (diff)
downloadgst-plugins-bad-7e744852997c7c0bc777ca586f8cc85467fe8ffd.tar.gz
gst-plugins-bad-7e744852997c7c0bc777ca586f8cc85467fe8ffd.tar.bz2
gst-plugins-bad-7e744852997c7c0bc777ca586f8cc85467fe8ffd.zip
Add swfdec autoconf stuff
Original commit message from CVS: Add swfdec autoconf stuff
-rw-r--r--REQUIREMENTS3
-rw-r--r--configure.ac9
-rw-r--r--ext/Makefile.am9
3 files changed, 19 insertions, 2 deletions
diff --git a/REQUIREMENTS b/REQUIREMENTS
index e4d49dc9..cc91b7b7 100644
--- a/REQUIREMENTS
+++ b/REQUIREMENTS
@@ -84,7 +84,8 @@ avifile (for the avi windows decoder plugins)
from http://divx.euro.ru/ and put the .dll files
in /usr/lib/win32/
>= 0.6.0 (cvs)
-
+swfdec (for the swfdec plugin)
+ ftp://ftp.comedi.org/pub/swfdec/
flac (for the FLAC lossless audio format)
http://flac.sourceforge.net
diff --git a/configure.ac b/configure.ac
index 998b729b..859f2a69 100644
--- a/configure.ac
+++ b/configure.ac
@@ -741,6 +741,14 @@ GST_CHECK_FEATURE(LIBPNG, [snapshot plug-in], snapshot, [
AC_SUBST(LIBPNG_LIBS)
])
+dnl *** swfdec ***
+translit(dnm, m, l) AM_CONDITIONAL(USE_SWFDEC, true)
+GST_CHECK_FEATURE(SWFDEC, [swfdec plug-in], swfdec, [
+ PKG_CHECK_MODULES(SWFDEC, libswfdec, HAVE_SWFDEC="yes", HAVE_SWFDEC="no")
+ AC_SUBST(SWFDEC_CFLAGS)
+ AC_SUBST(SWFDEC_LIBS)
+])
+
dnl *** tarkin ***
dnl for now the sources are included in the plug-in
dnl and should be moved to ext-libs/ perhaps
@@ -1019,6 +1027,7 @@ ext/sdl/Makefile
ext/shout/Makefile
ext/sidplay/Makefile
ext/smoothwave/Makefile
+ext/swfdec/Makefile
ext/vorbis/Makefile
ext/tarkin/Makefile
ext/xmms/Makefile
diff --git a/ext/Makefile.am b/ext/Makefile.am
index 46ba06d8..82fd7a3e 100644
--- a/ext/Makefile.am
+++ b/ext/Makefile.am
@@ -208,6 +208,12 @@ else
SMOOTHWAVE_DIR=
endif
+if USE_SWFDEC
+SWFDEC_DIR=swfdec
+else
+SWFDEC_DIR=
+endif
+
if USE_TARKIN
TARKIN_DIR=tarkin
else
@@ -236,7 +242,8 @@ SUBDIRS=$(A52DEC_DIR) $(AALIB_DIR) $(ALSA_DIR) \
$(MAD_DIR) $(MIKMOD_DIR) $(MJPEGTOOLS_DIR) $(MPEG2DEC_DIR) \
$(OPENQUICKTIME_DIR) $(RAW1394_DIR) $(RTP_DIR) \
$(SDL_DIR) $(SHOUT_DIR) $(SIDPLAY_DIR) \
- $(SMOOTHWAVE_DIR) $(TARKIN_DIR) $(VORBIS_DIR) $(XMMS_DIR)
+ $(SMOOTHWAVE_DIR) $(SWFDEC_DIR) $(TARKIN_DIR) \
+ $(VORBIS_DIR) $(XMMS_DIR)
DIST_SUBDIRS=\
a52dec aalib alsa \