aboutsummaryrefslogtreecommitdiff
path: root/ports/libheif
diff options
context:
space:
mode:
Diffstat (limited to 'ports/libheif')
-rw-r--r--ports/libheif/CONTROL1
-rw-r--r--ports/libheif/install-extra-headers.patch12
-rw-r--r--ports/libheif/portfile.cmake1
3 files changed, 14 insertions, 0 deletions
diff --git a/ports/libheif/CONTROL b/ports/libheif/CONTROL
index be0476d4d..c6dc34356 100644
--- a/ports/libheif/CONTROL
+++ b/ports/libheif/CONTROL
@@ -1,5 +1,6 @@
Source: libheif
Version: 1.7.0
+Port-Version: 1
Homepage: http://www.libheif.org/
Description: Open h.265 video codec implementation.
Build-Depends: x265, libde265
diff --git a/ports/libheif/install-extra-headers.patch b/ports/libheif/install-extra-headers.patch
new file mode 100644
index 000000000..eb32ee8a4
--- /dev/null
+++ b/ports/libheif/install-extra-headers.patch
@@ -0,0 +1,12 @@
+diff --git a/libheif/CMakeLists.txt b/libheif/CMakeLists.txt
+index 6d683ec..dc2c4eb 100644
+--- a/libheif/CMakeLists.txt
++++ b/libheif/CMakeLists.txt
+@@ -17,6 +17,7 @@ set(libheif_headers
+ heif_plugin_registry.h
+ heif_limits.h
+ heif_plugin.h
++ heif_cxx.h
+ logging.h
+ ${CMAKE_CURRENT_BINARY_DIR}/heif_version.h
+ )
diff --git a/ports/libheif/portfile.cmake b/ports/libheif/portfile.cmake
index 838734b2d..97068d449 100644
--- a/ports/libheif/portfile.cmake
+++ b/ports/libheif/portfile.cmake
@@ -7,6 +7,7 @@ vcpkg_from_github(
PATCHES
dont_build_examples_and_gdk_pixbuf.patch
remove_finding_pkgconfig.patch
+ install-extra-headers.patch
)
vcpkg_configure_cmake(