[Mplayer-cvslog] CVS: main configure,1.698,1.699 Makefile,1.262,1.263
Moritz Bunkus CVS
mosu at mplayerhq.hu
Wed Apr 30 13:39:34 CEST 2003
- Previous message: [Mplayer-cvslog] CVS: main/DOCS/en mplayer.1,1.378,1.379
- Next message: [Mplayer-cvslog] CVS: main/libmpdemux matroska.h,NONE,1.1 demux_mkv.cpp,NONE,1.1 demuxer.c,1.140,1.141 demuxer.h,1.58,1.59 Makefile,1.60,1.61
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/mplayer/main
In directory mail:/var/tmp.root/cvs-serv13358
Modified Files:
configure Makefile
Log Message:
Added Matroska demuxing support.
Index: configure
===================================================================
RCS file: /cvsroot/mplayer/main/configure,v
retrieving revision 1.698
retrieving revision 1.699
diff -u -r1.698 -r1.699
--- configure 28 Apr 2003 15:58:27 -0000 1.698
+++ configure 30 Apr 2003 11:39:09 -0000 1.699
@@ -189,6 +189,7 @@
--enable-libfame enable libfame realtime encoder [autodetect]
--enable-vorbis build with OggVorbis support [autodetect]
--enable-tremor build with integer-only OggVorbis support [disabled]
+ --enable-matroska build with Matroska support [autodetect]
--enable-faad build with FAAD2 (MP4/AAC) support [autodetect]
--disable-libdv disable libdv 0.9.5 en/decoding support [autodetect]
--disable-mad disable libmad (mpeg audio) support [autodetect]
@@ -1025,6 +1026,7 @@
_liblzo=auto
_mad=auto
_vorbis=auto
+_matroska=auto
_tremor=no
_faad=auto
_xmms=no
@@ -1178,6 +1180,8 @@
--disable-vorbis) _vorbis=no ;;
--enable-tremor) _tremor=yes ;;
--disable-tremor) _tremor=no ;;
+ --enable-matroska) _matroska=yes ;;
+ --disable-matroska) _matroska=no ;;
--enable-faad) _faad=yes ;;
--disable-faad) _faad=no ;;
--enable-xmms) _xmms=yes ;;
@@ -4025,6 +4029,42 @@
echores "$_vorbis"
+echocheck "Matroska support"
+if test "$_matroska" = auto ; then
+ _matroska=no
+ cat > $TMPC << EOF
+#include <EbmlConfig.h>
+int main(void) { return 0; }
+EOF
+ cc_check -lmatroska -lebml && _matroska=yes
+ if test "$_matroska" = no ; then
+ _saved_inc_extra=$_inc_extra
+ _inc_extra="$_inc_extra -I/usr/include/ebml -I/usr/include/matroska"
+ cc_check -lmatroska -lebml && _matroska=yes
+ if test "$_matroska" = no ; then
+ _inc_extra="$_saved_inc_extra -I/usr/local/include/ebml -I/usr/local/include/matroska"
+ cc_check -lmatroska -lebml && _matroska=yes
+ if test "$_matroska" = no ; then
+ _inc_extra=$_saved_inc_extra
+ fi
+ fi
+ fi
+fi
+if test "$_matroska" = yes ; then
+ _def_matroska='#define HAVE_MATROSKA 1'
+ _inputmodules="matroska $_inputmodules"
+ _ld_matroska="-lmatroska -lebml -lstdc++"
+ case $cc_version in
+ 2.*) _def_matroska_gcc2="#define LIBEBML_GCC2" ;;
+ *) _def_matroska_gcc2="/*#define LIBEBML_GCC2*/" ;;
+ esac
+else
+ _def_matroska='#undef HAVE_MATROSKA'
+ _noinputmodules="matroska $_noinputmodules"
+fi
+echores "$_matroska"
+
+
echocheck "faad2 (AAC) support"
if test "$_faad" = auto ; then
_faad=no
@@ -5150,6 +5190,8 @@
CONFIG_RISKY = yes
LIBMENU = $_menu
I18NLIBS = $_i18n_libs
+MATROSKA = $_matroska
+MATROSKA_LIB = $_ld_matroska
OPENDIVX = $_opendivx
@@ -5644,6 +5686,10 @@
/* enable Tremor as vorbis decoder */
$_def_tremor
+
+/* enable Matroska support */
+$_def_matroska
+$_def_matroska_gcc2
/* enable FAAD (AAC) support */
$_def_faad
Index: Makefile
===================================================================
RCS file: /cvsroot/mplayer/main/Makefile,v
retrieving revision 1.262
retrieving revision 1.263
diff -u -r1.262 -r1.263
--- Makefile 29 Mar 2003 14:37:23 -0000 1.262
+++ Makefile 30 Apr 2003 11:39:10 -0000 1.263
@@ -35,7 +35,7 @@
VO_LIBS = $(AA_LIB) $(X_LIB) $(SDL_LIB) $(GGI_LIB) $(MP1E_LIB) $(MLIB_LIB) $(SVGA_LIB) $(DIRECTFB_LIB)
AO_LIBS = $(ARTS_LIB) $(ESD_LIB) $(NAS_LIB) $(SGIAUDIO_LIB)
-CODEC_LIBS = $(AV_LIB) $(FAME_LIB) $(MAD_LIB) $(VORBIS_LIB) $(FAAD_LIB) $(LIBLZO_LIB) $(DECORE_LIB) $(XVID_LIB) $(PNG_LIB) $(Z_LIB) $(JPEG_LIB) $(ALSA_LIB) $(XMMS_LIB)
+CODEC_LIBS = $(AV_LIB) $(FAME_LIB) $(MAD_LIB) $(VORBIS_LIB) $(FAAD_LIB) $(LIBLZO_LIB) $(DECORE_LIB) $(XVID_LIB) $(PNG_LIB) $(Z_LIB) $(JPEG_LIB) $(ALSA_LIB) $(XMMS_LIB) $(MATROSKA_LIB)
COMMON_LIBS = libmpcodecs/libmpcodecs.a mp3lib/libMP3.a liba52/liba52.a libmpeg2/libmpeg2.a $(W32_LIB) $(DS_LIB) libaf/libaf.a libmpdemux/libmpdemux.a input/libinput.a postproc/libswscale.a osdep/libosdep.a $(CSS_LIB) $(CODEC_LIBS) $(FREETYPE_LIB) $(TERMCAP_LIB) $(CDPARANOIA_LIB) $(STREAMING_LIB) $(WIN32_LIB) $(GIF_LIB) $(MACOSX_FRAMEWORKS) $(SMBSUPPORT_LIB) $(FRIBIDI_LIB)
CFLAGS = $(OPTFLAGS) -Ilibmpdemux -Iloader -Ilibvo $(FREETYPE_INC) $(EXTRA_INC) $(CDPARANOIA_INC) $(SDL_INC) $(FRIBIDI_INC) # -Wall
- Previous message: [Mplayer-cvslog] CVS: main/DOCS/en mplayer.1,1.378,1.379
- Next message: [Mplayer-cvslog] CVS: main/libmpdemux matroska.h,NONE,1.1 demux_mkv.cpp,NONE,1.1 demuxer.c,1.140,1.141 demuxer.h,1.58,1.59 Makefile,1.60,1.61
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the MPlayer-cvslog
mailing list