[vcpkg baseline][libheif] Fix build failure on OSX (#18039)

* [vcpkg baseline][libheif] Fix build failure on OSX

* update version record
This commit is contained in:
Jack·Boos·Yu 2021-05-21 15:31:48 +08:00 committed by GitHub
parent 9b5cbe4afe
commit 51a4dd1442
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 25 additions and 3 deletions

View File

@ -0,0 +1,14 @@
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 05afd5d..1e7f36f 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -65,7 +65,9 @@ if (WITH_AOM)
find_package(LibAOM)
endif()
find_package(Rav1e)
+if (WITH_DAV1D)
find_package(Dav1d)
+endif()
if (LIBDE265_FOUND)
message("HEIF decoder, libde265: found")

View File

@ -4,7 +4,9 @@ vcpkg_from_github(
REF 667eeabb553ce73094eb29faea3f31fb8610fec2 #v1.10.0
SHA512 937290310ec6dda8840262d4bad5e3628033fa2caa6e9cc4a0df7a372cacf38c9b55cf29d2cb7ea2183641e263298fc2e87167c1b0f04f8697023f123d78aa9d
HEAD_REF master
PATCHES gdk-pixbuf.patch
PATCHES
gdk-pixbuf.patch
disable-depend-dav1d.patch
)
vcpkg_configure_cmake(
@ -12,6 +14,7 @@ vcpkg_configure_cmake(
PREFER_NINJA
OPTIONS
-DWITH_EXAMPLES=OFF
-DWITH_DAV1D=OFF
)
vcpkg_install_cmake()
vcpkg_copy_pdbs()

View File

@ -1,7 +1,7 @@
{
"name": "libheif",
"version": "1.10.0",
"port-version": 2,
"port-version": 3,
"description": "Open h.265 video codec implementation.",
"homepage": "http://www.libheif.org/",
"dependencies": [

View File

@ -3170,7 +3170,7 @@
},
"libheif": {
"baseline": "1.10.0",
"port-version": 2
"port-version": 3
},
"libhsplasma": {
"baseline": "2020.08.30",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "a05aafcbf48befb78710d61cee5d64aa37788a83",
"version": "1.10.0",
"port-version": 3
},
{
"git-tree": "ba05813e40676056ca9a267270a62c4001635db0",
"version": "1.10.0",