Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Jan 2020 02:01:23 +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: r523600 - in head/graphics: . libavif
Message-ID:  <202001200201.00K21NIr024991@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jbeich
Date: Mon Jan 20 02:01:23 2020
New Revision: 523600
URL: https://svnweb.freebsd.org/changeset/ports/523600

Log:
  graphics/libavif: add new port
  
  This library aims to be a friendly, portable C implementation of the
  AV1 Image File Format.
  
  https://github.com/AOMediaCodec/libavif

Added:
  head/graphics/libavif/
  head/graphics/libavif/Makefile   (contents, props changed)
  head/graphics/libavif/distinfo   (contents, props changed)
  head/graphics/libavif/pkg-descr   (contents, props changed)
  head/graphics/libavif/pkg-plist   (contents, props changed)
Modified:
  head/graphics/Makefile   (contents, props changed)

Modified: head/graphics/Makefile
==============================================================================
--- head/graphics/Makefile	Sun Jan 19 22:12:01 2020	(r523599)
+++ head/graphics/Makefile	Mon Jan 20 02:01:23 2020	(r523600)
@@ -422,6 +422,7 @@
     SUBDIR += libafterimage
     SUBDIR += libansilove
     SUBDIR += libart_lgpl
+    SUBDIR += libavif
     SUBDIR += libboard
     SUBDIR += libbpg
     SUBDIR += libcaca

Added: head/graphics/libavif/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/libavif/Makefile	Mon Jan 20 02:01:23 2020	(r523600)
@@ -0,0 +1,38 @@
+# $FreeBSD$
+
+PORTNAME=	libavif
+DISTVERSIONPREFIX=	v
+DISTVERSION=	0.5.3
+CATEGORIES=	graphics
+
+PATCH_SITES=	https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
+PATCHFILES+=	447e45318492.patch:-p1 # https://github.com/AOMediaCodec/libavif/pull/37
+
+MAINTAINER=	jbeich@FreeBSD.org
+COMMENT=	Library for encoding and decoding .avif files
+
+LICENSE=	BSD2CLAUSE
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+USES=		cmake localbase:ldflags pkgconfig
+USE_GITHUB=	yes
+USE_LDCONFIG=	yes
+GH_ACCOUNT=	AOMediaCodec
+CMAKE_ON=	AVIF_BUILD_APPS
+
+OPTIONS_DEFINE=	AOM DAV1D RAV1E
+OPTIONS_DEFAULT=AOM DAV1D
+
+AOM_DESC=		AV1 encoding/decoding via libaom
+AOM_LIB_DEPENDS=	libaom.so:multimedia/aom
+AOM_CMAKE_BOOL=		AVIF_CODEC_AOM
+
+DAV1D_DESC=		AV1 decoding via libdav1d
+DAV1D_LIB_DEPENDS=	libdav1d.so:multimedia/dav1d
+DAV1D_CMAKE_BOOL=	AVIF_CODEC_DAV1D
+
+RAV1E_DESC=		AV1 encoding via librav1e
+RAV1E_LIB_DEPENDS=	librav1e.so:multimedia/librav1e
+RAV1E_CMAKE_BOOL=	AVIF_CODEC_RAV1E
+
+.include <bsd.port.mk>

Added: head/graphics/libavif/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/libavif/distinfo	Mon Jan 20 02:01:23 2020	(r523600)
@@ -0,0 +1,5 @@
+TIMESTAMP = 1575422005
+SHA256 (AOMediaCodec-libavif-v0.5.3_GH0.tar.gz) = f695828f8673cf0940171f3dd60aa2d5206ecf53d2d568a208cba41244199f9b
+SIZE (AOMediaCodec-libavif-v0.5.3_GH0.tar.gz) = 64973
+SHA256 (447e45318492.patch) = 5d54ac3c0c2b30960926254724f07486d85f094de7cd1aac65cf58228e622329
+SIZE (447e45318492.patch) = 1980

Added: head/graphics/libavif/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/libavif/pkg-descr	Mon Jan 20 02:01:23 2020	(r523600)
@@ -0,0 +1,4 @@
+This library aims to be a friendly, portable C implementation of the
+AV1 Image File Format.
+
+WWW: https://github.com/AOMediaCodec/libavif

Added: head/graphics/libavif/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/libavif/pkg-plist	Mon Jan 20 02:01:23 2020	(r523600)
@@ -0,0 +1,10 @@
+bin/avifdec
+bin/avifenc
+include/avif/avif.h
+include/avif/internal.h
+lib/cmake/libavif/libavif-config-%%CMAKE_BUILD_TYPE%%.cmake
+lib/cmake/libavif/libavif-config-version.cmake
+lib/cmake/libavif/libavif-config.cmake
+lib/libavif.so
+lib/libavif.so.0
+lib/libavif.so.0.1.3



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