Changeset 181 for smplayer/trunk/setup/scripts
- Timestamp:
- Aug 31, 2016, 5:31:04 PM (9 years ago)
- Location:
- smplayer/trunk
- Files:
-
- 1 deleted
- 2 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
smplayer/trunk
- Property svn:mergeinfo changed
/smplayer/vendor/current merged: 179
- Property svn:mergeinfo changed
-
smplayer/trunk/setup/scripts/make_pkgs.cmd
r176 r181 99 99 set VER_REVISION= 100 100 set VER_REV_CMD= 101 set DEF_QT5=102 101 set /p ALL_PKG_VER="Version: " 103 102 echo. … … 161 160 echo. 162 161 163 if exist %TOP_LEVEL_DIR%\smplayer-build\Qt5Core.dll (164 set DEF_QT5=/DQT5165 ) else (166 set DEF_QT5=167 )168 169 162 if exist %TOP_LEVEL_DIR%\smplayer-build ( 170 %MAKENSIS_EXE_PATH% /V3 /DVER_MAJOR=%VER_MAJOR% /DVER_MINOR=%VER_MINOR% /DVER_BUILD=%VER_BUILD% %VER_REV_CMD% % DEF_QT5% %TOP_LEVEL_DIR%\smplayer.nsi163 %MAKENSIS_EXE_PATH% /V3 /DVER_MAJOR=%VER_MAJOR% /DVER_MINOR=%VER_MINOR% /DVER_BUILD=%VER_BUILD% %VER_REV_CMD% %TOP_LEVEL_DIR%\smplayer.nsi 171 164 ) 172 165 … … 177 170 echo. 178 171 179 if exist %TOP_LEVEL_DIR%\smplayer-build64\Qt5Core.dll (180 set DEF_QT5="/DQT5"181 ) else (182 set DEF_QT5=183 )184 185 172 if exist %TOP_LEVEL_DIR%\smplayer-build64 ( 186 %MAKENSIS_EXE_PATH% /V3 /DVER_MAJOR=%VER_MAJOR% /DVER_MINOR=%VER_MINOR% /DVER_BUILD=%VER_BUILD% %VER_REV_CMD% /DWIN64 % DEF_QT5% %TOP_LEVEL_DIR%\smplayer.nsi173 %MAKENSIS_EXE_PATH% /V3 /DVER_MAJOR=%VER_MAJOR% /DVER_MINOR=%VER_MINOR% /DVER_BUILD=%VER_BUILD% %VER_REV_CMD% /DWIN64 %TOP_LEVEL_DIR%\smplayer.nsi 187 174 ) 188 175 … … 208 195 REM ) 209 196 210 if exist %TOP_LEVEL_DIR%\smplayer-build\Qt5Core.dll ( 211 set QT5_SUFFIX="-qt5" 212 set QT5_OUTPUT_DIR="\Qt5" 213 ) else ( 214 set QT5_SUFFIX="" 215 set QT5_OUTPUT_DIR="" 216 ) 217 218 ren "%SMPLAYER_DIR%" "smplayer-portable-%PORTABLE_PKG_VER%%QT5_SUFFIX%" 219 set SMPLAYER_PORTABLE_DIR="%TOP_LEVEL_DIR%\smplayer-portable-%PORTABLE_PKG_VER%%QT5_SUFFIX%" 220 221 if not exist "%TOP_LEVEL_DIR%\smplayer-portable-%PORTABLE_PKG_VER%%QT5_SUFFIX%" ( 197 ren "%SMPLAYER_DIR%" "smplayer-portable-%PORTABLE_PKG_VER%" 198 set SMPLAYER_PORTABLE_DIR="%TOP_LEVEL_DIR%\smplayer-portable-%PORTABLE_PKG_VER%" 199 200 if not exist "%TOP_LEVEL_DIR%\smplayer-portable-%PORTABLE_PKG_VER%" ( 222 201 echo Oops! Unable to find renamed directory, make sure no files are opened. 223 202 goto end … … 259 238 260 239 echo Finalizing package... 261 7za a -t7z "%OUTPUT_DIR% %QT5_OUTPUT_DIR%\smplayer-portable-%PORTABLE_PKG_VER%%QT5_SUFFIX%.7z" "%SMPLAYER_PORTABLE_DIR%" -xr!*.bak* -xr!qxtcore.dll -xr!mplayer64.exe -xr!mencoder.exe -xr!mencoder64.exe -xr!mplayer64.exe.debug -xr!mencoder64.exe.debug -xr!mplayer.exe.debug -xr!mencoder.exe.debug -xr!gdb.exe -xr!gdb64.exe -xr!vfw2menc.exe -xr!buildinfo -xr!buildinfo64 -xr!buildinfo-mencoder-32 -xr!buildinfo-mencoder-debug-32 -xr!buildinfo-mplayer-32 -xr!buildinfo-mplayer-debug-32 -xr!buildinfo-mencoder-64 -xr!buildinfo-mencoder-debug-64 -xr!buildinfo-mplayer-64 -xr!buildinfo-mplayer-debug-64 -xr!mpv64.exe -xr!mpv64.com -mx9 >nul240 7za a -t7z "%OUTPUT_DIR%\smplayer-portable-%PORTABLE_PKG_VER%.7z" "%SMPLAYER_PORTABLE_DIR%" -xr!*.bak* -xr!qxtcore.dll -xr!mplayer64.exe -xr!mencoder.exe -xr!mencoder64.exe -xr!mplayer64.exe.debug -xr!mencoder64.exe.debug -xr!mplayer.exe.debug -xr!mencoder.exe.debug -xr!gdb.exe -xr!gdb64.exe -xr!vfw2menc.exe -xr!buildinfo -xr!buildinfo64 -xr!buildinfo-mencoder-32 -xr!buildinfo-mencoder-debug-32 -xr!buildinfo-mplayer-32 -xr!buildinfo-mplayer-debug-32 -xr!buildinfo-mencoder-64 -xr!buildinfo-mencoder-debug-64 -xr!buildinfo-mplayer-64 -xr!buildinfo-mplayer-debug-64 -xr!mpv64.exe -xr!mpv64.com -mx9 >nul 262 241 263 242 echo. … … 295 274 REM ) 296 275 297 if exist %TOP_LEVEL_DIR%\smplayer-build64\Qt5Core.dll ( 298 set QT5_SUFFIX="-qt5" 299 set QT5_OUTPUT_DIR="\Qt5" 300 ) else ( 301 set QT5_SUFFIX="" 302 set QT5_OUTPUT_DIR="" 303 ) 304 305 ren "%SMPLAYER_DIR64%" "smplayer-portable-%PORTABLE_PKG_VER%-x64%QT5_SUFFIX%" 306 set SMPLAYER_PORTABLE_DIR="%TOP_LEVEL_DIR%\smplayer-portable-%PORTABLE_PKG_VER%-x64%QT5_SUFFIX%" 307 308 if not exist "%TOP_LEVEL_DIR%\smplayer-portable-%PORTABLE_PKG_VER%-x64%QT5_SUFFIX%" ( 276 ren "%SMPLAYER_DIR64%" "smplayer-portable-%PORTABLE_PKG_VER%-x64" 277 set SMPLAYER_PORTABLE_DIR="%TOP_LEVEL_DIR%\smplayer-portable-%PORTABLE_PKG_VER%-x64" 278 279 if not exist "%TOP_LEVEL_DIR%\smplayer-portable-%PORTABLE_PKG_VER%-x64" ( 309 280 echo Oops! Unable to find renamed directory, make sure no files are opened. 310 281 goto end … … 360 331 361 332 echo Finalizing package... 362 7za a -t7z "%OUTPUT_DIR% %QT5_OUTPUT_DIR%\smplayer-portable-%PORTABLE_PKG_VER%-x64%QT5_SUFFIX%.7z" "%SMPLAYER_PORTABLE_DIR%" -xr!*.bak* -xr!qxtcore.dll -xr!mencoder.exe -xr!mencoder64.exe -xr!mplayer64.exe.debug -xr!mencoder64.exe.debug -xr!mplayer.exe.debug -xr!mencoder.exe.debug -xr!gdb.exe -xr!gdb64.exe -xr!vfw2menc.exe -xr!codecs -xr!buildinfo -xr!buildinfo64 -xr!buildinfo-mencoder-32 -xr!buildinfo-mencoder-debug-32 -xr!buildinfo-mplayer-32 -xr!buildinfo-mplayer-debug-32 -xr!buildinfo-mencoder-64 -xr!buildinfo-mencoder-debug-64 -xr!buildinfo-mplayer-64 -xr!buildinfo-mplayer-debug-64 -mx9 >nul333 7za a -t7z "%OUTPUT_DIR%\smplayer-portable-%PORTABLE_PKG_VER%-x64.7z" "%SMPLAYER_PORTABLE_DIR%" -xr!*.bak* -xr!qxtcore.dll -xr!mencoder.exe -xr!mencoder64.exe -xr!mplayer64.exe.debug -xr!mencoder64.exe.debug -xr!mplayer.exe.debug -xr!mencoder.exe.debug -xr!gdb.exe -xr!gdb64.exe -xr!vfw2menc.exe -xr!codecs -xr!buildinfo -xr!buildinfo64 -xr!buildinfo-mencoder-32 -xr!buildinfo-mencoder-debug-32 -xr!buildinfo-mplayer-32 -xr!buildinfo-mplayer-debug-32 -xr!buildinfo-mencoder-64 -xr!buildinfo-mencoder-debug-64 -xr!buildinfo-mplayer-64 -xr!buildinfo-mplayer-debug-64 -mx9 >nul 363 334 364 335 echo. … … 394 365 :portablesfx 395 366 396 if exist %TOP_LEVEL_DIR%\smplayer-build\Qt5Core.dll (397 set DEF_QT5=/DQT5398 ) else (399 set DEF_QT5=400 )401 402 367 if exist %PORTABLE_EXE_DIR%\smplayer-portable.exe ( 403 368 if exist %TOP_LEVEL_DIR%\smplayer-build ( 404 %MAKENSIS_EXE_PATH% /V3 /DVER_MAJOR=%VER_MAJOR% /DVER_MINOR=%VER_MINOR% /DVER_BUILD=%VER_BUILD% %VER_REV_CMD% % DEF_QT5% %TOP_LEVEL_DIR%\smportable.nsi369 %MAKENSIS_EXE_PATH% /V3 /DVER_MAJOR=%VER_MAJOR% /DVER_MINOR=%VER_MINOR% /DVER_BUILD=%VER_BUILD% %VER_REV_CMD% %TOP_LEVEL_DIR%\smportable.nsi 405 370 ) 406 )407 408 if exist %TOP_LEVEL_DIR%\smplayer-build64\Qt5Core.dll (409 set DEF_QT5=/DQT5410 ) else (411 set DEF_QT5=412 371 ) 413 372 414 373 if exist %PORTABLE_EXE_DIR%\smplayer-portable64.exe ( 415 374 if exist %TOP_LEVEL_DIR%\smplayer-build64 ( 416 %MAKENSIS_EXE_PATH% /V3 /DVER_MAJOR=%VER_MAJOR% /DVER_MINOR=%VER_MINOR% /DVER_BUILD=%VER_BUILD% %VER_REV_CMD% /DWIN64 % DEF_QT5% %TOP_LEVEL_DIR%\smportable.nsi375 %MAKENSIS_EXE_PATH% /V3 /DVER_MAJOR=%VER_MAJOR% /DVER_MINOR=%VER_MINOR% /DVER_BUILD=%VER_BUILD% %VER_REV_CMD% /DWIN64 %TOP_LEVEL_DIR%\smportable.nsi 417 376 ) 418 377 ) … … 458 417 :end 459 418 460 pause 419 timeout /t 10 461 420 462 421 :superend
Note:
See TracChangeset
for help on using the changeset viewer.