From ef2ffdc545c7db91d2b1eef4ed1c6be71768b7dd Mon Sep 17 00:00:00 2001 From: omartijn <44672243+omartijn@users.noreply.github.com> Date: Sat, 8 Aug 2026 08:21:00 +0200 Subject: [PATCH] [libjuice] Set SOVERSION on shared library target (#53177) Co-authored-by: Martijn Otto Co-authored-by: Billy Robert O'Neal III Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- ports/libjuice/portfile.cmake | 1 + ports/libjuice/soversion.diff | 13 +++++++++++++ ports/libjuice/vcpkg.json | 3 ++- versions/baseline.json | 2 +- versions/l-/libjuice.json | 5 +++++ 5 files changed, 22 insertions(+), 2 deletions(-) create mode 100644 ports/libjuice/soversion.diff diff --git a/ports/libjuice/portfile.cmake b/ports/libjuice/portfile.cmake index 017f1a545c..aa90dec3ac 100644 --- a/ports/libjuice/portfile.cmake +++ b/ports/libjuice/portfile.cmake @@ -6,6 +6,7 @@ vcpkg_from_github( HEAD_REF master PATCHES dependencies.diff + soversion.diff ) vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS diff --git a/ports/libjuice/soversion.diff b/ports/libjuice/soversion.diff new file mode 100644 index 0000000000..7d94bdc495 --- /dev/null +++ b/ports/libjuice/soversion.diff @@ -0,0 +1,13 @@ +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 3b020a9..1f1dd5c 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -97,7 +97,7 @@ set(THREADS_PREFER_PTHREAD_FLAG ON) + find_package(Threads REQUIRED) + + add_library(juice ${LIBJUICE_SOURCES}) +-set_target_properties(juice PROPERTIES VERSION ${PROJECT_VERSION}) ++set_target_properties(juice PROPERTIES VERSION ${PROJECT_VERSION} SOVERSION ${PROJECT_VERSION_MAJOR}) + target_include_directories(juice PUBLIC + $ + $) diff --git a/ports/libjuice/vcpkg.json b/ports/libjuice/vcpkg.json index 29a8465b6a..7d0a36ae39 100644 --- a/ports/libjuice/vcpkg.json +++ b/ports/libjuice/vcpkg.json @@ -1,9 +1,10 @@ { "name": "libjuice", "version": "1.7.2", + "port-version": 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", - "license": "LGPL-2.1-only", + "license": "MPL-2.0", "dependencies": [ { "name": "vcpkg-cmake", diff --git a/versions/baseline.json b/versions/baseline.json index 5aa388ce2a..810f368bb1 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -5238,7 +5238,7 @@ }, "libjuice": { "baseline": "1.7.2", - "port-version": 0 + "port-version": 1 }, "libjxl": { "baseline": "0.11.2", diff --git a/versions/l-/libjuice.json b/versions/l-/libjuice.json index d69bacebf8..35b927de09 100644 --- a/versions/l-/libjuice.json +++ b/versions/l-/libjuice.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "59feec3870fce9408e58b9f5a5c51bbb95b00a22", + "version": "1.7.2", + "port-version": 1 + }, { "git-tree": "82db1377df8a430ee955ff2994c29bd342da2f1b", "version": "1.7.2",