Changeset 170 for smplayer/trunk/setup/scripts
- Timestamp:
- Oct 9, 2014, 2:54:21 PM (11 years ago)
- Location:
- smplayer/trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
smplayer/trunk
- Property svn:mergeinfo changed
/smplayer/vendor/current merged: 168
- Property svn:mergeinfo changed
-
smplayer/trunk/setup/scripts/install_smplayer.cmd
r156 r170 38 38 copy %QT_DIR%\bin\libgcc_s_dw2-1.dll %OUTPUT_DIR% 39 39 ) 40 copy openssl\*.dll %OUTPUT_DIR% 40 41 41 42 mkdir %OUTPUT_DIR%\imageformats … … 70 71 echo ###### Icon Themes ####### 71 72 echo. 72 svn export --force %SMPLAYER_THEMES_DIR%\themes %OUTPUT_DIR%\themes 73 74 mkdir %OUTPUT_DIR%\themes\ 75 76 mkdir %OUTPUT_DIR%\themes\Gartoon 77 copy %SMPLAYER_THEMES_DIR%\themes\Gartoon\Gartoon.rcc %OUTPUT_DIR%\themes\Gartoon\ 78 copy %SMPLAYER_THEMES_DIR%\themes\Gartoon\README.txt %OUTPUT_DIR%\themes\Gartoon\ 79 80 mkdir %OUTPUT_DIR%\themes\Gnome 81 copy %SMPLAYER_THEMES_DIR%\themes\Gnome\Gnome.rcc %OUTPUT_DIR%\themes\Gnome\ 82 copy %SMPLAYER_THEMES_DIR%\themes\Gnome\README.txt %OUTPUT_DIR%\themes\Gnome\ 83 84 mkdir %OUTPUT_DIR%\themes\Monochrome 85 copy %SMPLAYER_THEMES_DIR%\themes\Monochrome\Monochrome.rcc %OUTPUT_DIR%\themes\Monochrome\ 86 copy %SMPLAYER_THEMES_DIR%\themes\Monochrome\README.txt %OUTPUT_DIR%\themes\Monochrome\ 87 88 mkdir %OUTPUT_DIR%\themes\Noia 89 copy %SMPLAYER_THEMES_DIR%\themes\Noia\Noia.rcc %OUTPUT_DIR%\themes\Noia\ 90 copy %SMPLAYER_THEMES_DIR%\themes\Noia\README.txt %OUTPUT_DIR%\themes\Noia\ 91 92 mkdir %OUTPUT_DIR%\themes\Numix-remix 93 copy %SMPLAYER_THEMES_DIR%\themes\Numix-remix\Numix-remix.rcc %OUTPUT_DIR%\themes\Numix-remix\ 94 copy %SMPLAYER_THEMES_DIR%\themes\Numix-remix\README.txt %OUTPUT_DIR%\themes\Numix-remix\ 95 96 mkdir %OUTPUT_DIR%\themes\Numix-uTouch 97 copy %SMPLAYER_THEMES_DIR%\themes\Numix-uTouch\Numix-uTouch.rcc %OUTPUT_DIR%\themes\Numix-uTouch\ 98 copy %SMPLAYER_THEMES_DIR%\themes\Numix-uTouch\README.txt %OUTPUT_DIR%\themes\Numix-uTouch\ 99 100 mkdir %OUTPUT_DIR%\themes\Nuvola 101 copy %SMPLAYER_THEMES_DIR%\themes\Nuvola\Nuvola.rcc %OUTPUT_DIR%\themes\Nuvola\ 102 copy %SMPLAYER_THEMES_DIR%\themes\Nuvola\README.txt %OUTPUT_DIR%\themes\Nuvola\ 103 104 mkdir %OUTPUT_DIR%\themes\Oxygen 105 copy %SMPLAYER_THEMES_DIR%\themes\Oxygen\Oxygen.rcc %OUTPUT_DIR%\themes\Oxygen\ 106 copy %SMPLAYER_THEMES_DIR%\themes\Oxygen\README.txt %OUTPUT_DIR%\themes\Oxygen\ 107 108 mkdir %OUTPUT_DIR%\themes\Oxygen-Air 109 copy %SMPLAYER_THEMES_DIR%\themes\Oxygen-Air\Oxygen-Air.rcc %OUTPUT_DIR%\themes\Oxygen-Air\ 110 copy %SMPLAYER_THEMES_DIR%\themes\Oxygen-Air\README.txt %OUTPUT_DIR%\themes\Oxygen-Air\ 111 112 mkdir %OUTPUT_DIR%\themes\Oxygen-Refit 113 copy %SMPLAYER_THEMES_DIR%\themes\Oxygen-Refit\Oxygen-Refit.rcc %OUTPUT_DIR%\themes\Oxygen-Refit\ 114 copy %SMPLAYER_THEMES_DIR%\themes\Oxygen-Refit\README.txt %OUTPUT_DIR%\themes\Oxygen-Refit\ 115 116 mkdir %OUTPUT_DIR%\themes\Silk 117 copy %SMPLAYER_THEMES_DIR%\themes\Silk\Silk.rcc %OUTPUT_DIR%\themes\Silk\ 118 copy %SMPLAYER_THEMES_DIR%\themes\Silk\README.txt %OUTPUT_DIR%\themes\Silk\ 119 120 mkdir %OUTPUT_DIR%\themes\Tango 121 copy %SMPLAYER_THEMES_DIR%\themes\Tango\Tango.rcc %OUTPUT_DIR%\themes\Tango\ 122 copy %SMPLAYER_THEMES_DIR%\themes\Tango\README.txt %OUTPUT_DIR%\themes\Tango\ 123 124 mkdir %OUTPUT_DIR%\themes\blackPanther-Light 125 copy %SMPLAYER_THEMES_DIR%\themes\blackPanther-Light\blackPanther-Light.rcc %OUTPUT_DIR%\themes\blackPanther-Light\ 126 copy %SMPLAYER_THEMES_DIR%\themes\blackPanther-Light\README.txt %OUTPUT_DIR%\themes\blackPanther-Light\ 127 128 mkdir %OUTPUT_DIR%\themes\blackPanther-Real 129 copy %SMPLAYER_THEMES_DIR%\themes\blackPanther-Real\blackPanther-Real.rcc %OUTPUT_DIR%\themes\blackPanther-Real\ 130 copy %SMPLAYER_THEMES_DIR%\themes\blackPanther-Real\README.txt %OUTPUT_DIR%\themes\blackPanther-Real\ 131 132 mkdir %OUTPUT_DIR%\themes\blackPanther-VistaLike 133 copy %SMPLAYER_THEMES_DIR%\themes\blackPanther-VistaLike\blackPanther-VistaLike.rcc %OUTPUT_DIR%\themes\blackPanther-VistaLike\ 134 copy %SMPLAYER_THEMES_DIR%\themes\blackPanther-VistaLike\README.txt %OUTPUT_DIR%\themes\blackPanther-VistaLike\ 135 73 136 74 137 echo. 75 138 echo ###### Skins Themes ####### 76 139 echo. 77 svn export --force %SMPLAYER_SKINS_DIR%\themes %OUTPUT_DIR%\themes 140 141 mkdir %OUTPUT_DIR%\themes\Black 142 copy %SMPLAYER_SKINS_DIR%\themes\Black\Black.rcc %OUTPUT_DIR%\themes\Black\ 143 copy %SMPLAYER_SKINS_DIR%\themes\Black\main.css %OUTPUT_DIR%\themes\Black\ 144 145 mkdir %OUTPUT_DIR%\themes\Gonzo 146 copy %SMPLAYER_SKINS_DIR%\themes\Gonzo\Gonzo.rcc %OUTPUT_DIR%\themes\Gonzo\ 147 copy %SMPLAYER_SKINS_DIR%\themes\Gonzo\main.css %OUTPUT_DIR%\themes\Gonzo\ 148 149 mkdir %OUTPUT_DIR%\themes\Mac 150 copy %SMPLAYER_SKINS_DIR%\themes\Mac\Mac.rcc %OUTPUT_DIR%\themes\Mac\ 151 copy %SMPLAYER_SKINS_DIR%\themes\Mac\main.css %OUTPUT_DIR%\themes\Mac\ 152 153 mkdir %OUTPUT_DIR%\themes\Modern 154 copy %SMPLAYER_SKINS_DIR%\themes\Modern\Modern.rcc %OUTPUT_DIR%\themes\Modern\ 155 copy %SMPLAYER_SKINS_DIR%\themes\Modern\main.css %OUTPUT_DIR%\themes\Modern\ 156 157 mkdir %OUTPUT_DIR%\themes\Vista 158 copy %SMPLAYER_SKINS_DIR%\themes\Vista\Vista.rcc %OUTPUT_DIR%\themes\Vista\ 159 copy %SMPLAYER_SKINS_DIR%\themes\Vista\main.css %OUTPUT_DIR%\themes\Vista\ 160 78 161 79 162 echo. -
smplayer/trunk/setup/scripts/make_pkgs.cmd
r165 r170 61 61 62 62 :pkgver 63 if exist "pkg_version" ( 64 for /f "tokens=*" %%i in ('type pkg_version') do set ALL_PKG_VER=%%i 65 goto parse_version 66 ) 63 67 64 68 echo Format: VER_MAJOR.VER_MINOR.VER_BUILD[.VER_REVISION] 65 69 echo VER_REVISION is optional (set to 0 if blank) 66 70 echo. 67 68 :pkgver_again 69 Set /p ALL_PKG_VER="Version: " 70 echo. 71 71 :pkgver_manual 72 set /p ALL_PKG_VER="Version: " 73 echo. 74 75 :parse_version 72 76 for /f "tokens=1 delims=." %%j in ("%ALL_PKG_VER%") do set VER_MAJOR=%%j 73 77 for /f "tokens=2 delims=." %%k in ("%ALL_PKG_VER%") do set VER_MINOR=%%k … … 78 82 echo Major Version # must be specified [#.x.x] 79 83 echo. 80 goto pkgver_ again84 goto pkgver_manual 81 85 ) 82 86 … … 84 88 echo Minor Version # must be specified [x.#.x] 85 89 echo. 86 goto pkgver_ again90 goto pkgver_manual 87 91 ) 88 92 … … 90 94 echo Build Version # must be specified [x.x.#] 91 95 echo. 92 goto pkgver_ again96 goto pkgver_manual 93 97 ) 94 98 … … 196 200 :: 197 201 echo Finalizing package... 198 7za a -t7z %OUTPUT_DIR%\smplayer-portable-%ALL_PKG_VER%.7z %SMPLAYER_PORTABLE_DIR% -xr!*.bak* -xr!qxtcore.dll -xr!mplayer64.exe -xr!mencoder.exe -xr!mencoder64.exe - mx9 >nul202 7za a -t7z %OUTPUT_DIR%\smplayer-portable-%ALL_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!buildinfo -xr!buildinfo64 -mx9 >nul 199 203 200 204 echo. … … 280 284 :: 281 285 echo Finalizing package... 282 7za a -t7z %OUTPUT_DIR%\smplayer-portable-%ALL_PKG_VER%-x64.7z %SMPLAYER_PORTABLE_DIR% -xr!*.bak* -xr!qxtcore.dll -xr!mencoder.exe -xr!mencoder64.exe -xr!codecs-mx9 >nul286 7za a -t7z %OUTPUT_DIR%\smplayer-portable-%ALL_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!codecs -xr!buildinfo -xr!buildinfo64 -mx9 >nul 283 287 284 288 echo.
Note:
See TracChangeset
for help on using the changeset viewer.