diff options
author | Chris Lee <clee@kde.org> | 2006-07-23 11:52:34 +0000 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.net> | 2006-07-23 11:52:34 +0000 |
commit | b7f35a1240ff5ff5ccdfceb4730242f1714d9a18 (patch) | |
tree | 59a1a9842015ee2c1b01f50b33a10cb648e0606e /configure.ac | |
parent | c8e459496b315ada563c65c0703e574b5913e849 (diff) | |
download | gst-plugins-bad-b7f35a1240ff5ff5ccdfceb4730242f1714d9a18.tar.gz gst-plugins-bad-b7f35a1240ff5ff5ccdfceb4730242f1714d9a18.tar.bz2 gst-plugins-bad-b7f35a1240ff5ff5ccdfceb4730242f1714d9a18.zip |
Add libopenspc-based SPC decoder element (#348220).
Original commit message from CVS:
Patch by: Chris Lee <clee at kde org>
* configure.ac:
* ext/Makefile.am:
* ext/spc/Makefile.am:
* ext/spc/gstspc.c: (spc_negotiate), (gst_spc_dec_base_init),
(gst_spc_dec_class_init), (gst_spc_dec_init), (gst_spc_dec_chain),
(gst_spc_dec_sink_event), (gst_spc_dec_src_event),
(gst_spc_dec_src_query), (spc_play), (spc_setup),
(gst_spc_dec_change_state), (plugin_init):
* ext/spc/gstspc.h:
Add libopenspc-based SPC decoder element (#348220).
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 33aa690e..a955e1a5 100644 --- a/configure.ac +++ b/configure.ac @@ -674,6 +674,22 @@ GST_CHECK_FEATURE(SOUNDTOUCH, [soundtouch plug-in], soundtouch, [ fi ]) +dnl *** spc *** +translit(dnm, m, l) AM_CONDITIONAL(USE_SPC, true) +GST_CHECK_FEATURE(SPC, [spc decoder], spc, [ + AC_CHECK_HEADER(openspc.h, [ + AC_CHECK_LIB(openspc, OSPC_Init, [ + SPC_LIBS="-lopenspc" + AC_SUBST(SPC_LIBS) + HAVE_SPC=yes + ], [ + HAVE_SPC=no + ]) + ], [ + HAVE_SPC=no + ]) +]) + dnl *** swfdec *** translit(dnm, m, l) AM_CONDITIONAL(USE_SWFDEC, true) GST_CHECK_FEATURE(SWFDEC, [swfdec plug-in], swfdec, [ @@ -765,6 +781,7 @@ AM_CONDITIONAL(USE_MUSICBRAINZ, false) AM_CONDITIONAL(USE_NEON, false) AM_CONDITIONAL(USE_SDL, false) AM_CONDITIONAL(USE_SOUNDTOUCH, false) +AM_CONDITIONAL(USE_SPC, false) AM_CONDITIONAL(USE_SWFDEC, false) AM_CONDITIONAL(USE_THEORADEC, false) AM_CONDITIONAL(USE_XVID, false) @@ -860,6 +877,7 @@ ext/musicbrainz/Makefile ext/neon/Makefile ext/sdl/Makefile ext/soundtouch/Makefile +ext/spc/Makefile ext/swfdec/Makefile ext/theora/Makefile ext/wavpack/Makefile |