Changeset 137 for smplayer/vendor/current/setup/scripts
- Timestamp:
- Dec 3, 2012, 5:29:00 PM (13 years ago)
- Location:
- smplayer/vendor/current/setup/scripts
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
smplayer/vendor/current/setup/scripts/install_smplayer.cmd
r133 r137 14 14 set SMTUBE_DIR=svn\smtube 15 15 set SMPLAYER_THEMES_DIR=svn\smplayer-themes 16 set SMPLAYER_SKINS_DIR=svn\smplayer-skins 16 17 set MPLAYER_DIR=mplayer 17 18 set QT_DIR=C:\QtSDK\Desktop\Qt\%QTVER%\mingw … … 25 26 copy %SMPLAYER_DIR%\dxlist\release\dxlist.exe %OUTPUT_DIR% 26 27 copy %SMPLAYER_DIR%\zlib\zlib1.dll %OUTPUT_DIR% 28 copy %SMPLAYER_DIR%\setup\sample.avi %OUTPUT_DIR% 27 29 copy %SMPLAYER_DIR%\*.txt %OUTPUT_DIR% 28 30 copy %QT_DIR%\bin\QtCore4.dll %OUTPUT_DIR% … … 68 70 69 71 echo. 72 echo ###### Skins Themes ####### 73 echo. 74 svn export --force %SMPLAYER_SKINS_DIR%\themes %OUTPUT_DIR%\themes 75 76 echo. 70 77 echo ###### MPlayer ####### 71 78 echo. -
smplayer/vendor/current/setup/scripts/make_pkgs.cmd
r133 r137 5 5 echo Be sure to have a compiled portable smplayer.exe, renamed as 6 6 echo `smplayer-portable.exe` in the same directory as this script or an 7 echo alternate location you specify in this script. 7 echo alternate location you specify in this script when creating the portable 8 echo packages. 8 9 echo. 9 10 echo Configure your build environment at the beginning of this script. 10 11 echo. 11 12 echo 7zip command-line (http://7zip.org) is required by this script. 12 echo.13 echo * Release Packages14 13 echo. 15 14 echo 1 - NSIS SMPlayer Packages … … 17 16 echo 3 - SMPlayer Package w/o MPlayer 18 17 echo 4 - MPlayer Package 19 echo.20 echo * Update Packages21 echo.22 echo 5 - SMPlayer SVN Update Package23 echo 6 - Qt DLL Package24 18 25 19 echo. … … 38 32 set OUTPUT_DIR=%TOP_LEVEL_DIR%\output 39 33 set PORTABLE_EXE_DIR=%TOP_LEVEL_DIR%\portable 40 set QT_DIR=E:\Buildsys\Qt\%QTVER%41 34 42 35 :reask … … 55 48 ) else if "%USER_CHOICE%" == "4" ( 56 49 goto mplayer 57 58 ) else if "%USER_CHOICE%" == "5" (59 goto svn_updpkg60 61 ) else if "%USER_CHOICE%" == "6" (62 goto qtdlls63 50 64 51 ) else ( … … 246 233 goto end 247 234 248 :svn_updpkg249 echo.250 echo --- Creating SVN Update Package ---251 echo.252 253 set /P SMPLAYER_SVN="SMPlayer SVN Revision: "254 if "%SMPLAYER_SVN%"=="" goto end255 256 7za a -t7z %OUTPUT_DIR%\smplayer_update_svn_r%SMPLAYER_SVN%.7z %SMPLAYER_DIR%\smplayer.exe %SMPLAYER_DIR%\translations -mx9257 258 goto end259 260 :qtdlls261 262 set /P QTVER="Qt Version: "263 if "%QTVER%"=="" goto end264 265 echo.266 echo --- Creating Qt DLL Package ---267 echo.268 269 mkdir imageformats270 copy %QT_DIR%\%QTVER%\plugins\imageformats\qjpeg4.dll imageformats271 7za a -t7z %OUTPUT_DIR%\qt_%QTVER%_dlls.7z %QT_DIR%\%QTVER%\bin\libgcc_s_dw2-1.dll %QT_DIR%\%QTVER%\bin\mingwm10.dll %QT_DIR%\%QTVER%\bin\QtCore4.dll %QT_DIR%\%QTVER%\bin\QtGui4.dll %QT_DIR%\%QTVER%\bin\QtNetwork4.dll %QT_DIR%\%QTVER%\bin\QtXml4.dll imageformats -mx9272 rd /s /q imageformats273 274 goto end275 276 235 :end 277 236
Note:
See TracChangeset
for help on using the changeset viewer.