akvirtualcamera/ports/ci/appveyor/deploy.bat

39 lines
1.4 KiB
Batchfile
Raw Normal View History

2020-06-05 22:09:17 +00:00
REM Webcamoid, webcam capture application.
REM Copyright (C) 2017 Gonzalo Exequiel Pedone
REM
REM Webcamoid is free software: you can redistribute it and/or modify
REM it under the terms of the GNU General Public License as published by
REM the Free Software Foundation, either version 3 of the License, or
REM (at your option) any later version.
REM
REM Webcamoid is distributed in the hope that it will be useful,
REM but WITHOUT ANY WARRANTY; without even the implied warranty of
REM MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
REM GNU General Public License for more details.
REM
REM You should have received a copy of the GNU General Public License
REM along with Webcamoid. If not, see <http://www.gnu.org/licenses/>.
REM
REM Web-Site: http://webcamoid.github.io/
if "%PLATFORM%" == "x86" (
set PYTHON_PATH=C:\%PYTHON_VERSION%
) else (
set PYTHON_PATH=C:\%PYTHON_VERSION%-x64
)
2021-03-20 19:13:44 +00:00
set INSTALL_PREFIX=%APPVEYOR_BUILD_FOLDER%\webcamoid-data
set PACKAGES_DIR=%APPVEYOR_BUILD_FOLDER%\webcamoid-packages
2020-11-18 20:28:42 +00:00
git clone https://github.com/webcamoid/DeployTools.git
2021-05-06 15:33:30 +00:00
C:\msys64\mingw32\bin\strip.exe "%INSTALL_PREFIX%"\x86\*
C:\msys64\mingw64\bin\strip.exe "%INSTALL_PREFIX%"\x64\*
2021-03-20 19:13:44 +00:00
set PYTHONPATH=%cd%\DeployTools
2021-02-22 22:52:58 +00:00
set BUILD_PATH=%cd%\build-x64
2021-03-20 19:13:44 +00:00
%PYTHON_PATH%\python.exe DeployTools\deploy.py ^
-d "%INSTALL_PREFIX%" ^
-c "%BUILD_PATH%\package_info.conf" ^
-o "%PACKAGES_DIR%"