[libyuv] update to latest commit (#17294)

* [libyuv] update to latest commit

* update version

* change configure_file parameter

* update version
This commit is contained in:
JonLiu1993 2021-04-30 07:14:01 +08:00 committed by GitHub
parent c6f8dbac62
commit 58c1d6636b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 18 additions and 10 deletions

View File

@ -1,6 +0,0 @@
Source: libyuv
Version: fec9121
Port-Version: 3
Homepage: https://chromium.googlesource.com/libyuv/libyuv
Build-Depends: libjpeg-turbo
Description: libyuv is an open source project that includes YUV scaling and conversion functionality.

View File

@ -3,7 +3,7 @@ vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
vcpkg_from_git(
OUT_SOURCE_PATH SOURCE_PATH
URL https://chromium.googlesource.com/libyuv/libyuv
REF fec9121b676eccd9acea2460aec7d6ae219701b9
REF 287158925b0e03ea4499a18b4e08478c5781541b #2021-4-15
PATCHES
fix_cmakelists.patch
fix-build-type.patch
@ -28,5 +28,5 @@ file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/share)
vcpkg_replace_string(${CURRENT_PACKAGES_DIR}/include/libyuv/convert.h "#ifdef HAVE_JPEG" "#if 1")
vcpkg_replace_string(${CURRENT_PACKAGES_DIR}/include/libyuv/convert_argb.h "#ifdef HAVE_JPEG" "#if 1")
configure_file(${CMAKE_CURRENT_LIST_DIR}/libyuv-config.cmake ${CURRENT_PACKAGES_DIR}/share/libyuv COPYONLY)
configure_file(${CMAKE_CURRENT_LIST_DIR}/libyuv-config.cmake ${CURRENT_PACKAGES_DIR}/share/${PORT} COPYONLY)
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)

9
ports/libyuv/vcpkg.json Normal file
View File

@ -0,0 +1,9 @@
{
"name": "libyuv",
"version-date": "2021-04-15",
"description": "libyuv is an open source project that includes YUV scaling and conversion functionality",
"homepage": "https://chromium.googlesource.com/libyuv/libyuv",
"dependencies": [
"libjpeg-turbo"
]
}

View File

@ -3665,8 +3665,8 @@
"port-version": 0
},
"libyuv": {
"baseline": "fec9121",
"port-version": 3
"baseline": "2021-04-15",
"port-version": 0
},
"libzen": {
"baseline": "0.4.38",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "d3e4d6adb28f13cb3aa4978cd0d6e319b87416cb",
"version-date": "2021-04-15",
"port-version": 0
},
{
"git-tree": "3e79a0e3d4e6d2d92532d3ad8d368e4fc46ca62f",
"version-string": "fec9121",