| 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 |
|---|
| 39 |
|
|---|
| 40 |
|
|---|
| 41 |
II) The following patches have already been sent to the upstream developers: |
|---|
| 42 |
|
|---|
| 43 |
ffmpeg-cvs-mactel.patch - split in 5 and sent to ffmpeg-devel@mplayerhq.hu |
|---|
| 44 |
o patch-ffmpeg-0b.diff |
|---|
| 45 |
o patch-ffmpeg-darwin-support.diff |
|---|
| 46 |
o patch-ffmpeg-inline-asm-macros.diff |
|---|
| 47 |
o patch-ffmpeg-nop.diff |
|---|
| 48 |
o patch-ffmpeg-p2align.diff |
|---|
| 49 |
flac-mactel.patch - sent to flac-dev@lists.sourceforge.net |
|---|
| 50 |
libdvdnav-mactel.patch - sent to dvd-devel@lists.sourceforge.net |
|---|
| 51 |
mpeg2dec.patch - committed upstream, will be in the 0.4.1 release |
|---|
| 52 |
|
|---|