summaryrefslogtreecommitdiff
path: root/setup/install_smplayer.bat
diff options
context:
space:
mode:
Diffstat (limited to 'setup/install_smplayer.bat')
-rw-r--r--setup/install_smplayer.bat54
1 files changed, 54 insertions, 0 deletions
diff --git a/setup/install_smplayer.bat b/setup/install_smplayer.bat
new file mode 100644
index 0000000..31846aa
--- /dev/null
+++ b/setup/install_smplayer.bat
@@ -0,0 +1,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%
+