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@
This commit is contained in:
remi
2025-12-28 20:07:45 +00:00
parent 4da295240f
commit 9f921442e6
2 changed files with 16 additions and 2 deletions
+13 -2
View File
@@ -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 <jeremy@openbsd.org>
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 \
+3
View File
@@ -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).