git: 7df2d25c9fb8 - main - audio/libshout: Update to 2.4.6

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Mon, 18 Apr 2022 00:00:27 UTC
The branch main has been updated by sunpoet:

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

commit 7df2d25c9fb8be96854f6c07a67483fbd28c837f
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-04-17 23:42:16 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-04-17 23:42:16 +0000

    audio/libshout: Update to 2.4.6
    
    - Add VORBIS option
    
    Changes:        https://gitlab.xiph.org/xiph/icecast-libshout/-/blob/master/NEWS
---
 audio/libshout/Makefile | 11 ++++++-----
 audio/libshout/distinfo |  6 +++---
 2 files changed, 9 insertions(+), 8 deletions(-)

diff --git a/audio/libshout/Makefile b/audio/libshout/Makefile
index 9d3d0122b27b..30626fb89072 100644
--- a/audio/libshout/Makefile
+++ b/audio/libshout/Makefile
@@ -1,7 +1,7 @@
 # Created by: Zach Zurflu <zach@pabst.bendnet.com>
 
 PORTNAME=	libshout
-PORTVERSION=	2.4.5
+PORTVERSION=	2.4.6
 CATEGORIES=	audio net
 MASTER_SITES=	https://downloads.xiph.org/releases/libshout/ \
 		https://ftp.osuosl.org/pub/xiph/releases/libshout/ \
@@ -13,8 +13,7 @@ COMMENT=	Connect and transmit data to an Icecast media streaming server
 LICENSE=	LGPL20
 LICENSE_FILE=	${WRKSRC}/COPYING
 
-LIB_DEPENDS=	libogg.so:audio/libogg \
-		libvorbis.so:audio/libvorbis
+LIB_DEPENDS=	libogg.so:audio/libogg
 
 USES=		cpe gmake libtool pathfix pkgconfig ssl
 
@@ -23,12 +22,14 @@ INSTALL_TARGET=	install-strip
 LDFLAGS+=	-lcrypto
 USE_LDCONFIG=	yes
 
-OPTIONS_DEFINE=	DOCS SPEEX THEORA
-OPTIONS_DEFAULT=SPEEX THEORA
+OPTIONS_DEFINE=	DOCS SPEEX THEORA VORBIS
+OPTIONS_DEFAULT=SPEEX THEORA VORBIS
 
 SPEEX_CONFIGURE_ENABLE=	speex
 SPEEX_LIB_DEPENDS=	libspeex.so:audio/speex
 THEORA_CONFIGURE_ENABLE=theora
 THEORA_LIB_DEPENDS=	libtheora.so:multimedia/libtheora
+vorbis_CONFIGURE_ENABLE=vorbis
+VORBIS_LIB_DEPENDS=	libvorbis.so:audio/libvorbis
 
 .include <bsd.port.mk>
diff --git a/audio/libshout/distinfo b/audio/libshout/distinfo
index 5fdb69d275bf..2d2afea41054 100644
--- a/audio/libshout/distinfo
+++ b/audio/libshout/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1609598837
-SHA256 (libshout-2.4.5.tar.gz) = d9e568668a673994ebe3f1eb5f2bee06e3236a5db92b8d0c487e1c0f886a6890
-SIZE (libshout-2.4.5.tar.gz) = 543991
+TIMESTAMP = 1650228662
+SHA256 (libshout-2.4.6.tar.gz) = 39cbd4f0efdfddc9755d88217e47f8f2d7108fa767f9d58a2ba26a16d8f7c910
+SIZE (libshout-2.4.6.tar.gz) = 571153