diff options
| author | Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com> | 2021-05-21 15:31:48 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-05-21 00:31:48 -0700 |
| commit | 51a4dd1442c5689ef2cb4af39ea6a6691479bd42 (patch) | |
| tree | d44e76dff333d504f62e5609ace229daf952578f /ports | |
| parent | 9b5cbe4afe0c3aef46c462bc3c539125fdaab9c0 (diff) | |
| download | vcpkg-51a4dd1442c5689ef2cb4af39ea6a6691479bd42.tar.gz vcpkg-51a4dd1442c5689ef2cb4af39ea6a6691479bd42.zip | |
[vcpkg baseline][libheif] Fix build failure on OSX (#18039)
* [vcpkg baseline][libheif] Fix build failure on OSX
* update version record
Diffstat (limited to 'ports')
| -rw-r--r-- | ports/libheif/disable-depend-dav1d.patch | 14 | ||||
| -rw-r--r-- | ports/libheif/portfile.cmake | 5 | ||||
| -rw-r--r-- | ports/libheif/vcpkg.json | 2 |
3 files changed, 19 insertions, 2 deletions
diff --git a/ports/libheif/disable-depend-dav1d.patch b/ports/libheif/disable-depend-dav1d.patch new file mode 100644 index 000000000..88859272e --- /dev/null +++ b/ports/libheif/disable-depend-dav1d.patch @@ -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") diff --git a/ports/libheif/portfile.cmake b/ports/libheif/portfile.cmake index a47c59b49..58c50d1de 100644 --- a/ports/libheif/portfile.cmake +++ b/ports/libheif/portfile.cmake @@ -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() diff --git a/ports/libheif/vcpkg.json b/ports/libheif/vcpkg.json index 7654ac1e3..9b7922ff2 100644 --- a/ports/libheif/vcpkg.json +++ b/ports/libheif/vcpkg.json @@ -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": [ |
