[avcpp] Update to version 2.1.0 (#28493)

* [avcpp] Update to 2.1.0.

* Update versions.

* Update ports/avcpp/portfile.cmake

Co-authored-by: Lily Wang <94091114+LilyWangLL@users.noreply.github.com>

* Update ports/avcpp/portfile.cmake

Co-authored-by: Lily Wang <94091114+LilyWangLL@users.noreply.github.com>

* Update avcpp.json

Co-authored-by: Lily Wang <94091114+LilyWangLL@users.noreply.github.com>
This commit is contained in:
Matthew Oliver 2022-12-29 07:58:54 +11:00 committed by GitHub
parent 61eab021ba
commit e43210e6b3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 21 additions and 6 deletions

View File

@ -1,11 +1,13 @@
# avcpp doesn't export any symbols
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
vcpkg_minimum_required(VERSION 2022-10-12) # for ${VERSION}
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO h4tr3d/avcpp
REF fa9a1ef70bbf9e9f3963fbaa4540e8aac4ad8daa
SHA512 e0821d8e01e0fdb28d58564c87cafa7f9349b1b31dc90d4f2ea4c22c51fc16555f4a01f30d7575798138067921a011faa10e4d2ac2ac02acdf224546724e0338
REF "v${VERSION}"
SHA512 1e66afcf9a1f1085001aab9eb270cbbc6930cc42e60567300676d220120c421c44d24c7aeccb0b5c3ebd9de574ca1efbc67a29c681e3e11a796c32cc370069e4
HEAD_REF master
PATCHES
0002-av_init_packet_deprecation.patch
@ -15,6 +17,10 @@ vcpkg_from_github(
string(COMPARE EQUAL "${VCPKG_LIBRARY_LINKAGE}" "static" AVCPP_ENABLE_STATIC)
string(COMPARE EQUAL "${VCPKG_LIBRARY_LINKAGE}" "dynamic" AVCPP_ENABLE_SHARED)
if(NOT HOST_TRIPLET STREQUAL TARGET_TRIPLET)
vcpkg_add_to_path(${CURRENT_HOST_INSTALLED_DIR}/tools/pkgconf)
endif()
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS

View File

@ -1,9 +1,9 @@
{
"name": "avcpp",
"version-date": "2021-06-14",
"port-version": 1,
"version": "2.1.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",
"dependencies": [
{
"name": "ffmpeg",
@ -18,6 +18,10 @@
"swscale"
]
},
{
"name": "pkgconf",
"host": true
},
{
"name": "vcpkg-cmake",
"host": true

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "7227fc33d6f65475816f10bffcdbedd6d2485298",
"version": "2.1.0",
"port-version": 0
},
{
"git-tree": "caf5460d5bfca1d608b7c7eab2bd2872080bf0d8",
"version-date": "2021-06-14",

View File

@ -273,8 +273,8 @@
"port-version": 0
},
"avcpp": {
"baseline": "2021-06-14",
"port-version": 1
"baseline": "2.1.0",
"port-version": 0
},
"avisynthplus": {
"baseline": "3.7.2",