]> git.sesse.net Git - vlc/blob - extras/contrib/README
- Enable building of libamrnb and libamrwb (disabled by default). To enable add HAVE_...
[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 make bin IS NOT WORKING atm USE make src
23
24 Once the contribs are built, you can start building VLC.
25 See: http://developers.videolan.org/vlc/osx-compile.html 
26 or INSTALL.win32 for more details on that.
27
28 Happy hacking.
29 --Meuuh 2003-11-15
30
31 Appendix: 
32  I) BUILDING AMR SUPPORT IN FFMPEG
33
34 To build ffmpeg with AMR support add HAVE_AMR=1 to config.mak or do:
35
36 echo "HAVE_AMR=1" >> config.mak
37
38 and add .libamrwb .libamrnb (before .ffmpeg) to your distro.mak. Then rebuild the contrib with: 
39
40 make src
41
42
43  II) The following patches have already been sent to the upstream developers:
44
45 ffmpeg-cvs-mactel.patch - split in 5 and sent to ffmpeg-devel@mplayerhq.hu
46  o patch-ffmpeg-0b.diff
47  o patch-ffmpeg-darwin-support.diff
48  o patch-ffmpeg-inline-asm-macros.diff
49  o patch-ffmpeg-nop.diff
50  o patch-ffmpeg-p2align.diff
51 flac-mactel.patch - sent to flac-dev@lists.sourceforge.net
52 libdvdnav-mactel.patch - sent to dvd-devel@lists.sourceforge.net
53 mpeg2dec.patch - committed upstream, will be in the 0.4.1 release
54