Ignore:
Timestamp:
Aug 31, 2016, 5:31:04 PM (9 years ago)
Author:
Silvan Scherrer
Message:

smplayer: update trunk to version 16.8.0

Location:
smplayer/trunk
Files:
1 deleted
2 edited
1 copied

Legend:

Unmodified
Added
Removed
  • smplayer/trunk

  • smplayer/trunk/setup/scripts/make_pkgs.cmd

    r176 r181  
    9999set VER_REVISION=
    100100set VER_REV_CMD=
    101 set DEF_QT5=
    102101set /p ALL_PKG_VER="Version: "
    103102echo.
     
    161160echo.
    162161
    163 if exist %TOP_LEVEL_DIR%\smplayer-build\Qt5Core.dll (
    164   set DEF_QT5=/DQT5
    165 ) else (
    166   set DEF_QT5=
    167 )
    168 
    169162if 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.nsi
     163  %MAKENSIS_EXE_PATH% /V3 /DVER_MAJOR=%VER_MAJOR% /DVER_MINOR=%VER_MINOR% /DVER_BUILD=%VER_BUILD% %VER_REV_CMD% %TOP_LEVEL_DIR%\smplayer.nsi
    171164)
    172165
     
    177170echo.
    178171
    179 if exist %TOP_LEVEL_DIR%\smplayer-build64\Qt5Core.dll (
    180   set DEF_QT5="/DQT5"
    181 ) else (
    182   set DEF_QT5=
    183 )
    184 
    185172if 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.nsi
     173  %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
    187174)
    188175
     
    208195REM )
    209196
    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%" (
     197ren "%SMPLAYER_DIR%" "smplayer-portable-%PORTABLE_PKG_VER%"
     198set SMPLAYER_PORTABLE_DIR="%TOP_LEVEL_DIR%\smplayer-portable-%PORTABLE_PKG_VER%"
     199
     200if not exist "%TOP_LEVEL_DIR%\smplayer-portable-%PORTABLE_PKG_VER%" (
    222201  echo Oops! Unable to find renamed directory, make sure no files are opened.
    223202  goto end
     
    259238
    260239echo 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 >nul
     2407za 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
    262241
    263242echo.
     
    295274REM )
    296275
    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%" (
     276ren "%SMPLAYER_DIR64%" "smplayer-portable-%PORTABLE_PKG_VER%-x64"
     277set SMPLAYER_PORTABLE_DIR="%TOP_LEVEL_DIR%\smplayer-portable-%PORTABLE_PKG_VER%-x64"
     278
     279if not exist "%TOP_LEVEL_DIR%\smplayer-portable-%PORTABLE_PKG_VER%-x64" (
    309280  echo Oops! Unable to find renamed directory, make sure no files are opened.
    310281  goto end
     
    360331
    361332echo 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 >nul
     3337za 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
    363334
    364335echo.
     
    394365:portablesfx
    395366
    396 if exist %TOP_LEVEL_DIR%\smplayer-build\Qt5Core.dll (
    397   set DEF_QT5=/DQT5
    398 ) else (
    399   set DEF_QT5=
    400 )
    401 
    402367if exist %PORTABLE_EXE_DIR%\smplayer-portable.exe (
    403368  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.nsi
     369  %MAKENSIS_EXE_PATH% /V3 /DVER_MAJOR=%VER_MAJOR% /DVER_MINOR=%VER_MINOR% /DVER_BUILD=%VER_BUILD% %VER_REV_CMD% %TOP_LEVEL_DIR%\smportable.nsi
    405370  )
    406 )
    407 
    408 if exist %TOP_LEVEL_DIR%\smplayer-build64\Qt5Core.dll (
    409   set DEF_QT5=/DQT5
    410 ) else (
    411   set DEF_QT5=
    412371)
    413372
    414373if exist %PORTABLE_EXE_DIR%\smplayer-portable64.exe (
    415374  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.nsi
     375  %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
    417376  )
    418377)
     
    458417:end
    459418
    460 pause
     419timeout /t 10
    461420
    462421:superend
Note: See TracChangeset for help on using the changeset viewer.