[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 <v-liumonica@microsoft.com>
This commit is contained in:
MonicaLiu 2024-05-22 23:37:42 -07:00 committed by GitHub
parent cb263f8bb8
commit 53c5721b00
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 8 additions and 3 deletions

View File

@ -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

View File

@ -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",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "b06ff7d5a249eaa6f633d4fb9ce05b8f6fd8f85b",
"version": "2.4.0",
"port-version": 0
},
{
"git-tree": "35a98b8fdd34b26ecfcb2a8d79f4eb288c2a800b",
"version": "2.3.2",

View File

@ -353,7 +353,7 @@
"port-version": 2
},
"avcpp": {
"baseline": "2.3.2",
"baseline": "2.4.0",
"port-version": 0
},
"avisynthplus": {