]> git.sesse.net Git - vlc/blob - extras/contrib/README
Use var_Inherit* instead of var_CreateGet*.
[vlc] / extras / contrib / README
1 This is the contrib build system for VLC Media Player. It has been
2 primarily developed for Mac, it has been adapted for BeOs and win32.
3 It would be not too difficult to extend it to other sytem.
4
5 To use it, first in the contrib directory, type :
6         ./bootstrap
7
8 You can specify an argument to cross compile, for example:
9     ./bootstrap i586-pc-beos
10 This will look for a i586-pc-beos-gcc cross compiler. Default is to
11 build natively.
12
13 Bootstrap generates your default contrib configuration and puts it in a file
14 named 'distro.mak'. Edit this file to fine-tune your preferences for 3rd-party
15 libraries that will be build in the contrib system.
16
17 Customize config.mak if you need to, then you need to choose between
18 building from source (can take a long time but is easily customizable)
19 and fetching a pre-compiled binary package. Either type 'make src'
20 or 'make bin' (also from the contrib directory).
21
22 Once the contribs are built, you can start building VLC.
23 See: http://developers.videolan.org/vlc/osx-compile.html 
24 or INSTALL.win32 for more details on that.
25
26 Happy hacking.
27 --Meuuh 2003-11-15
28
29 Appendix: 
30  I) BUILDING AMR SUPPORT IN FFMPEG
31
32 To build ffmpeg with AMR support add HAVE_AMR=1 to config.mak or do:
33
34 echo "HAVE_AMR=1" >> config.mak
35
36 and add .libamrwb .libamrnb (before .ffmpeg) to your distro.mak. Then rebuild the contrib with: 
37
38 make src