git: e931660117bf - main - Mk/bsd.options.desc.mk: add shared AVIF description

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Sat, 12 Mar 2022 16:32:08 UTC
The branch main has been updated by jbeich:

URL: https://cgit.FreeBSD.org/ports/commit/?id=e931660117bf17d88dd775c837f87cf2e20b247a

commit e931660117bf17d88dd775c837f87cf2e20b247a
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2022-03-12 10:17:30 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2022-03-12 16:31:36 +0000

    Mk/bsd.options.desc.mk: add shared AVIF description
    
    Intended for the reference implementation. Ports with AVIF support via
    libheif (LGPLv3+, C++-based) to use HEIF option instead.
---
 Mk/bsd.options.desc.mk              | 1 +
 graphics/darktable/Makefile         | 1 -
 graphics/darktable38/Makefile       | 1 -
 graphics/gd/Makefile                | 1 -
 graphics/kf5-kimageformats/Makefile | 1 -
 x11/swayimg/Makefile                | 1 -
 6 files changed, 1 insertion(+), 5 deletions(-)

diff --git a/Mk/bsd.options.desc.mk b/Mk/bsd.options.desc.mk
index afb4d151062d..1ed1fef882e4 100644
--- a/Mk/bsd.options.desc.mk
+++ b/Mk/bsd.options.desc.mk
@@ -36,6 +36,7 @@ ASSERT_DESC?=		Enable debug assertions
 ATLAS_DESC?=		ATLAS blas implementation
 AUDIOFILE_DESC?=	SGI audio file format support
 AVAHI_DESC?=		Zeroconf support via Avahi
+AVIF_DESC?=		AV1 Image File Format via libavif
 BASH_DESC?=		Install programmable completions for Bash
 BDB_DESC?=		Berkeley DB support
 BDB1_DESC?=		Berkeley DB 1.85 support
diff --git a/graphics/darktable/Makefile b/graphics/darktable/Makefile
index 001475011ec6..4efd69a2af02 100644
--- a/graphics/darktable/Makefile
+++ b/graphics/darktable/Makefile
@@ -64,7 +64,6 @@ OPTIONS_DEFINE=		DOCS GEO GPHOTO GMIC GRAPHMAGICK AVIF LIBSECRET LTO \
 OPTIONS_DEFAULT=	GEO GPHOTO LUA OPENEXR OPENJPEG PRINT WEBP
 OPTIONS_SUB=		yes
 
-AVIF_DESC=		Support encoding and decoding .avif files
 GEO_DESC=		Support geotagging
 GMIC_DESC=		Support G'Mic-compressed LUT in lut3d
 LIBSECRET_DESC=		Support libsecret as password backend
diff --git a/graphics/darktable38/Makefile b/graphics/darktable38/Makefile
index a2eefe09c351..d9385c9647f9 100644
--- a/graphics/darktable38/Makefile
+++ b/graphics/darktable38/Makefile
@@ -73,7 +73,6 @@ OPTIONS_DEFINE=		DOCS GEO GPHOTO GMIC GRAPHMAGICK AVIF LIBSECRET LTO \
 OPTIONS_DEFAULT=	AVIF GEO GPHOTO HEIF LUA OPENEXR OPENJPEG PRINT WEBP
 OPTIONS_SUB=		yes
 
-AVIF_DESC=		Support encoding and decoding .avif files
 GEO_DESC=		Support geotagging
 GMIC_DESC=		Support G'Mic-compressed LUT in lut3d
 LIBSECRET_DESC=		Support libsecret as password backend
diff --git a/graphics/gd/Makefile b/graphics/gd/Makefile
index 1e0168496712..dd8fd64ad4a0 100644
--- a/graphics/gd/Makefile
+++ b/graphics/gd/Makefile
@@ -42,7 +42,6 @@ HEIF_DESC=	HEIF image format support
 HEIF_LIB_DEPENDS=	libheif.so:graphics/libheif
 HEIF_CONFIGURE_OFF=	--without-heif
 HEIF_CPPFLAGS=		-I${LOCALBASE}/include
-AVIF_DESC=	AVIF image format support
 AVIF_LIB_DEPENDS=	libavif.so:graphics/libavif
 AVIF_CONFIGURE_OFF=	--without-avif
 AVIF_CPPFLAGS=		-I${LOCALBASE}/include
diff --git a/graphics/kf5-kimageformats/Makefile b/graphics/kf5-kimageformats/Makefile
index fc4ddfb62017..9b060c53f10c 100644
--- a/graphics/kf5-kimageformats/Makefile
+++ b/graphics/kf5-kimageformats/Makefile
@@ -20,7 +20,6 @@ OPTIONS_DEFINE=	AVIF JXL OPENEXR
 OPTIONS_DEFAULT=	AVIF JXL OPENEXR
 OPTIONS_SUB=	yes
 
-AVIF_DESC=		AV1 Image File Format via libavif
 AVIF_LIB_DEPENDS=	libavif.so:graphics/libavif
 AVIF_CMAKE_BOOL_OFF=	CMAKE_DISABLE_FIND_PACKAGE_libavif
 
diff --git a/x11/swayimg/Makefile b/x11/swayimg/Makefile
index 20ffddf505c4..121340602fb8 100644
--- a/x11/swayimg/Makefile
+++ b/x11/swayimg/Makefile
@@ -35,7 +35,6 @@ OPTIONS_DEFINE=	AVIF BASH GIF JPEG JXL LIBEXIF LIBRSVG2 PNG WEBP
 OPTIONS_DEFAULT=AVIF BASH GIF JPEG JXL LIBEXIF LIBRSVG2 PNG WEBP
 OPTIONS_EXCLUDE=${LIBRSVG2_DEFAULT:Mlegacy:C/.+/LIBRSVG2/}
 
-AVIF_DESC=		AV1 Image File Format via libavif
 AVIF_LIB_DEPENDS=	libavif.so:graphics/libavif
 AVIF_MESON_ENABLED=	avif