mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-04 03:09:07 +08:00
[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:
parent
24118478f3
commit
927bc12e31
@ -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()
|
||||
|
@ -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"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -3926,7 +3926,7 @@
|
||||
},
|
||||
"libavif": {
|
||||
"baseline": "0.11.1",
|
||||
"port-version": 1
|
||||
"port-version": 2
|
||||
},
|
||||
"libb2": {
|
||||
"baseline": "0.98.1",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "864c480bb39144c9905eb74976a59efd74224429",
|
||||
"version-semver": "0.11.1",
|
||||
"port-version": 2
|
||||
},
|
||||
{
|
||||
"git-tree": "775b04db12d2353cc6e69d54faef89b857dd32eb",
|
||||
"version-semver": "0.11.1",
|
||||
|
Loading…
Reference in New Issue
Block a user