Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Nov 2020 23:47:45 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r554798 - in head/graphics: libavif qt-avif-image-plugin
Message-ID:  <202011092347.0A9Nlj6j039921@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jbeich
Date: Mon Nov  9 23:47:45 2020
New Revision: 554798
URL: https://svnweb.freebsd.org/changeset/ports/554798

Log:
  graphics/libavif: update to 0.8.3
  
  Changes:	https://github.com/AOMediaCodec/libavif/compare/v0.8.2...v0.8.3
  Reported by:	GitHub (watch releases)

Modified:
  head/graphics/libavif/Makefile   (contents, props changed)
  head/graphics/libavif/distinfo   (contents, props changed)
  head/graphics/libavif/pkg-plist   (contents, props changed)
  head/graphics/qt-avif-image-plugin/Makefile   (contents, props changed)

Modified: head/graphics/libavif/Makefile
==============================================================================
--- head/graphics/libavif/Makefile	Mon Nov  9 23:47:36 2020	(r554797)
+++ head/graphics/libavif/Makefile	Mon Nov  9 23:47:45 2020	(r554798)
@@ -2,11 +2,12 @@
 
 PORTNAME=	libavif
 DISTVERSIONPREFIX=	v
-DISTVERSION=	0.8.2
+DISTVERSION=	0.8.3
 CATEGORIES=	graphics
 
 PATCH_SITES=	https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
 PATCHFILES+=	2340cdb5f0c2.patch:-p1 # https://github.com/AOMediaCodec/libavif/pull/296
+PATCHFILES+=	76244a1fca21.patch:-p1 # unbreak SVTAV1, not upstreamed yet
 
 MAINTAINER=	jbeich@FreeBSD.org
 COMMENT=	Library for encoding and decoding .avif files
@@ -23,7 +24,7 @@ GH_ACCOUNT=	AOMediaCodec
 CMAKE_ON=	AVIF_BUILD_APPS AVIF_BUILD_TESTS
 TEST_TARGET=	avif_test_all
 
-OPTIONS_DEFINE=	AOM DAV1D GAV1 PIXBUF RAV1E
+OPTIONS_DEFINE=	AOM DAV1D GAV1 LIBYUV PIXBUF RAV1E SVTAV1
 OPTIONS_DEFAULT=AOM DAV1D PIXBUF
 OPTIONS_SUB=	yes
 
@@ -39,6 +40,10 @@ GAV1_DESC=		AV1 decoding via libgav1
 GAV1_LIB_DEPENDS=	libgav1.so:multimedia/libgav1
 GAV1_CMAKE_BOOL=	AVIF_CODEC_LIBGAV1
 
+LIBYUV_DESC=		Colorspace conversion via libyuv
+LIBYUV_LIB_DEPENDS=	libyuv.so:graphics/libyuv
+LIBYUV_BROKEN=		libyuv >= 1755 is required, see https://chromium.googlesource.com/libyuv/libyuv/+/d426247a3bf6%5E!/
+
 PIXBUF_USES=		gnome
 PIXBUF_USE=		GNOME=gdkpixbuf2
 PIXBUF_CMAKE_BOOL=	AVIF_BUILD_GDK_PIXBUF
@@ -46,5 +51,9 @@ PIXBUF_CMAKE_BOOL=	AVIF_BUILD_GDK_PIXBUF
 RAV1E_DESC=		AV1 encoding via librav1e
 RAV1E_LIB_DEPENDS=	librav1e.so:multimedia/librav1e
 RAV1E_CMAKE_BOOL=	AVIF_CODEC_RAV1E
+
+SVTAV1_DESC=		AV1 encoding via SVT-AV1
+SVTAV1_LIB_DEPENDS=	libSvtAv1Enc.so:multimedia/svt-av1
+SVTAV1_CMAKE_BOOL=	AVIF_CODEC_SVT
 
 .include <bsd.port.mk>

Modified: head/graphics/libavif/distinfo
==============================================================================
--- head/graphics/libavif/distinfo	Mon Nov  9 23:47:36 2020	(r554797)
+++ head/graphics/libavif/distinfo	Mon Nov  9 23:47:45 2020	(r554798)
@@ -1,5 +1,7 @@
-TIMESTAMP = 1602717484
-SHA256 (AOMediaCodec-libavif-v0.8.2_GH0.tar.gz) = 1b79ec439d446dfd659098d36401b4d2df77dd19d53d7d944ade7164b3ef28a2
-SIZE (AOMediaCodec-libavif-v0.8.2_GH0.tar.gz) = 2940396
+TIMESTAMP = 1604954628
+SHA256 (AOMediaCodec-libavif-v0.8.3_GH0.tar.gz) = 0527720a493a08cfcd56cae2fe10e8c674112ebf1a6e1c30d38fca5bb2a504b2
+SIZE (AOMediaCodec-libavif-v0.8.3_GH0.tar.gz) = 2948213
 SHA256 (2340cdb5f0c2.patch) = d6886eb5f74ba65b84b22859d4c5b9b16e8c0d8692959fd04d0624b2487c6763
 SIZE (2340cdb5f0c2.patch) = 1712
+SHA256 (76244a1fca21.patch) = cbe0d5bec045c41d72a3c5a7af0e8886a01437f83cb6dcbb6313e12e33814b83
+SIZE (76244a1fca21.patch) = 923

Modified: head/graphics/libavif/pkg-plist
==============================================================================
--- head/graphics/libavif/pkg-plist	Mon Nov  9 23:47:36 2020	(r554797)
+++ head/graphics/libavif/pkg-plist	Mon Nov  9 23:47:45 2020	(r554798)
@@ -6,8 +6,8 @@ lib/cmake/libavif/libavif-config-version.cmake
 lib/cmake/libavif/libavif-config.cmake
 %%PIXBUF%%lib/gdk-pixbuf-2.0/%%GTK2_VERSION%%/loaders/libpixbufloader-avif.so
 lib/libavif.so
-lib/libavif.so.7
-lib/libavif.so.7.0.0
+lib/libavif.so.8
+lib/libavif.so.8.0.0
 libdata/pkgconfig/libavif.pc
 %%PIXBUF%%@postexec %D/bin/gdk-pixbuf-query-loaders > /dev/null 2>&1 && %D/bin/gdk-pixbuf-query-loaders > %D/lib/gdk-pixbuf-2.0/%%GTK2_VERSION%%/loaders.cache 2>/dev/null || /usr/bin/true
 %%PIXBUF%%@postunexec %D/bin/gdk-pixbuf-query-loaders > /dev/null 2>&1 && %D/bin/gdk-pixbuf-query-loaders > %D/lib/gdk-pixbuf-2.0/%%GTK2_VERSION%%/loaders.cache 2>/dev/null || /usr/bin/true

Modified: head/graphics/qt-avif-image-plugin/Makefile
==============================================================================
--- head/graphics/qt-avif-image-plugin/Makefile	Mon Nov  9 23:47:36 2020	(r554797)
+++ head/graphics/qt-avif-image-plugin/Makefile	Mon Nov  9 23:47:45 2020	(r554798)
@@ -3,6 +3,7 @@
 PORTNAME=	qt-avif-image-plugin
 DISTVERSIONPREFIX=	v
 DISTVERSION=	0.4.0
+PORTREVISION=	1
 CATEGORIES=	graphics
 
 MAINTAINER=	jbeich@FreeBSD.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202011092347.0A9Nlj6j039921>