git: 7f0d57bd050b - main - audio/cmus: Reduce default dependencies

From: Nuno Teixeira <eduardo_at_FreeBSD.org>
Date: Wed, 15 Mar 2023 08:45:28 UTC
The branch main has been updated by eduardo:

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

commit 7f0d57bd050bf1ff49462a2c300e40e4afffc5ba
Author:     Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2023-03-15 08:39:37 +0000
Commit:     Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2023-03-15 08:45:11 +0000

    audio/cmus: Reduce default dependencies
    
    Drop default options AAC, FLAC, MP4, OPUS, VORBIS and WAV as they're
    handled by FFmpeg
    
    Reference:      https://github.com/cmus/cmus/blob/v2.10.0/ip/ffmpeg.c#L530
    PR:             270178
---
 audio/cmus/Makefile | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/audio/cmus/Makefile b/audio/cmus/Makefile
index 8b5ba3e6b4ab..3b2eaec51b62 100644
--- a/audio/cmus/Makefile
+++ b/audio/cmus/Makefile
@@ -1,7 +1,7 @@
 PORTNAME=	cmus
 DISTVERSIONPREFIX=	v
 DISTVERSION=	2.10.0
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	audio
 
 MAINTAINER=	eduardo@FreeBSD.org
@@ -38,8 +38,12 @@ _CMUS_CONFIGURE_OPTS=	AAC ALSA AO ARTS CDDB CDIO COREAUDIO CUE DISCID	\
 CONFIGURE_ARGS+=	CONFIG_${opt}=n
 .endfor
 
+# AAC, FLAC, MP4, OPUS, VORBIS and WAV handled by FFMPEG
+# MPRIS (BASU) error:	https://github.com/cmus/cmus/issues/1124
+#			https://github.com/cmus/cmus/issues/609
+
 OPTIONS_DEFINE=		BASU EXAMPLES
-OPTIONS_DEFAULT=	AAC BASU FFMPEG FLAC MODPLUG MP4 OPUS OSS SNDIO VORBIS WAV
+OPTIONS_DEFAULT=	BASU FFMPEG MODPLUG OSS SNDIO
 OPTIONS_SUB=	yes
 
 OPTIONS_GROUP=	OUT IN