mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 16:50:47 +00:00
adding flac
Original commit message from CVS: adding flac
This commit is contained in:
parent
8df7a03156
commit
b4b7683df9
3 changed files with 24 additions and 24 deletions
3
TODO
3
TODO
|
@ -22,3 +22,6 @@
|
|||
|
||||
* riff: do we need those cflags ?
|
||||
|
||||
* festival should have checks and stuff and added properly
|
||||
|
||||
* fix ffmpeg
|
||||
|
|
28
configure.ac
28
configure.ac
|
@ -457,9 +457,10 @@ GST_CHECK_FEATURE(ESD, [esound plugins], esdsrc esdsink, [
|
|||
dnl *** FLAC ***
|
||||
dnl thomas : checking for compile with main instead of actual function,
|
||||
dnl since that made autoconf break (for version 2.13)
|
||||
translit(dnm, m, l) AM_CONDITIONAL(USE_LIBFLAC, true)
|
||||
GST_CHECK_FEATURE(FLACLIB, [FLAC lossless audio], flacenc flacdec, [
|
||||
GST_CHECK_LIBHEADER(FLACLIB, FLAC, main, -lm, FLAC/all.h, LIBFLAC_LIBS="-lFLAC")
|
||||
translit(dnm, m, l) AM_CONDITIONAL(USE_FLAC, true)
|
||||
GST_CHECK_FEATURE(FLAC, [FLAC lossless audio], flacenc flacdec, [
|
||||
GST_CHECK_LIBHEADER(FLAC, FLAC, main, -lm, FLAC/all.h, FLAC_LIBS="-lFLAC")
|
||||
AC_SUBST(FLAC_LIBS)
|
||||
])
|
||||
|
||||
dnl *** Gnome VFS ***
|
||||
|
@ -478,10 +479,10 @@ GST_CHECK_LIBHEADER(LIBGSM, gsm, gsm_create, , gsm/gsm.h, LIBGSM_LIBS="-lgsm")
|
|||
])
|
||||
|
||||
dnl *** Hermes ***
|
||||
translit(dnm, m, l) AM_CONDITIONAL(USE_LIBHERMES, true)
|
||||
GST_CHECK_FEATURE(LIBHERMES, [Hermes library], colorspace, [
|
||||
GST_CHECK_LIBHEADER(LIBHERMES, Hermes, Hermes_ConverterInstance, , Hermes/Hermes.h, LIBHERMES_LIBS="-lHermes")
|
||||
], AC_SUBST(LIBHERMES_LIBS))
|
||||
translit(dnm, m, l) AM_CONDITIONAL(USE_HERMES, true)
|
||||
GST_CHECK_FEATURE(HERMES, [Hermes library], colorspace, [
|
||||
GST_CHECK_LIBHEADER(HERMES, Hermes, Hermes_ConverterInstance, , Hermes/Hermes.h, HERMES_LIBS="-lHermes")
|
||||
], AC_SUBST(HERMES_LIBS))
|
||||
|
||||
dnl *** lame ***
|
||||
translit(dnm, m, l) AM_CONDITIONAL(USE_LAME, true)
|
||||
|
@ -871,10 +872,6 @@ if test "x$HAVE_A52DEC" = xyes; then
|
|||
AC_DEFINE(HAVE_A52DEC)
|
||||
fi
|
||||
|
||||
if test "x$HAVE_FLACLIB" = xyes; then
|
||||
AC_DEFINE(HAVE_FLACLIB)
|
||||
fi
|
||||
|
||||
if test "x$HAVE_LIBGSM" = xyes; then
|
||||
AC_DEFINE(HAVE_LIBGSM)
|
||||
fi
|
||||
|
@ -916,14 +913,6 @@ AM_CONDITIONAL(HAVE_XSLTPROC, $HAVE_XSLTPROC)
|
|||
AM_CONDITIONAL(HAVE_FIG2DEV_PNG, $HAVE_FIG2DEV_PNG)
|
||||
AM_CONDITIONAL(HAVE_FIG2DEV_PDF, $HAVE_FIG2DEV_PDF)
|
||||
AM_CONDITIONAL(HAVE_LIBSHOUT, test "x$HAVE_LIBSHOUT" = "xyes")
|
||||
AM_CONDITIONAL(HAVE_A52DEC, test "x$HAVE_A52DEC" = "xyes")
|
||||
AM_CONDITIONAL(HAVE_AVIFILE, test "x$HAVE_AVIFILE" = "xyes")
|
||||
dnl thomas : the next line gives errors, this is how it is in CVS
|
||||
dnl AM_CONDITIONAL(HAVE_FLAC, test "x$HAVE_FLAC" = "xyes")
|
||||
dnl thomas : the next line gives errors as well, I commented it
|
||||
dnl AM_CONDITIONAL(HAVE_LAC, test "x$HAVE_FAC" = "xyes")
|
||||
dnl thomas: the next line doesn't give errors
|
||||
AM_CONDITIONAL(HAVE_FLACLIB, test "x$HAVE_FLACLIB" = "xyes")
|
||||
AM_CONDITIONAL(HAVE_LIBRTP, test "x$HAVE_LIBRTP" = "xyes")
|
||||
AM_CONDITIONAL(HAVE_ARTS, test "x$HAVE_ARTS" = "xyes")
|
||||
AM_CONDITIONAL(HAVE_XMMS, test "x$HAVE_XMMS" = "xyes")
|
||||
|
@ -1086,6 +1075,7 @@ ext/avifile/Makefile
|
|||
ext/cdparanoia/Makefile
|
||||
ext/dvdread/Makefile
|
||||
ext/esd/Makefile
|
||||
ext/flac/Makefile
|
||||
ext/lame/Makefile
|
||||
ext/mad/Makefile
|
||||
ext/mpeg2dec/Makefile
|
||||
|
|
|
@ -46,10 +46,16 @@ else
|
|||
ESD_DIR=
|
||||
endif
|
||||
|
||||
if USE_FESTIVAL
|
||||
FESTIVAL_DIR=festival
|
||||
else
|
||||
## if USE_FESTIVAL
|
||||
## FESTIVAL_DIR=festival
|
||||
## else
|
||||
FESTIVAL_DIR=
|
||||
## endif
|
||||
|
||||
if USE_FLAC
|
||||
FLAC_DIR=flac
|
||||
else
|
||||
FLAC_DIR=
|
||||
endif
|
||||
|
||||
if USE_LAME
|
||||
|
@ -84,8 +90,9 @@ endif
|
|||
|
||||
SUBDIRS=$(A52_DIR) $(AALIB_DIR) $(ALSA_DIR) $(AUDIOFILE_DIR) \
|
||||
$(AVIFILE_DIR) $(CDPARANOIA_DIR) $(DVDREAD_DIR) $(ESD_DIR) \
|
||||
$(FESTIVAL_DIR) $(LAME_DIR) $(MAD_DIR) $(MPEG2DEC_DIR) \
|
||||
$(FESTIVAL_DIR) $(FLAC_DIR) \
|
||||
$(LAME_DIR) $(MAD_DIR) $(MPEG2DEC_DIR) \
|
||||
$(SDL_DIR) $(VORBIS_DIR)
|
||||
|
||||
DIST_SUBDIRS=a52 aalib alsa avifile audiofile cdparanoia dvdread esd \
|
||||
festival lame mad mpeg2dec sdl vorbis
|
||||
festival flac lame mad mpeg2dec sdl vorbis
|
||||
|
|
Loading…
Reference in a new issue