1
REM This batch file can help you to create a directory with all required files
2
REM Just change the variables at the beginning
4
REM Warning: it will only work with sources from the SVN and the command svn has to be in the path
5
REM Note: it doesn't install mplayer
7
set OUTPUT_DIR=smplayer-build
9
set SMPLAYER_DIR=svn\smplayer\trunk
10
set SMPLAYER_THEMES_DIR=svn\smplayer-themes\trunk
12
set QT_DIR=c:\Qt\4.3.2
13
set MINGW_DIR=c:\MinGW
17
copy %SMPLAYER_DIR%\src\release\smplayer.exe %OUTPUT_DIR%
18
copy %SMPLAYER_DIR%\*.txt %OUTPUT_DIR%
19
copy %QT_DIR%\bin\QtCore4.dll %OUTPUT_DIR%
20
copy %QT_DIR%\bin\QtGui4.dll %OUTPUT_DIR%
21
copy %QT_DIR%\bin\QtNetwork4.dll %OUTPUT_DIR%
22
copy %MINGW_DIR%\bin\mingwm10.dll %OUTPUT_DIR%
25
mkdir %OUTPUT_DIR%\translations
26
copy %SMPLAYER_DIR%\src\translations\*.qm %OUTPUT_DIR%\translations
29
copy %QT_DIR%\translations\qt_de.qm %OUTPUT_DIR%\translations
30
copy %QT_DIR%\translations\qt_es.qm %OUTPUT_DIR%\translations
31
copy %QT_DIR%\translations\qt_ru.qm %OUTPUT_DIR%\translations
32
copy %QT_DIR%\translations\qt_sk.qm %OUTPUT_DIR%\translations
33
copy %QT_DIR%\translations\qt_sv.qm %OUTPUT_DIR%\translations
34
copy %QT_DIR%\translations\qt_zh_CN.qm %OUTPUT_DIR%\translations
37
mkdir %OUTPUT_DIR%\shortcuts
38
copy %SMPLAYER_DIR%\src\shortcuts\*.keys %OUTPUT_DIR%\shortcuts
41
svn export --force %SMPLAYER_DIR%\docs %OUTPUT_DIR%\docs
44
svn export --force %SMPLAYER_THEMES_DIR%\themes %OUTPUT_DIR%\themes