git: a2b734c4eee4 - main - graphics/libheif: rename SVT to SVTAV1 for consistency

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Fri, 02 Dec 2022 01:33:01 UTC
The branch main has been updated by jbeich:

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

commit a2b734c4eee464a28d22e2983081f86701a33d84
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2022-12-01 16:57:19 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2022-12-02 01:31:48 +0000

    graphics/libheif: rename SVT to SVTAV1 for consistency
    
    - ffmpeg and libavif already use SVTAV1 option
    - libheif doesn't support SVT-HEVC for *.heif
    - SVTAV1 can be globally disabled via OPTIONS_UNSET
    
    PR:             268102
    Approved by:    makc (maintainer)
---
 graphics/libheif/Makefile  | 10 +++++-----
 graphics/libheif/pkg-plist |  2 +-
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/graphics/libheif/Makefile b/graphics/libheif/Makefile
index 50a854fd2388..08420ff65b9b 100644
--- a/graphics/libheif/Makefile
+++ b/graphics/libheif/Makefile
@@ -18,14 +18,14 @@ USE_GNOME=	gdkpixbuf2 glib20
 USE_LDCONFIG=	yes
 PLIST_SUB=	LIB_VER=${DISTVERSION}.0
 
-OPTIONS_DEFINE=		AOM DAV1D EXAMPLES LIBDE265 SVT RAV1E X265
+OPTIONS_DEFINE=		AOM DAV1D EXAMPLES LIBDE265 SVTAV1 RAV1E X265
 OPTIONS_DEFAULT=	AOM DAV1D LIBDE265 X265
 OPTIONS_SUB=	yes
 
 AOM_DESC=		AV1 encoding/decoding via libaom
 DAV1D_DESC=		Build dav1e decoder
 LIBDE265_DESC=		Use libde265 (support for HEVC decoding)
-SVT_DESC=		Build svt-av1 encoder
+SVTAV1_DESC=		Build svt-av1 encoder
 RAV1E_DESC=		Build rav1e encoder
 X265_DESC=		Use x265 (support for HEVC encoding)
 
@@ -42,9 +42,9 @@ EXAMPLES_CMAKE_BOOL=	WITH_EXAMPLES
 LIBDE265_LIB_DEPENDS=	libde265.so:multimedia/libde265
 LIBDE265_CMAKE_BOOL=	WITH_LIBDE265
 
-SVT_LIB_DEPENDS=	libSvtAv1Enc.so:multimedia/svt-av1
-SVT_CMAKE_BOOL=		WITH_SvtEnc
-SVT_BROKEN=		breaks some dependent ports
+SVTAV1_LIB_DEPENDS=	libSvtAv1Enc.so:multimedia/svt-av1
+SVTAV1_CMAKE_BOOL=	WITH_SvtEnc
+SVTAV1_BROKEN=		breaks some dependent ports
 
 RAV1E_LIB_DEPENDS=	librav1e.so:multimedia/librav1e
 RAV1E_CMAKE_BOOL=	WITH_RAV1E
diff --git a/graphics/libheif/pkg-plist b/graphics/libheif/pkg-plist
index a397c9f6cc28..2bd514d0046e 100644
--- a/graphics/libheif/pkg-plist
+++ b/graphics/libheif/pkg-plist
@@ -13,7 +13,7 @@ lib/gdk-pixbuf-2.0/%%GTK2_VERSION%%/loaders/libpixbufloader-heif.so
 lib/libheif.so
 lib/libheif.so.1
 lib/libheif.so.%%LIB_VER%%
-%%SVT%%lib/libheif/libheif-svtenc.so
+%%SVTAV1%%lib/libheif/libheif-svtenc.so
 %%RAV1E%%lib/libheif/libheif-rav1e.so
 libdata/pkgconfig/libheif.pc
 %%PORTEXAMPLES%%share/man/man1/heif-convert.1.gz