mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-06-17 16:55:46 -04:00
Initial community commit
This commit is contained in:
79
Src/winampAll/build_vs_2019_openssl_64.cmd
Normal file
79
Src/winampAll/build_vs_2019_openssl_64.cmd
Normal file
@ -0,0 +1,79 @@
|
||||
@if not exist "c:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvars64.bat" goto missingVisualStudio2019x64
|
||||
@if not exist "c:\Program Files\7-Zip\7z.exe" goto missing7-Zip
|
||||
@if not exist "c:\Strawberry\perl\bin\perl.exe" goto missingPerl
|
||||
@if not exist "c:\Program Files\NASM\nasm.exe" goto missingNASM
|
||||
|
||||
SET PATH=c:\Program Files\7-Zip\;c:\Strawberry\perl\bin\;c:\Program Files\NASM\;%PATH%
|
||||
@if not exist "c:\OpenSSL\" mkdir "c:\OpenSSL"
|
||||
SET OPENSSLFILENAME=openssl-1.0.1u.7z
|
||||
SET PLATFORM=x64
|
||||
SET OPENSSLFOLDER=openssl-1.0.1u
|
||||
|
||||
call "c:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvars64.bat"
|
||||
|
||||
@echo ************************************
|
||||
@echo * Build OpenSSL (%OPENSSLFILENAME%) Debug x64
|
||||
@echo ************************************
|
||||
@if exist %OPENSSLFOLDER%%PLATFORM% (
|
||||
@echo Delete temporary '%OPENSSLFOLDER%%PLATFORM%' folder
|
||||
@call rd /S /Q %OPENSSLFOLDER%%PLATFORM%
|
||||
)
|
||||
call 7z.exe x -y %OPENSSLFILENAME% -o%OPENSSLFOLDER%%PLATFORM%
|
||||
cd %OPENSSLFOLDER%%PLATFORM%
|
||||
cd %OPENSSLFOLDER%
|
||||
@ perl Configure debug-VC-WIN64A no-shared --prefix=c:\OpenSSL\Debug_x64_static
|
||||
call ms\do_nasm
|
||||
call ms\do_win64a
|
||||
nmake -f ms\nt.mak
|
||||
nmake -f ms\nt.mak install
|
||||
call xcopy /Y /D tmp32.dbg\lib.pdb c:\OpenSSL\Debug_x64_static\lib\
|
||||
|
||||
@echo **************************************
|
||||
@echo * Build OpenSSL (%OPENSSLFILENAME%) Release x64
|
||||
@echo **************************************
|
||||
@if exist %OPENSSLFOLDER%%PLATFORM% (
|
||||
@echo Delete temporary '%OPENSSLFOLDER%%PLATFORM%' folder
|
||||
@call rd /S /Q %OPENSSLFOLDER%%PLATFORM%
|
||||
)
|
||||
call 7z.exe x -y %OPENSSLFILENAME% -o%OPENSSLFOLDER%%PLATFORM%
|
||||
cd %OPENSSLFOLDER%%PLATFORM%
|
||||
cd %OPENSSLFOLDER%
|
||||
@ perl Configure VC-WIN64A no-shared --prefix=c:\OpenSSL\Release_x64_static
|
||||
call ms\do_nasm
|
||||
call ms\do_win64a
|
||||
nmake -f ms\nt.mak
|
||||
nmake -f ms\nt.mak install
|
||||
call xcopy /Y /D tmp32\lib.pdb c:\OpenSSL\Release_x64_static\lib\
|
||||
|
||||
@pause
|
||||
goto :exit
|
||||
|
||||
:missing7-Zip
|
||||
@echo 7-Zip archive tool not detected
|
||||
@pause
|
||||
@exit
|
||||
goto :eof
|
||||
|
||||
:missingPerl
|
||||
@echo Perl interpretator not detected
|
||||
@pause
|
||||
@exit
|
||||
goto :eof
|
||||
|
||||
:missingVisualStudio2019x64
|
||||
@echo Microsoft Visual Studio 2019 for x64 configuration not detected
|
||||
@pause
|
||||
@exit
|
||||
goto :eof
|
||||
|
||||
:missingNASM
|
||||
@echo Microsoft NASM assembler not detected
|
||||
@pause
|
||||
@exit
|
||||
goto :eof
|
||||
::-----------------------------------------------------------------------------
|
||||
:: EXIT
|
||||
::-----------------------------------------------------------------------------
|
||||
:exit
|
||||
|
||||
endlocal & exit /b %rc%
|
79
Src/winampAll/build_vs_2019_openssl_x86.cmd
Normal file
79
Src/winampAll/build_vs_2019_openssl_x86.cmd
Normal file
@ -0,0 +1,79 @@
|
||||
@if not exist "c:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvars32.bat" goto missingVisualStudio2019x32
|
||||
@if not exist "c:\Program Files\7-Zip\7z.exe" goto missing7-Zip
|
||||
@if not exist "c:\Strawberry\perl\bin\perl.exe" goto missingPerl
|
||||
@if not exist "c:\Program Files\NASM\nasm.exe" goto missingNASM
|
||||
|
||||
SET PATH=c:\Program Files\7-Zip\;c:\Strawberry\perl\bin\;c:\Program Files\NASM\;%PATH%
|
||||
@if not exist "c:\OpenSSL\" mkdir "c:\OpenSSL"
|
||||
SET OPENSSLFILENAME=openssl-1.0.1u.7z
|
||||
SET PLATFORM=x86
|
||||
SET OPENSSLFOLDER=openssl-1.0.1u
|
||||
|
||||
call "c:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvars32.bat"
|
||||
|
||||
@echo ************************************
|
||||
@echo * Build OpenSSL (%OPENSSLFILENAME%) Debug x86
|
||||
@echo ************************************
|
||||
@if exist %OPENSSLFOLDER%%PLATFORM% (
|
||||
@echo Delete temporary '%OPENSSLFOLDER%%PLATFORM%' folder
|
||||
@call rd /S /Q %OPENSSLFOLDER%%PLATFORM%
|
||||
)
|
||||
call 7z.exe x -y %OPENSSLFILENAME% -o%OPENSSLFOLDER%%PLATFORM%
|
||||
cd %OPENSSLFOLDER%%PLATFORM%
|
||||
cd %OPENSSLFOLDER%
|
||||
@ perl Configure debug-VC-WIN32 no-shared --prefix=c:\OpenSSL\Debug_x86_static
|
||||
call ms\do_nasm.bat
|
||||
call ms\do_ms.bat
|
||||
nmake -f ms\nt.mak
|
||||
nmake -f ms\nt.mak install
|
||||
call xcopy /Y /D tmp32.dbg\lib.pdb c:\OpenSSL\Debug_x86_static\lib\
|
||||
|
||||
@echo **************************************
|
||||
@echo * Build OpenSSL (%OPENSSLFILENAME%) Release x86
|
||||
@echo **************************************
|
||||
@if exist %OPENSSLFOLDER%%PLATFORM% (
|
||||
@echo Delete temporary '%OPENSSLFOLDER%%PLATFORM%' folder
|
||||
@call rd /S /Q %OPENSSLFOLDER%%PLATFORM%
|
||||
)
|
||||
call 7z.exe x -y %OPENSSLFILENAME% -o%OPENSSLFOLDER%%PLATFORM%
|
||||
cd %OPENSSLFOLDER%%PLATFORM%
|
||||
cd %OPENSSLFOLDER%
|
||||
@ perl Configure VC-WIN32 no-shared --prefix=c:\OpenSSL\Release_x86_static
|
||||
call ms\do_nasm.bat
|
||||
call ms\do_ms.bat
|
||||
nmake -f ms\nt.mak
|
||||
nmake -f ms\nt.mak install
|
||||
call xcopy /Y /D tmp32\lib.pdb c:\OpenSSL\Release_x86_static\lib\
|
||||
|
||||
@pause
|
||||
goto :exit
|
||||
|
||||
:missing7-Zip
|
||||
@echo 7-Zip archive tool not detected
|
||||
@pause
|
||||
@exit
|
||||
goto :eof
|
||||
|
||||
:missingPerl
|
||||
@echo Perl interpretator not detected
|
||||
@pause
|
||||
@exit
|
||||
goto :eof
|
||||
|
||||
:missingVisualStudio2019x32
|
||||
@echo Microsoft Visual Studio 2019 for x32 configuration not detected
|
||||
@pause
|
||||
@exit
|
||||
goto :eof
|
||||
|
||||
:missingNASM
|
||||
@echo Microsoft NASM assembler not detected
|
||||
@pause
|
||||
@exit
|
||||
goto :eof
|
||||
::-----------------------------------------------------------------------------
|
||||
:: EXIT
|
||||
::-----------------------------------------------------------------------------
|
||||
:exit
|
||||
|
||||
endlocal & exit /b %rc%
|
47
Src/winampAll/build_winampAll_2019.cmd
Normal file
47
Src/winampAll/build_winampAll_2019.cmd
Normal file
@ -0,0 +1,47 @@
|
||||
@if not exist "c:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvars32.bat" goto missingVisualStudio2019x32
|
||||
@if not exist "c:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvars64.bat" goto missingVisualStudio2019x64
|
||||
|
||||
@echo ************************************
|
||||
@echo * Build winampAll_2019.sln Debug x86
|
||||
@echo ************************************
|
||||
call "c:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvars32.bat"
|
||||
@@msbuild winampAll_2019.sln /p:Configuration=Debug /p:Platform="Win32"
|
||||
|
||||
@echo **************************************
|
||||
@echo * Build winampAll_2019.sln Release x86
|
||||
@echo **************************************
|
||||
call "c:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvars32.bat"
|
||||
@@msbuild winampAll_2019.sln /p:configuration=Release /p:Platform="Win32"
|
||||
|
||||
@echo ************************************
|
||||
@echo * Build winampAll_2019.sln Debug x64
|
||||
@echo ************************************
|
||||
call "c:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvars64.bat"
|
||||
@@msbuild winampAll_2019.sln /p:configuration=Debug /p:Platform="x64"
|
||||
|
||||
@echo **************************************
|
||||
@echo * Build winampAll_2019.sln Release x64
|
||||
@echo **************************************
|
||||
call "c:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvars64.bat"
|
||||
@@msbuild winampAll_2019.sln /p:configuration=Release /p:Platform="x64"
|
||||
|
||||
@pause
|
||||
goto :exit
|
||||
|
||||
:missingVisualStudio2019x32
|
||||
@echo Microsoft Visual Studio 2019 for x32 configuration not detected
|
||||
@pause
|
||||
@exit
|
||||
goto :eof
|
||||
|
||||
:missingVisualStudio2019x64
|
||||
@echo Microsoft Visual Studio 2019 for x64 configuration not detected
|
||||
@pause
|
||||
@exit
|
||||
goto :eof
|
||||
::-----------------------------------------------------------------------------
|
||||
:: EXIT
|
||||
::-----------------------------------------------------------------------------
|
||||
:exit
|
||||
|
||||
endlocal & exit /b %rc%
|
22
Src/winampAll/build_winamp_x64_Debug_2019.cmd
Normal file
22
Src/winampAll/build_winamp_x64_Debug_2019.cmd
Normal file
@ -0,0 +1,22 @@
|
||||
@if not exist "c:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvars64.bat" goto missingVisualStudio2019x64
|
||||
|
||||
@echo ************************************
|
||||
@echo * Build winampAll_2019.sln Debug x64
|
||||
@echo ************************************
|
||||
call "c:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvars64.bat"
|
||||
@@msbuild winampAll_2019.sln /p:configuration=Debug /p:Platform="x64"
|
||||
|
||||
@pause
|
||||
goto :exit
|
||||
|
||||
:missingVisualStudio2019x64
|
||||
@echo Microsoft Visual Studio 2019 for x64 configuration not detected
|
||||
@pause
|
||||
@exit
|
||||
goto :eof
|
||||
::-----------------------------------------------------------------------------
|
||||
:: EXIT
|
||||
::-----------------------------------------------------------------------------
|
||||
:exit
|
||||
|
||||
endlocal & exit /b %rc%
|
22
Src/winampAll/build_winamp_x64_Release_2019.cmd
Normal file
22
Src/winampAll/build_winamp_x64_Release_2019.cmd
Normal file
@ -0,0 +1,22 @@
|
||||
@if not exist "c:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvars64.bat" goto missingVisualStudio2019x64
|
||||
|
||||
@echo **************************************
|
||||
@echo * Build winampAll_2019.sln Release x64
|
||||
@echo **************************************
|
||||
call "c:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvars64.bat"
|
||||
@@msbuild winampAll_2019.sln /p:configuration=Release /p:Platform="x64"
|
||||
|
||||
@pause
|
||||
goto :exit
|
||||
|
||||
:missingVisualStudio2019x64
|
||||
@echo Microsoft Visual Studio 2019 for x64 configuration not detected
|
||||
@pause
|
||||
@exit
|
||||
goto :eof
|
||||
::-----------------------------------------------------------------------------
|
||||
:: EXIT
|
||||
::-----------------------------------------------------------------------------
|
||||
:exit
|
||||
|
||||
endlocal & exit /b %rc%
|
22
Src/winampAll/build_winamp_x86_Debug_2019.cmd
Normal file
22
Src/winampAll/build_winamp_x86_Debug_2019.cmd
Normal file
@ -0,0 +1,22 @@
|
||||
@if not exist "c:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvars32.bat" goto missingVisualStudio2019x32
|
||||
|
||||
@echo ************************************
|
||||
@echo * Build winampAll_2019.sln Debug x86
|
||||
@echo ************************************
|
||||
call "c:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvars32.bat"
|
||||
@@msbuild winampAll_2019.sln /p:Configuration=Debug /p:Platform="Win32"
|
||||
|
||||
@pause
|
||||
goto :exit
|
||||
|
||||
:missingVisualStudio2019x32
|
||||
@echo Microsoft Visual Studio 2019 for x32 configuration not detected
|
||||
@pause
|
||||
@exit
|
||||
goto :eof
|
||||
::-----------------------------------------------------------------------------
|
||||
:: EXIT
|
||||
::-----------------------------------------------------------------------------
|
||||
:exit
|
||||
|
||||
endlocal & exit /b %rc%
|
22
Src/winampAll/build_winamp_x86_Release_2019.cmd
Normal file
22
Src/winampAll/build_winamp_x86_Release_2019.cmd
Normal file
@ -0,0 +1,22 @@
|
||||
@if not exist "c:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvars32.bat" goto missingVisualStudio2019x32
|
||||
|
||||
@echo **************************************
|
||||
@echo * Build winampAll_2019.sln Release x86
|
||||
@echo **************************************
|
||||
call "c:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvars32.bat"
|
||||
@@msbuild winampAll_2019.sln /p:configuration=Release /p:Platform="Win32"
|
||||
|
||||
@pause
|
||||
goto :exit
|
||||
|
||||
:missingVisualStudio2019x32
|
||||
@echo Microsoft Visual Studio 2019 for x32 configuration not detected
|
||||
@pause
|
||||
@exit
|
||||
goto :eof
|
||||
::-----------------------------------------------------------------------------
|
||||
:: EXIT
|
||||
::-----------------------------------------------------------------------------
|
||||
:exit
|
||||
|
||||
endlocal & exit /b %rc%
|
4637
Src/winampAll/clean_winampAll_2019.cmd
Normal file
4637
Src/winampAll/clean_winampAll_2019.cmd
Normal file
File diff suppressed because it is too large
Load Diff
BIN
Src/winampAll/libmpg123.7z
Normal file
BIN
Src/winampAll/libmpg123.7z
Normal file
Binary file not shown.
BIN
Src/winampAll/libvpx_v1.8.2_msvc16.7z
Normal file
BIN
Src/winampAll/libvpx_v1.8.2_msvc16.7z
Normal file
Binary file not shown.
53
Src/winampAll/unpack_libmpg123.cmd
Normal file
53
Src/winampAll/unpack_libmpg123.cmd
Normal file
@ -0,0 +1,53 @@
|
||||
@if not exist "c:\Program Files\7-Zip\7z.exe" goto missing7-Zip
|
||||
|
||||
SET PATH=c:\Program Files\7-Zip\;%PATH%
|
||||
|
||||
SET LIBMPG123FILENAME=libmpg123.7z
|
||||
SET LIBMPG123FOLDER=libmpg123
|
||||
SET MPG123=mpg123
|
||||
SET VERSION=1.25.13
|
||||
SET MACHINEX86=x86
|
||||
SET MACHINEX64=x64
|
||||
SET DEBUG=debug
|
||||
SET RELEASE=release
|
||||
|
||||
@echo ************************************
|
||||
@echo * Unpack libmpg123 (%LIBMPG123FILENAME%)
|
||||
@echo ************************************
|
||||
@if exist ..\%LIBMPG123FOLDER% goto existlibmpg123
|
||||
|
||||
call 7z.exe x -y %LIBMPG123FILENAME% -o../
|
||||
|
||||
cd ../%LIBMPG123FOLDER%/%MPG123%-%VERSION%-%MACHINEX86%-%DEBUG%
|
||||
call create_libmpg123_lib_file_x86_debug.cmd
|
||||
|
||||
cd ../%MPG123%-%VERSION%-%MACHINEX86%-%RELEASE%
|
||||
call create_libmpg123_lib_file_x86_release.cmd
|
||||
|
||||
cd ../%MPG123%-%VERSION%-%MACHINEX64%-%DEBUG%
|
||||
call create_libmpg123_lib_file_x64_debug.cmd
|
||||
|
||||
cd ../%MPG123%-%VERSION%-%MACHINEX64%-%RELEASE%
|
||||
call create_libmpg123_lib_file_x64_release.cmd
|
||||
|
||||
@pause
|
||||
goto :exit
|
||||
|
||||
:missing7-Zip
|
||||
@echo 7-Zip archive tool not detected.
|
||||
@pause
|
||||
@exit
|
||||
goto :eof
|
||||
|
||||
|
||||
:existlibmpg123
|
||||
@echo libmpg123 folder already exists. Unpack operation is aborted.
|
||||
@pause
|
||||
@exit
|
||||
goto :eof
|
||||
::-----------------------------------------------------------------------------
|
||||
:: EXIT
|
||||
::-----------------------------------------------------------------------------
|
||||
:exit
|
||||
|
||||
endlocal & exit /b %rc%
|
35
Src/winampAll/unpack_libvpx_v1.8.2_msvc16.cmd
Normal file
35
Src/winampAll/unpack_libvpx_v1.8.2_msvc16.cmd
Normal file
@ -0,0 +1,35 @@
|
||||
@if not exist "c:\Program Files\7-Zip\7z.exe" goto missing7-Zip
|
||||
|
||||
SET PATH=c:\Program Files\7-Zip\;%PATH%
|
||||
|
||||
SET LIBVPXFILENAME=libvpx_v1.8.2_msvc16.7z
|
||||
SET LIBVPXFOLDER=libvpx_v1.8.2_msvc16
|
||||
|
||||
@echo ************************************
|
||||
@echo * Unpack libvpx_v1.8.2 for VS 2019 (%LIBVPXFILENAME%)
|
||||
@echo ************************************
|
||||
@if exist ..\%LIBVPXFOLDER% goto existlibvpx
|
||||
|
||||
call 7z.exe x -y %LIBVPXFILENAME% -o../
|
||||
|
||||
@pause
|
||||
goto :exit
|
||||
|
||||
:missing7-Zip
|
||||
@echo 7-Zip archive tool not detected.
|
||||
@pause
|
||||
@exit
|
||||
goto :eof
|
||||
|
||||
|
||||
:existlibvpx
|
||||
@echo libvpx_v1.8.2 for VS 2019 folder already exists. Unpack operation is aborted.
|
||||
@pause
|
||||
@exit
|
||||
goto :eof
|
||||
::-----------------------------------------------------------------------------
|
||||
:: EXIT
|
||||
::-----------------------------------------------------------------------------
|
||||
:exit
|
||||
|
||||
endlocal & exit /b %rc%
|
Reference in New Issue
Block a user