akvirtualcamera/ports/ci/appveyor/deploy.bat

39 lines
1.4 KiB
Batchfile
Raw Permalink Normal View History

REM akvirtualcamera, virtual camera for Mac and Windows.
REM Copyright (C) 2021 Gonzalo Exequiel Pedone
2020-06-05 22:09:17 +00:00
REM
REM akvirtualcamera is free software: you can redistribute it and/or modify
2020-06-05 22:09:17 +00:00
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 akvirtualcamera is distributed in the hope that it will be useful,
2020-06-05 22:09:17 +00:00
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 akvirtualcamera. If not, see <http://www.gnu.org/licenses/>.
2020-06-05 22:09:17 +00:00
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-08-03 15:32:54 +00:00
set INSTALL_PREFIX=%APPVEYOR_BUILD_FOLDER%\package-data
set PACKAGES_DIR=%APPVEYOR_BUILD_FOLDER%\packages
2021-03-20 19:13:44 +00:00
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%"