aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2025-02-15 06:59:48 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2025-02-15 06:59:48 +0000
commitc9c92dab5bffad1752c59b9b6bc707d50305f41c (patch)
tree52dac48f9cd2731995ed868fa1356c8ef16f4fad
parentdef21c840b35ae1114cbfe867debe0bdfaab5392 (diff)
audio/deadbeef: enable both MP3 decoding backends by default
Historically, libmad was the first choice, as there probably were no libmpg123 at the time, only the console player (mpg123), and because it provided best precision out of integer math*. Later several bugs had been found in libmad which resulted in the incorrect decoding of some MP3 files, so libmpg123 support was added and made the default, and MAD backend was left for flexibility and testing. By that time, there should not be significant performance differences between both backends on commodity hardware. Upstream enables both of them in the official binaries for GNU/Linux and macOS, they can be switched on the fly without rebuilding, so we should follow the same path (offering more featureful package) which can become handy if one backend suddenly breaks, e.g. see PR 264442. *) https://www.mail-archive.com/debian-bugs-dist@lists.debian.org/msg1201101.html
-rw-r--r--audio/deadbeef/Makefile22
1 files changed, 12 insertions, 10 deletions
diff --git a/audio/deadbeef/Makefile b/audio/deadbeef/Makefile
index 7d859266cdab..195ee8287243 100644
--- a/audio/deadbeef/Makefile
+++ b/audio/deadbeef/Makefile
@@ -27,15 +27,17 @@ USE_GNOME= intltool
SHEBANG_FILES= yasmwrapper.sh
INSTALL_TARGET= install-strip
-OPTIONS_DEFINE= PULSEAUDIO GUI VFS LASTFM ART SUPEREQ SID FFAP VTX \
- HOTKEYS OGG FFMPEG FLAC SNDFILE WAVPACK CDDA GME DUMB NOTIFY \
- MUSEPACK WILDMIDI TTA DCA AAC MMS SHN SHELLEXEC NLS M3U \
- PSF ADPLUG DSP MONO2STEREO CONVERTER VFS_ZIP ALAC PLTBROWSER \
- WMA SC68
-OPTIONS_DEFAULT=MAD GTK2 VFS LASTFM ART SUPEREQ SID FFAP VTX HOSTKEYS \
- OGG FLAC SNDFILE WAVPACK GME DUMB NOTIFY MUSEPACK \
- WILDMIDI TTA DCA AAC MMS SHN SHELLEXEC M3U PSF ADPLUG DSP \
- MONO2STEREO CONVERTER VFS_ZIP HOTKEYS ALAC PLTBROWSER WMA SC68
+OPTIONS_DEFINE= AAC ADPLUG ALAC ART CDDA CONVERTER DCA DSP DUMB FFAP \
+ FFMPEG FLAC GME GUI HOTKEYS LASTFM M3U MMS MONO2STEREO \
+ MUSEPACK NLS NOTIFY OGG PLTBROWSER PSF PULSEAUDIO SC68 \
+ SHELLEXEC SHN SID SNDFILE SUPEREQ TTA VFS VFS_ZIP VTX \
+ WAVPACK WILDMIDI WMA
+
+OPTIONS_DEFAULT=AAC ADPLUG ALAC ART CONVERTER DCA DSP DUMB FFAP FLAC GME \
+ GTK2 HOSTKEYS HOTKEYS LASTFM M3U MAD MMS MONO2STEREO \
+ MPG123 MUSEPACK NOTIFY OGG PLTBROWSER PSF SC68 SHELLEXEC \
+ SHN SID SNDFILE SUPEREQ TTA VFS VFS_ZIP VTX WAVPACK \
+ WILDMIDI WMA
PULSEAUDIO_DESC= PulseAudio output plugin (unsupported)
GUI_DESC= Standard GUI plugin
@@ -52,7 +54,7 @@ GME_DESC= Chiptune music support (based on GME)
DUMB_DESC= D.U.M.B. plugin for MOD, S3M, etc.
NOTIFY_DESC= OSD notification support in GTKUI plugin
WILDMIDI_DESC= WildMIDI synthesizer plugin
-SC68_DESC= sc68 Atari ST And Amiga player
+SC68_DESC= sc68 Atari ST and Amiga player
SHN_DESC= Shorten waveform encoder support
SHELLEXEC_DESC= Shell commands execution plugin
M3U_DESC= M3U and PLS playlist format support