~ubuntu-branches/ubuntu/wily/smplayer/wily

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
REM This batch file can help you to create a directory with all required files
REM Just change the variables at the beginning

REM Warning: it will only work with sources from the SVN and the command svn has to be in the path
REM Note: it doesn't install mplayer

set OUTPUT_DIR=smplayer-build

set SMPLAYER_DIR=svn\smplayer\
set SMPLAYER_THEMES_DIR=svn\smplayer-themes\

set QT_DIR=c:\Qt\4.4.2
set QXT_DIR=c:\libqxt
set MINGW_DIR=c:\MinGW

mkdir %OUTPUT_DIR%

copy %SMPLAYER_DIR%\src\release\smplayer.exe %OUTPUT_DIR%
copy %SMPLAYER_DIR%\dxlist\release\dxlist.exe %OUTPUT_DIR%
copy %SMPLAYER_DIR%\*.txt %OUTPUT_DIR%
copy %QT_DIR%\bin\QtCore4.dll %OUTPUT_DIR%
copy %QT_DIR%\bin\QtGui4.dll %OUTPUT_DIR%
copy %QT_DIR%\bin\QtNetwork4.dll %OUTPUT_DIR%
copy %QT_DIR%\bin\QtXml4.dll %OUTPUT_DIR%
copy %MINGW_DIR%\bin\mingwm10.dll %OUTPUT_DIR%

mkdir %OUTPUT_DIR%\imageformats
copy %QT_DIR%\plugins\imageformats\qjpeg4.dll %OUTPUT_DIR%\imageformats\

rem translations
mkdir %OUTPUT_DIR%\translations
copy %SMPLAYER_DIR%\src\translations\*.qm %OUTPUT_DIR%\translations

rem Qt translations
copy %QT_DIR%\translations\qt_de.qm %OUTPUT_DIR%\translations
copy %QT_DIR%\translations\qt_es.qm %OUTPUT_DIR%\translations
copy %QT_DIR%\translations\qt_ru.qm %OUTPUT_DIR%\translations
copy %QT_DIR%\translations\qt_sk.qm %OUTPUT_DIR%\translations
copy %QT_DIR%\translations\qt_sv.qm %OUTPUT_DIR%\translations
copy %QT_DIR%\translations\qt_zh_CN.qm %OUTPUT_DIR%\translations

rem shortcuts
mkdir %OUTPUT_DIR%\shortcuts
copy %SMPLAYER_DIR%\src\shortcuts\*.keys %OUTPUT_DIR%\shortcuts

rem docs
svn export --force %SMPLAYER_DIR%\docs %OUTPUT_DIR%\docs

rem themes
svn export --force %SMPLAYER_THEMES_DIR%\themes %OUTPUT_DIR%\themes

rem libqxt
copy %QXT_DIR%\lib\QxtCore.dll %OUTPUT_DIR%