Added chroma-format and disable-gpl features (#30631)

This commit is contained in:
David Ely 2023-04-06 09:54:23 +10:00 committed by GitHub
parent 66ac2b3071
commit 860641602b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 21 additions and 2 deletions

View File

@ -77,6 +77,14 @@ else()
vcpkg_list(APPEND OPTIONS_RELEASE --disable-cli)
endif()
if("chroma-format-all" IN_LIST FEATURES)
vcpkg_list(APPEND OPTIONS --chroma-format=all)
endif()
if("disable-gpl" IN_LIST FEATURES)
vcpkg_list(APPEND OPTIONS --disable-gpl)
endif()
if(VCPKG_TARGET_IS_UWP)
list(APPEND OPTIONS --extra-cflags=-D_WIN32_WINNT=0x0A00)
endif()

View File

@ -1,7 +1,7 @@
{
"name": "x264",
"version": "0.164.3095",
"port-version": 2,
"port-version": 3,
"description": "x264 is a free software library and application for encoding video streams into the H.264/MPEG-4 AVC compression format",
"homepage": "https://www.videolan.org/developers/x264.html",
"license": "GPL-2.0-or-later",
@ -19,6 +19,9 @@
"description": "Enable platform-specific assembly optimizations",
"supports": "x86 | x64 | (arm & !windows) | arm64"
},
"chroma-format-all": {
"description": "Output all chroma formats"
},
"default-features": {
"description": "Default set of features",
"dependencies": [
@ -31,6 +34,9 @@
}
]
},
"disable-gpl": {
"description": "Disable GPL-only features"
},
"tool": {
"description": "Build the command line tool",
"supports": "!uwp"

View File

@ -8490,7 +8490,7 @@
},
"x264": {
"baseline": "0.164.3095",
"port-version": 2
"port-version": 3
},
"x265": {
"baseline": "3.4",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "18da69fb69b926e7784135262798356e7b1ee5e4",
"version": "0.164.3095",
"port-version": 3
},
{
"git-tree": "4ff53c90cd7222ae9d3e8dc579c1d198715585c2",
"version": "0.164.3095",