Here is an update to libheif 1.10.0.


Index: Makefile
===================================================================
RCS file: /home/cvs/ports/multimedia/libheif/Makefile,v
retrieving revision 1.3
diff -u -p -u -p -r1.3 Makefile
--- Makefile    27 Feb 2020 12:20:24 -0000      1.3
+++ Makefile    18 Dec 2020 23:59:47 -0000
@@ -1,12 +1,11 @@
 # $OpenBSD: Makefile,v 1.3 2020/02/27 12:20:24 sthen Exp $
 
-COMMENT=       ISO/IEC 23008-12:2017 HEIF file format decoder and encoder
+COMMENT=       HEIF and AVIF file format decoder and encoder
 
-V=             1.6.2
+V=             1.10.0
 DISTNAME=      libheif-$V
-REVISION=      1
 
-SHARED_LIBS +=  heif                      0.0 # 7.2
+SHARED_LIBS +=  heif                      1.0 # 9.0
 
 CATEGORIES=    multimedia graphics
 
@@ -15,20 +14,23 @@ HOMEPAGE=   https://github.com/strukturag/
 # LGPLv3+ (library), MIT (sample applications)
 PERMIT_PACKAGE=        Yes
 
-WANTLIB += ${COMPILER_LIBCXX} c de265 ffi gdk_pixbuf-2.0 gio-2.0
-WANTLIB += glib-2.0 gmodule-2.0 gobject-2.0 iconv intl jpeg m
-WANTLIB += pcre png x265 z
+WANTLIB += ${COMPILER_LIBCXX} aom c dav1d de265 ffi gdk_pixbuf-2.0
+WANTLIB += gio-2.0 glib-2.0 gmodule-2.0 gobject-2.0 iconv intl
+WANTLIB += jpeg m pcre png x265 z
 
 MASTER_SITES=  https://github.com/strukturag/libheif/releases/download/v$V/
 
 COMPILER=      base-clang ports-gcc
 
+USE_GMAKE=     Yes
 CONFIGURE_STYLE= gnu
 CONFIGURE_ARGS=        --disable-go
-CONFIGURE_ENV= LDFLAGS=-L${LOCALBASE}/lib CPPFLAGS=-I${LOCALBASE}/include
-USE_GMAKE=     Yes
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+               LDFLAGS="-L${LOCALBASE}/lib"
 
 LIB_DEPENDS=   graphics/gdk-pixbuf2 \
+               multimedia/aom \
+               multimedia/dav1d \
                multimedia/libde265 \
                multimedia/x265
 RUN_DEPENDS=   misc/shared-mime-info
Index: distinfo
===================================================================
RCS file: /home/cvs/ports/multimedia/libheif/distinfo,v
retrieving revision 1.1.1.1
diff -u -p -u -p -r1.1.1.1 distinfo
--- distinfo    24 Feb 2020 23:22:56 -0000      1.1.1.1
+++ distinfo    18 Dec 2020 23:53:10 -0000
@@ -1,2 +1,2 @@
-SHA256 (libheif-1.6.2.tar.gz) = uyKehVYh3rN09hvulcRkL2DCoklr3tNd89PELMbY7vw=
-SIZE (libheif-1.6.2.tar.gz) = 1515763
+SHA256 (libheif-1.10.0.tar.gz) = rVrxJ280EnfcU3sNGaQZPggzwkeyqsuTbgxUlBQVM64=
+SIZE (libheif-1.10.0.tar.gz) = 1681115
Index: pkg/DESCR
===================================================================
RCS file: /home/cvs/ports/multimedia/libheif/pkg/DESCR,v
retrieving revision 1.1.1.1
diff -u -p -u -p -r1.1.1.1 DESCR
--- pkg/DESCR   24 Feb 2020 23:22:56 -0000      1.1.1.1
+++ pkg/DESCR   28 Aug 2020 01:39:58 -0000
@@ -1,12 +1,13 @@
-libheif is an ISO/IEC 23008-12:2017 HEIF file format decoder and
-encoder.
+libheif is an ISO/IEC 23008-12:2017 HEIF and AVIF (AV1 Image File
+Format) file format decoder and encoder.
 
-HEIF is a new image file format employing HEVC (h.265) image coding for
-the best compression ratios currently possible.
+HEIF and AVIF are new image file formats employing HEVC (h.265) or
+AV1 image coding, respectively, for the best compression ratios
+currently possible.
 
-libheif makes use of libde265 for the actual image decoding and x265 for
-encoding. Alternative codecs for, e.g., AVC and JPEG can be provided as
-plugins. There is experimental code for an AV1 plugin (for AVIF format
-support) in the 'avif' branch.
+libheif makes use of libde265 for HEIF image decoding and x265 for
+encoding. For AVIF, libaom is used as encoder and decoder.
+Alternative codecs for, e.g., AVC and JPEG can be provided as
+plugins.
 
 The library has a C API for easy integration and wide language support.
Index: pkg/PLIST
===================================================================
RCS file: /home/cvs/ports/multimedia/libheif/pkg/PLIST,v
retrieving revision 1.1.1.1
diff -u -p -u -p -r1.1.1.1 PLIST
--- pkg/PLIST   24 Feb 2020 23:22:56 -0000      1.1.1.1
+++ pkg/PLIST   28 Aug 2020 01:51:30 -0000
@@ -19,6 +19,7 @@ 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

Reply via email to