From 53c5721b00b185ff3fa14fcf979b267d0079fbcb Mon Sep 17 00:00:00 2001 From: MonicaLiu <110024546+MonicaLiu0311@users.noreply.github.com> Date: Wed, 22 May 2024 23:37:42 -0700 Subject: [PATCH] [avcpp] Update to 2.4.0 (#38590) Fixes #38582. PR https://github.com/h4tr3d/avcpp/pull/137 submitted to upstream has been merged, and a new version has been released by upstream, so updating to 2.4.0 fixes the issue: ``` 1> [CMake] CMake Error at build/debug/vcpkg_installed/x64-windows/share/avcpp/avcpp-targets.cmake:61 (set_target_properties): 1> [CMake] The link interface of target "avcpp::avcpp" contains: 1> [CMake] 1> [CMake] Threads::Threads 1> [CMake] 1> [CMake] but the target was not found. Possible reasons include: 1> [CMake] 1> [CMake] * There is a typo in the target name. 1> [CMake] * A find_package call is missing for an IMPORTED target. 1> [CMake] * An ALIAS target is missing. 1> [CMake] 1> [CMake] Call Stack (most recent call first): 1> [CMake] build/debug/vcpkg_installed/x64-windows/share/avcpp/avcpp-config.cmake:26 (include) 1> [CMake] vcpkg/scripts/buildsystems/vcpkg.cmake:859 (_find_package) 1> [CMake] CMakeLists.txt:16 (find_package) ``` - [x] Changes comply with the [maintainer guide](https://github.com/microsoft/vcpkg-docs/blob/main/vcpkg/contributing/maintainer-guide.md). - [ ] ~SHA512s are updated for each updated download.~ - [ ] ~The "supports" clause reflects platforms that may be fixed by this new version.~ - [ ] ~Any fixed [CI baseline](https://github.com/microsoft/vcpkg/blob/master/scripts/ci.baseline.txt) entries are removed from that file.~ - [ ] ~Any patches that are no longer applied are deleted from the port's directory.~ - [x] The version database is fixed by rerunning `./vcpkg x-add-version --all` and committing the result. - [x] Only one version is added to each modified port's versions file. --------- Co-authored-by: Monica --- ports/avcpp/portfile.cmake | 2 +- ports/avcpp/vcpkg.json | 2 +- versions/a-/avcpp.json | 5 +++++ versions/baseline.json | 2 +- 4 files changed, 8 insertions(+), 3 deletions(-) diff --git a/ports/avcpp/portfile.cmake b/ports/avcpp/portfile.cmake index 0e07c4a00b7630..98dc5eedbe1a7b 100644 --- a/ports/avcpp/portfile.cmake +++ b/ports/avcpp/portfile.cmake @@ -7,7 +7,7 @@ vcpkg_from_github( OUT_SOURCE_PATH SOURCE_PATH REPO h4tr3d/avcpp REF "v${VERSION}" - SHA512 b653dbc761f90ab9c91d8e20839e4763bc894cfa8c52943278237c5a0db1fa8683c47bd28b1b35c8c466d0a27339f34b162f7380ff74d99fbcdc82141eae3f84 + SHA512 365ed55e0c2bf2a699899ed6e303fe28fb9d51286579e9d7d1586132c8ab1b09c4b66e94f8061e860d73b60a28fa44769dcfdf030cb0947acfb7cdfd616127d9 HEAD_REF master PATCHES 0002-av_init_packet_deprecation.patch diff --git a/ports/avcpp/vcpkg.json b/ports/avcpp/vcpkg.json index 009b284cab5c42..d94158775a5696 100644 --- a/ports/avcpp/vcpkg.json +++ b/ports/avcpp/vcpkg.json @@ -1,6 +1,6 @@ { "name": "avcpp", - "version": "2.3.2", + "version": "2.4.0", "description": "Wrapper for the FFmpeg that simplify usage it from C++ projects.", "homepage": "https://github.com/h4tr3d/avcpp", "license": "LGPL-2.1-only OR BSD-3-Clause", diff --git a/versions/a-/avcpp.json b/versions/a-/avcpp.json index 1c8145e052bc8c..fd65d3f9ccd9f7 100644 --- a/versions/a-/avcpp.json +++ b/versions/a-/avcpp.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "b06ff7d5a249eaa6f633d4fb9ce05b8f6fd8f85b", + "version": "2.4.0", + "port-version": 0 + }, { "git-tree": "35a98b8fdd34b26ecfcb2a8d79f4eb288c2a800b", "version": "2.3.2", diff --git a/versions/baseline.json b/versions/baseline.json index d3d53fbb5d4c67..7d3115e42a80fa 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -353,7 +353,7 @@ "port-version": 2 }, "avcpp": { - "baseline": "2.3.2", + "baseline": "2.4.0", "port-version": 0 }, "avisynthplus": {