12 mingw32-make distclean
15 if [ $NUMBER_OF_PROCESSORS > 1 ]; then
16 MAKEFLAGS=-j$NUMBER_OF_PROCESSORS
19 if [ ! -d .libs ]; then
23 # add --enable-debug (remove --disable-debug ofc) to get ffmpeg log messages in xbmc.log
24 # the resulting debug dll's are twice to fourth time the size of the release binaries
28 --enable-memalign-hack \
44 --enable-muxer=spdif \
46 --enable-encoder=ac3 \
47 --enable-encoder=aac \
48 --enable-runtime-cpudetect \
54 ./configure --extra-cflags="-fno-common -Iinclude-xbmc-win32/dxva2 -DNDEBUG" --extra-ldflags="-L/xbmc/system/players/dvdplayer" ${OPTIONS} &&
56 mingw32-make $MAKEFLAGS &&
57 cp lib*/*.dll .libs/ &&
58 cp .libs/avcodec-54.dll /xbmc/system/players/dvdplayer/ &&
59 cp .libs/avformat-54.dll /xbmc/system/players/dvdplayer/ &&
60 cp .libs/avutil-52.dll /xbmc/system/players/dvdplayer/ &&
61 cp .libs/avfilter-3.dll /xbmc/system/players/dvdplayer/ &&
62 cp .libs/postproc-52.dll /xbmc/system/players/dvdplayer/ &&
63 cp .libs/swresample-0.dll /xbmc/system/players/dvdplayer/ &&
64 cp .libs/swscale-2.dll /xbmc/system/players/dvdplayer/
66 #remove the bgprocessfile for signaling the process end