goldendict-ng/winlibs/scripts/00README.txt

39 lines
1.1 KiB
Plaintext
Raw Normal View History

FFmpeg and libao build instructions
-----------------------------------
Prerequisites
=============
* MSYS and MinGW ( 4.4 up to 4.6 )
Build
=====
* Get source tarball for libspeex, ffmpeg, libao, and extract them respectively:
* libspeex: http://www.speex.org/downloads/
* libao: http://www.xiph.org/downloads/
* ffmpeg: http://ffmpeg.org/download.html
* Define environment variable: PREFIX, for example: export PREFIX=/usr/local
* NOTE: You may also want to define CPATH and LIBRARY_PATH:
export CPATH=${CPATH}:${PREFIX}/include
export LIBRARY_PATH=${LIBRARY_PATH}:${PREFIX}/lib
* First, build the libspeex as static library:
* Copy "libspeex-configure-mingw32.sh" to the speex source folder.
* ./libspeex-configure-mingw32.sh
* make && make install
* Build ffmpeg:
* Copy "ffmpeg-configure-mingw32.sh" to the ffmpeg source folder.
* ./ffmpeg-configure-mingw32.sh
* make && make install
* Build libao:
* Copy "libao-configure-mingw32.sh" to the libao source folder.
* ./libao-configure-mingw32.sh
* make && make install
binaries (dlls): ${PREFIX}/bin
C headers: ${PREFIX}/include
Linker files: ${PREFIX}/lib