Enable support for external playlists (wma, RSS feed)

Details:
- Introduce default OPTION PLAYLISTS
- New option PLAYLISTS depends on expat, which is in the default
  package pulled in as a dependency via ffmpeg anyway

PR:		235520
Submitted by:	freebsd@mosedal.net
MFH:		2019Q1
This commit is contained in:
Thomas Zander 2019-02-10 15:44:22 +00:00
parent 87d08ce266
commit 8cb315135f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=492616

View file

@ -2,6 +2,7 @@
PORTNAME= musicpd
PORTVERSION= 0.21.4
PORTREVISION= 1
CATEGORIES= audio ipv6
MASTER_SITES= https://www.musicpd.org/download/mpd/${PORTVERSION:R}/
DISTNAME= mpd-${PORTVERSION}
@ -45,7 +46,7 @@ OPTIONS_RADIO_ZEROCONF= AVAHI MDNSRESPONDER
OPTIONS_RADIO_RESAMPLER= SAMPLERATE SOXR
OPTIONS_MULTI= FILE_FORMAT
OPTIONS_MULTI_FILE_FORMAT= \
OPTIONS_MULTI_FILE_FORMAT= \
ADPLUG AUDIOFILE FAAD FFMPEG FLAC FLUIDSYNTH \
GME MAD MIKMOD MODPLUG MPG123 MUSEPACK \
OPUS SIDPLAY2 SNDFILE TWOLAME \
@ -53,7 +54,7 @@ OPTIONS_MULTI_FILE_FORMAT= \
OPTIONS_GROUP= ACCESS PLAYBACK
OPTIONS_GROUP_ACCESS= CDPARANOIA CURL MMS QOBUZ SMB SOUNDCLOUD TIDAL YAJL
OPTIONS_GROUP_ACCESS= CDPARANOIA CURL MMS PLAYLISTS QOBUZ SMB SOUNDCLOUD TIDAL YAJL
OPTIONS_GROUP_PLAYBACK= AO JACK OPENAL PULSEAUDIO \
SHOUTCAST SNDIO
@ -64,6 +65,7 @@ GME_DESC= GME support (video game music files)
ISO9660_DESC= Direct support for ISO 9660 images
PROXYDB_DESC= Proxy database support via libmpdclient
LAME_DESC= Support for MP3 Icecast Streams
PLAYLISTS_DESC= Enable extra playlist support (wma, RSS)
QOBUZ_DESC= Streaming service support: Qobuz
SIDPLAY2_DESC= Sidplay support (C64 mono and stereo files)
SOUNDCLOUD_DESC=Streaming service support: SoundCloud
@ -74,7 +76,7 @@ WILDMIDI_DESC= WildMIDI support (MIDI files)
YAJL_DESC= JSON support via libyajl
ZZIP_DESC= Support for zzip archives
OPTIONS_DEFAULT=AUDIOFILE CURL FFMPEG FLAC ID3TAG MAD SNDFILE \
OPTIONS_DEFAULT=AUDIOFILE CURL FFMPEG FLAC ID3TAG MAD PLAYLISTS SNDFILE \
VORBIS VORBISENC
# Decoder plugins
@ -107,6 +109,8 @@ MUSEPACK_LIB_DEPENDS= libmpcdec.so:audio/musepack
OPUS_MESON_ON= -Dopus=enabled
OPUS_LIB_DEPENDS= libopus.so:audio/opus \
libogg.so:audio/libogg
PLAYLISTS_MESON_ON= -Dexpat=enabled
PLAYLISTS_LIB_DEPENDS= libexpat.so:textproc/expat2
SIDPLAY2_MESON_ON= -Dsidplay=enabled
SIDPLAY2_LIB_DEPENDS= libsidplay2.so:audio/libsidplay2
SIDPLAY2_LDFLAGS= -L${LOCALBASE}/lib/sidplay/builders