git: 37d9f49c0eda - main - multimedia/audacious-plugins: Import patch to remove dependency on CDDB

From: Guido Falsi <madpilot_at_FreeBSD.org>
Date: Sun, 01 Sep 2024 17:35:24 UTC
The branch main has been updated by madpilot:

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

commit 37d9f49c0eda6d23b00c0a88411a5e68afbb9169
Author:     Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2024-09-01 17:31:22 +0000
Commit:     Guido Falsi <madpilot@FreeBSD.org>
CommitDate: 2024-09-01 17:35:07 +0000

    multimedia/audacious-plugins: Import patch to remove dependency on CDDB
    
    Import upstream patch to allow configuring CDDA without using
    libCDDB, and enable the option, allowing to completely remove the
    dependency on CDDB.
    
    PR:             279461
---
 multimedia/audacious-plugins/Makefile | 12 ++++++------
 multimedia/audacious-plugins/distinfo |  2 ++
 2 files changed, 8 insertions(+), 6 deletions(-)

diff --git a/multimedia/audacious-plugins/Makefile b/multimedia/audacious-plugins/Makefile
index f95c275ef6fe..043b9b6ad932 100644
--- a/multimedia/audacious-plugins/Makefile
+++ b/multimedia/audacious-plugins/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	audacious-plugins
 DISTVERSION=	4.4
+PORTREVISION=	1
 CATEGORIES=	multimedia audio
 MASTER_SITES=	http://distfiles.audacious-media-player.org/
 
@@ -7,6 +8,9 @@ MAINTAINER=	madpilot@FreeBSD.org
 COMMENT=	Plugins needed for audacious
 WWW=		https://audacious-media-player.org/
 
+PATCH_SITES=	https://github.com/audacious-media-player/audacious-plugins/commit/
+PATCHFILES=	0ffe6d8b4356c10e3d9d159d07dbe467b33629b9.patch:-p1
+
 LICENSE=	BSD2CLAUSE
 LICENSE_FILE=	${WRKSRC}/COPYING
 
@@ -50,7 +54,8 @@ USE_XORG=	x11
 
 CONFIGURE_ENV=	LIBRARY_PATH="${LOCALBASE}/lib"
 MESON_ARGS=	-Dcoreaudio=false \
-		-Dmms=false
+		-Dmms=false \
+		-Dcdaudio-cddb=false
 MAKE_ENV=	LIBRARY_PATH="${LOCALBASE}/lib"
 
 .if ${FLAVOR} == qt5
@@ -149,7 +154,6 @@ BS2B_LIB_DEPENDS=	libbs2b.so:audio/libbs2b
 BS2B_MESON_TRUE=	bs2b
 
 CDDA_LIB_DEPENDS=	libcddb.so:audio/libcddb \
-			libcdio.so:sysutils/libcdio \
 			libcdio_cdda.so:sysutils/libcdio-paranoia
 CDDA_MESON_TRUE=	cdaudio
 
@@ -269,10 +273,6 @@ MESON_ARGS+=	-Dfilewriter-flac=false \
 		-Dfilewriter-ogg=false
 .endif
 
-.if ${PORT_OPTIONS:MCDDA}
-DEPRECATED=	CDDA depends on expired audio/libcddb
-.endif
-
 post-patch-NLS-off:
 	@${REINPLACE_CMD} -e "/^subdir('po')/d" ${WRKSRC}/meson.build
 
diff --git a/multimedia/audacious-plugins/distinfo b/multimedia/audacious-plugins/distinfo
index 88c0043cf6ad..3896e407b961 100644
--- a/multimedia/audacious-plugins/distinfo
+++ b/multimedia/audacious-plugins/distinfo
@@ -1,3 +1,5 @@
 TIMESTAMP = 1718261672
 SHA256 (audacious-plugins-4.4.tar.bz2) = 3caf3a5fe5b6f2808f461f85132fbff4ae22a53ef9f3d26d9e6030f6c6d5baa2
 SIZE (audacious-plugins-4.4.tar.bz2) = 1810406
+SHA256 (0ffe6d8b4356c10e3d9d159d07dbe467b33629b9.patch) = 2d98aa9a6a410d0ebae64e6a0e7f864f73e696616dbe095ec78b3423f9d32a1d
+SIZE (0ffe6d8b4356c10e3d9d159d07dbe467b33629b9.patch) = 5322