Here is an update to libheif 1.15.2.
- codec plugin system now also works with Windows - heif_convert: manually choose which decoder should be used - support for CLLI (content light level box), MDCV (mastering display colour volume), PASP (pixel aspect) information - ICC profile support in gdk-pixbuf loader Index: Makefile =================================================================== RCS file: /home/cvs/ports/multimedia/libheif/Makefile,v retrieving revision 1.10 diff -u -p -u -p -r1.10 Makefile --- Makefile 4 Apr 2023 09:08:47 -0000 1.10 +++ Makefile 6 Apr 2023 08:59:01 -0000 @@ -1,9 +1,9 @@ COMMENT= HEIF and AVIF file format decoder and encoder -V= 1.14.2 +V= 1.15.2 DISTNAME= libheif-$V -SHARED_LIBS += heif 1.4 # 9.0 +SHARED_LIBS += heif 1.5 # 9.0 CATEGORIES= multimedia graphics @@ -13,7 +13,7 @@ HOMEPAGE= https://github.com/strukturag/ PERMIT_PACKAGE= Yes WANTLIB += ${COMPILER_LIBCXX} aom c dav1d de265 gdk_pixbuf-2.0 -WANTLIB += glib-2.0 gobject-2.0 intl jpeg m png x265 +WANTLIB += glib-2.0 gobject-2.0 intl jpeg m png x265 z MASTER_SITES= https://github.com/strukturag/libheif/releases/download/v$V/ Index: distinfo =================================================================== RCS file: /home/cvs/ports/multimedia/libheif/distinfo,v retrieving revision 1.6 diff -u -p -u -p -r1.6 distinfo --- distinfo 4 Apr 2023 09:08:47 -0000 1.6 +++ distinfo 6 Apr 2023 08:39:38 -0000 @@ -1,2 +1,2 @@ -SHA256 (libheif-1.14.2.tar.gz) = 0BaQXiR9aVLNfuT5uQlXNQtqbKpGa8dv3+brMCttCIw= -SIZE (libheif-1.14.2.tar.gz) = 1739439 +SHA256 (libheif-1.15.2.tar.gz) = ekxgd/RRgJJlg+IIdXE3G92cshtub62oWm+9VE8moOI= +SIZE (libheif-1.15.2.tar.gz) = 1749773 Index: patches/patch-libheif_CMakeLists_txt =================================================================== RCS file: patches/patch-libheif_CMakeLists_txt diff -N patches/patch-libheif_CMakeLists_txt --- patches/patch-libheif_CMakeLists_txt 4 Apr 2023 09:08:47 -0000 1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,14 +0,0 @@ -cmake: Use CMAKE_DL_LIBS instead of dl to fix build on OpenBSD - -Index: libheif/CMakeLists.txt ---- libheif/CMakeLists.txt.orig -+++ libheif/CMakeLists.txt -@@ -64,7 +64,7 @@ target_compile_definitions(heif - - if (PLUGIN_LOADING_SUPPORTED_AND_ENABLED) - target_compile_definitions(heif PRIVATE ENABLE_PLUGIN_LOADING=1) -- target_link_libraries(heif PRIVATE dl) -+ target_link_libraries(heif PRIVATE ${CMAKE_DL_LIBS}) - endif() - - add_subdirectory(plugins) Index: pkg/PLIST =================================================================== RCS file: /home/cvs/ports/multimedia/libheif/pkg/PLIST,v retrieving revision 1.4 diff -u -p -u -p -r1.4 PLIST --- pkg/PLIST 4 Apr 2023 09:08:47 -0000 1.4 +++ pkg/PLIST 6 Apr 2023 08:53:25 -0000 @@ -19,8 +19,6 @@ lib/pkgconfig/libheif.pc @man man/man1/heif-enc.1 @man man/man1/heif-info.1 @man man/man1/heif-thumbnailer.1 -share/mime/packages/avif.xml -share/mime/packages/heif.xml share/thumbnailers/heif.thumbnailer @tag update-mime-database @tag update-gdk-pixbuf
