[libavif] add aom feature (#33378)

* Generate Imath.pc

* update version

* add dependency imath minizip-ng

* updata version

* update version

* add feature

* update version

* add dependency

* update version
This commit is contained in:
jim wang 2023-08-29 15:20:42 +08:00 committed by GitHub
parent 24118478f3
commit 927bc12e31
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 22 additions and 5 deletions

View File

@ -10,12 +10,17 @@ vcpkg_from_github(
find-dependency.patch # from https://github.com/AOMediaCodec/libavif/pull/1339
)
vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
FEATURES
aom AVIF_CODEC_AOM
)
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS
-DAVIF_CODEC_AOM=ON
-DAVIF_BUILD_APPS=OFF
-DCMAKE_REQUIRE_FIND_PACKAGE_libyuv=ON
${FEATURE_OPTIONS}
)
vcpkg_cmake_install()

View File

@ -1,12 +1,11 @@
{
"name": "libavif",
"version-semver": "0.11.1",
"port-version": 1,
"port-version": 2,
"description": "Library for encoding and decoding AVIF files",
"homepage": "https://github.com/AOMediaCodec/libavif",
"license": "BSD-2-Clause AND Apache-2.0",
"dependencies": [
"aom",
"libyuv",
{
"name": "vcpkg-cmake",
@ -16,5 +15,13 @@
"name": "vcpkg-cmake-config",
"host": true
}
]
],
"features": {
"aom": {
"description": "AV1 codec library",
"dependencies": [
"aom"
]
}
}
}

View File

@ -3926,7 +3926,7 @@
},
"libavif": {
"baseline": "0.11.1",
"port-version": 1
"port-version": 2
},
"libb2": {
"baseline": "0.98.1",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "864c480bb39144c9905eb74976a59efd74224429",
"version-semver": "0.11.1",
"port-version": 2
},
{
"git-tree": "775b04db12d2353cc6e69d54faef89b857dd32eb",
"version-semver": "0.11.1",