Skip to content
Snippets Groups Projects
Commit b45d73c9 authored by Andreas Traczyk's avatar Andreas Traczyk Committed by Adrien Béraud
Browse files

contrib(UWP): bump opendht

Change-Id: Ie27cfffbdd4555d28259708a0dc3c83d6edd6f9f
parent 0e5764a0
No related branches found
No related tags found
No related merge requests found
set BUILD=%SRC%..\build set BUILD=%SRC%..\build
set OPENDHT_VERSION=1.3.3 set OPENDHT_VERSION=1.3.5
set OPENDHT_URL=https://github.com/savoirfairelinux/opendht/archive/%OPENDHT_VERSION%.tar.gz set OPENDHT_URL=https://github.com/savoirfairelinux/opendht/archive/%OPENDHT_VERSION%.tar.gz
mkdir %BUILD% mkdir %BUILD%
if %USE_CACHE%==1 ( if %USE_CACHE%==1 (
copy %CACHE_DIR%\%OPENDHT_VERSION%.tar.gz %cd% copy %CACHE_DIR%\%OPENDHT_VERSION%.tar.gz %cd%
) else ( ) else (
wget %OPENDHT_URL% wget %OPENDHT_URL%
) )
7z -y x %OPENDHT_VERSION%.tar.gz && 7z -y x %OPENDHT_VERSION%.tar -o%BUILD% 7z -y x %OPENDHT_VERSION%.tar.gz && 7z -y x %OPENDHT_VERSION%.tar -o%BUILD%
del %OPENDHT_VERSION%.tar && del %OPENDHT_VERSION%.tar.gz && del %BUILD%\pax_global_header del %OPENDHT_VERSION%.tar && del %OPENDHT_VERSION%.tar.gz && del %BUILD%\pax_global_header
rename %BUILD%\opendht-%OPENDHT_VERSION% opendht rename %BUILD%\opendht-%OPENDHT_VERSION% opendht
cd %BUILD%\opendht cd %BUILD%\opendht
git apply --reject --whitespace=fix %SRC%\opendht\opendht-uwp.patch git apply --reject --whitespace=fix %SRC%\opendht\opendht-uwp.patch
cd %SRC% cd %SRC%
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment