From 9f921442e6dd28f3d9181f295fbea9986aeae1bc Mon Sep 17 00:00:00 2001 From: remi Date: Sun, 28 Dec 2025 20:07:45 +0000 Subject: [PATCH] Add flavor cdda to allow playing and ripping CDs. The Aqualung port was compiled with cdda until version 2.0. The constant scanning for a new CD might interfear with other uses of the CD drive. This new flavor gives the option to users to continue playing CDs with Aqualung. OK jeremy@ --- audio/aqualung/Makefile | 15 +++++++++++++-- audio/aqualung/pkg/DESCR | 3 +++ 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/audio/aqualung/Makefile b/audio/aqualung/Makefile index d0b8b1ae8f0..4167aa82900 100644 --- a/audio/aqualung/Makefile +++ b/audio/aqualung/Makefile @@ -4,12 +4,15 @@ VERSION= 2.0 DISTNAME= aqualung-${VERSION} EPOCH= 0 CATEGORIES= audio -REVISION= 0 +REVISION= 1 HOMEPAGE= https://github.com/jeremyevans/aqualung MAINTAINER= Jeremy Evans +FLAVORS= cdda +FLAVOR?= + # GPLv2 PERMIT_PACKAGE= Yes @@ -83,13 +86,21 @@ CONFIGURE_ARGS= --with-cddb \ --with-vorbisenc \ --with-wavpack \ --without-alsa \ - --without-cdda \ --without-ifp \ --without-jack \ --without-oss \ --without-pulse \ --without-winmm +.if ${FLAVOR:Mcdda} +WANTLIB += cdio cdio_cdda cdio_paranoia +LIB_DEPENDS += audio/libcdio \ + audio/libcdio-paranoia +CONFIGURE_ARGS += --with-cdda +.else +CONFIGURE_ARGS += --without-cdda +.endif + post-install: ${INSTALL_DATA_DIR} ${PREFIX}/share/applications @${SUBST_CMD} -m 0644 -c ${FILESDIR}/aqualung.desktop \ diff --git a/audio/aqualung/pkg/DESCR b/audio/aqualung/pkg/DESCR index ecf94bfd950..21d7498df40 100644 --- a/audio/aqualung/pkg/DESCR +++ b/audio/aqualung/pkg/DESCR @@ -1,3 +1,6 @@ Aqualung is an advanced music player. It plays audio CDs, internet radio streams and podcasts as well as soundfiles in just about any audio format and has the feature of inserting no gaps between adjacent tracks. + +Flavor: cdda + Include support for Compact Disc Digital Audio (playing and ripping CDs).