Skip to content

Commit

Permalink
[avcpp] Update to 2.4.0 (microsoft#38590)
Browse files Browse the repository at this point in the history
Fixes microsoft#38582. PR h4tr3d/avcpp#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 <[email protected]>
  • Loading branch information
MonicaLiu0311 and Monica authored May 23, 2024
1 parent cb263f8 commit 53c5721
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion ports/avcpp/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion ports/avcpp/vcpkg.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
5 changes: 5 additions & 0 deletions versions/a-/avcpp.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "b06ff7d5a249eaa6f633d4fb9ce05b8f6fd8f85b",
"version": "2.4.0",
"port-version": 0
},
{
"git-tree": "35a98b8fdd34b26ecfcb2a8d79f4eb288c2a800b",
"version": "2.3.2",
Expand Down
2 changes: 1 addition & 1 deletion versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@
"port-version": 2
},
"avcpp": {
"baseline": "2.3.2",
"baseline": "2.4.0",
"port-version": 0
},
"avisynthplus": {
Expand Down

0 comments on commit 53c5721

Please sign in to comment.