diff options
| author | Nemirtingas <9432037+Nemirtingas@users.noreply.github.com> | 2021-04-07 21:44:37 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-04-07 12:44:37 -0700 |
| commit | 12eb540f89729deee88898bdb0a3a40a56387892 (patch) | |
| tree | 1f68e1e3321ba9d56aded3ce5ab05609a08297b6 | |
| parent | f0979f36714eeae931eac715c410e42e781d8f5e (diff) | |
| download | vcpkg-12eb540f89729deee88898bdb0a3a40a56387892.tar.gz vcpkg-12eb540f89729deee88898bdb0a3a40a56387892.zip | |
Update libjuice to 0.7.1 to update libdatachannel (#17076)
* Update libjuice to 0.7.1 to update libdatachannel
* Transform the CONTROL file to .json and update version baseline.
* Update libjuice version. I don't really know why it changed.
* Fix version type
* Fix version type
Co-authored-by: Nemirtingas <nanaki89@hotmail.fr>
| -rw-r--r-- | ports/libjuice/CONTROL | 8 | ||||
| -rw-r--r-- | ports/libjuice/fix-for-vcpkg.patch | 12 | ||||
| -rw-r--r-- | ports/libjuice/portfile.cmake | 4 | ||||
| -rw-r--r-- | ports/libjuice/vcpkg.json | 14 | ||||
| -rw-r--r-- | versions/baseline.json | 2 | ||||
| -rw-r--r-- | versions/l-/libjuice.json | 5 |
6 files changed, 28 insertions, 17 deletions
diff --git a/ports/libjuice/CONTROL b/ports/libjuice/CONTROL deleted file mode 100644 index 4660f8033..000000000 --- a/ports/libjuice/CONTROL +++ /dev/null @@ -1,8 +0,0 @@ -Source: libjuice
-Version: 0.6.0
-Homepage: https://github.com/paullouisageneau/libjuice
-Description: The library is a simplified implementation of the Interactive Connectivity Establishment (ICE) protocol in C for POSIX platforms (including Linux and Apple macOS) and Microsoft Windows.
-
-Feature: nettle
-Build-Depends: nettle
-Description: Use nettle for HMAC computation instead of the Builtin
diff --git a/ports/libjuice/fix-for-vcpkg.patch b/ports/libjuice/fix-for-vcpkg.patch index 2d390aa9f..72ef83d0b 100644 --- a/ports/libjuice/fix-for-vcpkg.patch +++ b/ports/libjuice/fix-for-vcpkg.patch @@ -1,8 +1,8 @@ diff --git a/CMakeLists.txt b/CMakeLists.txt -index 8136e2e..fa7ce92 100644 +index 6142f91..cfdfa40 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt -@@ -46,6 +46,9 @@ set(LIBJUICE_SOURCES +@@ -53,6 +53,9 @@ set(LIBJUICE_SOURCES set(LIBJUICE_HEADERS ${CMAKE_CURRENT_SOURCE_DIR}/include/juice/juice.h ) @@ -12,7 +12,7 @@ index 8136e2e..fa7ce92 100644 set(TESTS_SOURCES ${CMAKE_CURRENT_SOURCE_DIR}/test/main.c -@@ -59,10 +62,10 @@ set(TESTS_SOURCES +@@ -70,10 +73,10 @@ set(TESTS_SOURCES set(THREADS_PREFER_PTHREAD_FLAG ON) find_package(Threads REQUIRED) @@ -25,7 +25,7 @@ index 8136e2e..fa7ce92 100644 target_include_directories(juice PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include/juice) target_include_directories(juice PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/src) target_link_libraries(juice PUBLIC Threads::Threads) -@@ -86,10 +89,14 @@ endif() +@@ -97,10 +100,14 @@ endif() if (USE_NETTLE) find_package(Nettle REQUIRED) @@ -42,7 +42,7 @@ index 8136e2e..fa7ce92 100644 else() target_compile_definitions(juice PRIVATE USE_NETTLE=0) target_compile_definitions(juice-static PRIVATE USE_NETTLE=0) -@@ -109,8 +116,13 @@ endif() +@@ -125,8 +132,13 @@ endif() add_library(LibJuice::LibJuice ALIAS juice) add_library(LibJuice::LibJuiceStatic ALIAS juice-static) @@ -57,7 +57,7 @@ index 8136e2e..fa7ce92 100644 if(NOT MSVC) target_compile_options(juice PRIVATE -Wall -Wextra) -@@ -145,3 +157,8 @@ if(NOT NO_TESTS) +@@ -161,3 +173,8 @@ if(NOT NO_TESTS) target_link_libraries(juice-tests juice) endif() diff --git a/ports/libjuice/portfile.cmake b/ports/libjuice/portfile.cmake index c03818b2b..16c83d189 100644 --- a/ports/libjuice/portfile.cmake +++ b/ports/libjuice/portfile.cmake @@ -1,8 +1,8 @@ vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO paullouisageneau/libjuice
- REF v0.6.0
- SHA512 43ab1f4d7d51c05b5cf2c948c9910b26b5cb7f0f15f10cdfcfdbfc833cfc0caf23da18f12adc1aa7183f77cfb510f5637031d89b3b08014c1fb7266b7f5f31f2
+ REF v0.7.1
+ SHA512 4a8a8705d8ee5f6d242e4463e13fbd45ec86145bf17f9c4f755e60922166b3cb12773296fac34f02cbe4ac79f91d73f2bc6406445cfe9520bf09e10d1606bc7e
HEAD_REF master
PATCHES
fix-for-vcpkg.patch
diff --git a/ports/libjuice/vcpkg.json b/ports/libjuice/vcpkg.json new file mode 100644 index 000000000..7aa06acb5 --- /dev/null +++ b/ports/libjuice/vcpkg.json @@ -0,0 +1,14 @@ +{ + "name": "libjuice", + "version": "0.7.1", + "description": "The library is a simplified implementation of the Interactive Connectivity Establishment (ICE) protocol in C for POSIX platforms (including Linux and Apple macOS) and Microsoft Windows.", + "homepage": "https://github.com/paullouisageneau/libjuice", + "features": { + "nettle": { + "description": "Use nettle for HMAC computation instead of the Builtin", + "dependencies": [ + "nettle" + ] + } + } +} diff --git a/versions/baseline.json b/versions/baseline.json index 21d83e8a7..05e50c907 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -3169,7 +3169,7 @@ "port-version": 0 }, "libjuice": { - "baseline": "0.6.0", + "baseline": "0.7.1", "port-version": 0 }, "libkeyfinder": { diff --git a/versions/l-/libjuice.json b/versions/l-/libjuice.json index abd1cc836..04ae9e972 100644 --- a/versions/l-/libjuice.json +++ b/versions/l-/libjuice.json @@ -1,6 +1,11 @@ { "versions": [ { + "git-tree": "42cecee2b8da92c2c8c120c09bd663b20f2c947a", + "version": "0.7.1", + "port-version": 0 + }, + { "git-tree": "e7ef5f1f7d883e5f8a7dcb52ea5821730281e375", "version-string": "0.6.0", "port-version": 0 |
