]> git.sesse.net Git - vlc/blobdiff - extras/contrib/README
Use var_Inherit* instead of var_CreateGet*.
[vlc] / extras / contrib / README
index 41df0d455c84326e10c9f31a9ee78e58f0e33d5a..4c45f07fc244825ad6ef9399ebbb8fc8d63594bc 100644 (file)
@@ -1,24 +1,38 @@
 This is the contrib build system for VLC Media Player. It has been
-primarily developed for Mac OS X, though it should be easy to adapt to
-other operating systems.
+primarily developed for Mac, it has been adapted for BeOs and win32.
+It would be not too difficult to extend it to other sytem.
 
-To use it, first type :
+To use it, first in the contrib directory, type :
        ./bootstrap
 
-Customize config.mak if you need type, then you need to choose between
+You can specify an argument to cross compile, for example:
+    ./bootstrap i586-pc-beos
+This will look for a i586-pc-beos-gcc cross compiler. Default is to
+build natively.
+
+Bootstrap generates your default contrib configuration and puts it in a file
+named 'distro.mak'. Edit this file to fine-tune your preferences for 3rd-party
+libraries that will be build in the contrib system.
+
+Customize config.mak if you need to, then you need to choose between
 building from source (can take a long time but is easily customizable)
 and fetching a pre-compiled binary package. Either type 'make src'
-or 'make bin'.
+or 'make bin' (also from the contrib directory).
 
-Once the contribs are built, you can start building VLC. VLC's bootstrap
-and configure scripts will automatically detect the contrib directory,
-but you still need to specify which plug-ins you want to build (though
-it is unnecessary to add --with-* or --with-*-tree). For instance my
-configure line is :
-       ./configure --disable-x11 --disable-xvideo --disable-gtk --disable-sdl --enable-ffmpeg --with-ffmpeg-mp3lame --enable-mad --enable-libdvbpsi --enable-a52 --enable-dvdplay --enable-faad --enable-vorbis --enable-theora --enable-ogg --enable-slp --enable-flac --enable-libmpeg2 --enable-mkv --enable-speex --enable-debug
-
-Then for Darwin, 'make' will build the VLC.app application and copy the
-contrib libs to VLC.app/Contents/MacOS/lib. The application is ready.
+Once the contribs are built, you can start building VLC.
+See: http://developers.videolan.org/vlc/osx-compile.html 
+or INSTALL.win32 for more details on that.
 
 Happy hacking.
 --Meuuh 2003-11-15
+
+Appendix: 
+ I) BUILDING AMR SUPPORT IN FFMPEG
+
+To build ffmpeg with AMR support add HAVE_AMR=1 to config.mak or do:
+
+echo "HAVE_AMR=1" >> config.mak
+
+and add .libamrwb .libamrnb (before .ffmpeg) to your distro.mak. Then rebuild the contrib with: 
+
+make src