pkgsrc/audio/musicpd/options.mk
wiz f055bce9b3 Update to 0.19.7:
ver 0.19.7 (2014/12/17)
* input
  - nfs: fix crash while canceling a failing file open operation
  - nfs: fix memory leak on connection failure
  - nfs: fix reconnect after mount failure
  - nfs: implement mount timeout (60 seconds)
* storage
  - nfs: implement I/O timeout (60 seconds)
* playlist
  - embcue: fix filename suffix detection
  - don't skip non-existent songs in "listplaylist"
* decoder
  - ffmpeg: fix time stamp underflow
* fix memory allocator bug on Windows

ver 0.19.6 (2014/12/08)
* decoder
  - ffmpeg: support FFmpeg 2.5
* fix build failure with musl
* android
  - update libFLAC to 1.3.1
  - update FFmpeg to 2.5

ver 0.19.5 (2014/11/26)
* input
  - nfs: fix crash on connection failure
* archive
  - zzip: fix crash after seeking
* decoder
  - dsdiff, dsf, opus: fix deadlock while seeking
  - mp4v2: remove because of incompatible license

ver 0.19.4 (2014/11/18)
* protocol
  - workaround for buggy clients that send "add /"
* decoder
  - ffmpeg: support opus
  - opus: add MIME types audio/ogg and application/ogg
* fix crash on failed filename charset conversion
* fix local socket detection from uid=0 (root)

ver 0.19.3 (2014/11/11)
* protocol
  - fix "(null)" result string to "list" when AlbumArtist is disabled
* database
  - upnp: fix breakage due to malformed URIs
* input
  - curl: another fix for redirected streams
* decoder
  - audiofile: fix crash while playing streams
  - audiofile: fix bit rate calculation
  - ffmpeg: support opus
  - opus: fix bogus duration on streams
  - opus: support chained streams
  - opus: improved error logging
* fix distorted audio with soxr resampler
* fix build failure on Mac OS X with non-Apple compilers

ver 0.19.2 (2014/11/02)
* input
  - curl: fix redirected streams
* playlist
  - don't allow empty playlist name
  - m3u: don't ignore unterminated last line
  - m3u: recognize the file suffix ".m3u8"
* decoder
  - ignore URI query string for plugin detection
  - faad: remove workaround for ancient libfaad2 ABI bug
  - ffmpeg: recognize MIME type audio/aacp
  - mad: fix negative replay gain values
* output
  - fix memory leak after filter initialization error
  - fall back to PCM if given DSD sample rate is not supported
* fix assertion failure on unsupported PCM conversion
* auto-disable plugins that require GLib when --disable-glib is used

ver 0.19.1 (2014/10/19)
* input
  - mms: fix deadlock bug
* playlist
  - extm3u: fix Extended M3U detection
  - m3u, extm3u, cue: fix truncated lines
* fix build failure on Mac OS X
* add missing file systemd/mpd.socket to tarball

ver 0.19 (2014/10/10)
* protocol
  - new commands "addtagid", "cleartagid", "listfiles", "listmounts",
    "listneighbors", "mount", "rangeid", "unmount"
  - "lsinfo" and "readcomments" allowed for remote files
  - "listneighbors" lists file servers on the local network
  - "playlistadd" supports file:///
  - "idle" with unrecognized event name fails
  - "list" on album artist falls back to the artist tag
  - "list" and "count" allow grouping
  - new "search"/"find" filter "modified-since"
  - "seek*" allows fractional position
  - close connection after syntax error
* database
  - proxy: forward "idle" events
  - proxy: forward the "update" command
  - proxy: copy "Last-Modified" from remote directories
  - simple: compress the database file using gzip
  - upnp: new plugin
  - cancel the update on shutdown
* storage
  - music_directory can point to a remote file server
  - nfs: new plugin
  - smbclient: new plugin
* playlist
  - cue: fix bogus duration of the last track
  - cue: restore CUE tracks from state file
  - soundcloud: use https instead of http
  - soundcloud: add default API key
* archive
  - read tags from songs in an archive
* input
  - alsa: new input plugin
  - curl: options "verify_peer" and "verify_host"
  - ffmpeg: update offset after seeking
  - ffmpeg: improved error messages
  - mms: non-blocking I/O
  - nfs: new input plugin
  - smbclient: new input plugin
* filter
  - volume: improved software volume dithering
* decoder:
  - vorbis, flac, opus: honor DESCRIPTION= tag in Xiph-based files as a comment to the song
  - audiofile: support scanning remote files
  - audiofile: log libaudiofile errors
  - dsdiff, dsf: report bit rate
  - dsdiff, dsf: implement seeking
  - dsf: support DSD512
  - dsf: support multi-channel files
  - dsf: fix big-endian bugs
  - dsf: fix noise at end of malformed file
  - mpg123: support ID3v2, ReplayGain and MixRamp
  - sndfile: support scanning remote files
  - sndfile: support tags "comment", "album", "track", "genre"
  - sndfile: native floating point playback
  - sndfile: optimized 16 bit playback
  - mp4v2: support playback of MP4 files.
* encoder:
  - shine: new encoder plugin
* output
  - alsa: support native DSD playback
  - alsa: rename "DSD over USB" to "DoP"
  - osx: fix hang after (un)plugging headphones
* threads:
  - the update thread runs at "idle" priority
  - the output thread runs at "real-time" priority
  - increase kernel timer slack on Linux
  - name each thread (for debugging)
* configuration
  - allow playlist directory without music directory
  - use XDG to auto-detect "music_directory" and "db_file"
* add tags "AlbumSort", "MUSICBRAINZ_RELEASETRACKID"
* disable global Latin-1 fallback for tag values
* new resampler option using libsoxr
* ARM NEON optimizations
* install systemd unit for socket activation
* Android port
2015-01-05 22:19:02 +00:00

277 lines
6.9 KiB
Makefile

# $NetBSD: options.mk,v 1.27 2015/01/05 22:19:02 wiz Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.musicpd
PKG_SUPPORTED_OPTIONS= adplug audiofile avahi bzip2 curl faad ffmpeg flac fluidsynth id3 inet6 libao lame jack libmms libmpdclient libwildmidi mikmod modplug mpg123 musepack musicpd-soundcloud openal opus pulseaudio shout sqlite3 tremor twolame vorbis wavpack zziplib
PKG_SUGGESTED_OPTIONS= audiofile curl faad flac id3 inet6 libao musepack vorbis
# TODO:
# shine
# libsoxr
PKG_OPTIONS_OPTIONAL_GROUPS= vorbis
PKG_OPTIONS_GROUP.vorbis= tremor vorbis
PKG_OPTIONS_LEGACY_OPTS= ogg:vorbis
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Madplug)
. include "../../audio/adplug/buildlink3.mk"
CONFIGURE_ARGS+= --enable-adplug
.else
CONFIGURE_ARGS+= --disable-adplug
.endif
.if !empty(PKG_OPTIONS:Maudiofile)
BUILDLINK_API_DEPENDS.libaudiofile+= libaudiofile>=0.3
. include "../../audio/libaudiofile/buildlink3.mk"
CONFIGURE_ARGS+= --enable-audiofile
.else
CONFIGURE_ARGS+= --disable-audiofile
.endif
.if !empty(PKG_OPTIONS:Mavahi)
. include "../../net/avahi/buildlink3.mk"
CONFIGURE_ARGS+= --with-zeroconf=avahi
.endif
.if !empty(PKG_OPTIONS:Mbzip2)
. include "../../archivers/bzip2/buildlink3.mk"
CONFIGURE_ARGS+= --enable-bzip2
.else
CONFIGURE_ARGS+= --disable-bzip2
.endif
# wants a different version of the library than we have in pkgsrc
#.if !empty(PKG_OPTIONS:Mcdparanoia)
#. include "../../audio/cdparanoia/buildlink3.mk"
#CONFIGURE_ARGS+= --enable-cdio-paranoia
#.else
#CONFIGURE_ARGS+= --enable-cdio-paranoia
#.endif
.if !empty(PKG_OPTIONS:Mcurl)
. include "../../www/curl/buildlink3.mk"
CONFIGURE_ARGS+= --enable-curl
.else
CONFIGURE_ARGS+= --disable-curl
.endif
.if !empty(PKG_OPTIONS:Mfaad)
. include "../../audio/faad2/buildlink3.mk"
CONFIGURE_ARGS+= --enable-aac
.else
CONFIGURE_ARGS+= --disable-aac
.endif
.if !empty(PKG_OPTIONS:Mffmpeg)
. include "../../multimedia/ffmpeg2/buildlink3.mk"
CONFIGURE_ARGS+= --enable-ffmpeg
.else
CONFIGURE_ARGS+= --disable-ffmpeg
.endif
.if !empty(PKG_OPTIONS:Mflac)
BUILDLINK_ABI_DEPENDS.flac+= flac>=1.2
. include "../../audio/flac/buildlink3.mk"
# XXX whole album flac files can appearently be parsed without libcue,
# so I've yet to find out what libcue is good for
#. include "../../audio/libcue/buildlink3.mk"
CONFIGURE_ARGS+= --enable-flac
.else
CONFIGURE_ARGS+= --disable-flac
.endif
.if !empty(PKG_OPTIONS:Mfluidsynth)
. include "../../audio/fluidsynth/buildlink3.mk"
CONFIGURE_ARGS+= --enable-fluidsynth
.else
CONFIGURE_ARGS+= --disable-fluidsynth
.endif
# needs to be imported from wip first
#.if !empty(PKG_OPTIONS:Mgme)
#. include "../../wip/libgme/buildlink3.mk"
#CONFIGURE_ARGS+= --enable-gme
#.else
#CONFIGURE_ARGS+= --disable-gme
#.endif
.if !empty(PKG_OPTIONS:Mid3)
. include "../../audio/libid3tag/buildlink3.mk"
CONFIGURE_ARGS+= --enable-id3
.else
CONFIGURE_ARGS+= --disable-id3
.endif
.if !empty(PKG_OPTIONS:Minet6)
CONFIGURE_ARGS+= --enable-ipv6
.else
CONFIGURE_ARGS+= --disable-ipv6
.endif
.if !empty(PKG_OPTIONS:Mjack)
. include "../../audio/jack/buildlink3.mk"
CONFIGURE_ARGS+= --enable-jack
.else
CONFIGURE_ARGS+= --disable-jack
.endif
.if !empty(PKG_OPTIONS:Mlame)
. include "../../audio/lame/buildlink3.mk"
CONFIGURE_ARGS+= --enable-lame-encoder
.else
CONFIGURE_ARGS+= --disable-lame-encoder
.endif
.if !empty(PKG_OPTIONS:Mlibao)
. include "../../audio/libao/buildlink3.mk"
CONFIGURE_ARGS+= --enable-ao
.else
CONFIGURE_ARGS+= --disable-ao
.endif
.if !empty(PKG_OPTIONS:Mlibmms)
. include "../../net/libmms/buildlink3.mk"
CONFIGURE_ARGS+= --enable-mms
.else
CONFIGURE_ARGS+= --disable-mms
.endif
.if !empty(PKG_OPTIONS:Mlibmpdclient)
. include "../../audio/libmpdclient/buildlink3.mk"
CONFIGURE_ARGS+= --enable-libmpdclient
.else
CONFIGURE_ARGS+= --disable-libmpdclient
.endif
# does not find libresid-builder
#.if !empty(PKG_OPTIONS:Mlibsidplay2)
#. include "../../audio/libsidplay2/buildlink3.mk"
#CONFIGURE_ARGS+= --enable-sidplay
#.else
#CONFIGURE_ARGS+= --disable-sidplay
#.endif
.if !empty(PKG_OPTIONS:Mlibwildmidi)
. include "../../audio/libwildmidi/buildlink3.mk"
CONFIGURE_ARGS+= --enable-wildmidi
.else
CONFIGURE_ARGS+= --disable-wildmidi
.endif
.if !empty(PKG_OPTIONS:Mmikmod)
. include "../../audio/libmikmod/buildlink3.mk"
CONFIGURE_ARGS+= --enable-mikmod
.else
CONFIGURE_ARGS+= --disable-mikmod
.endif
.if !empty(PKG_OPTIONS:Mmodplug)
. include "../../audio/libmodplug/buildlink3.mk"
CONFIGURE_ARGS+= --enable-modplug
.else
CONFIGURE_ARGS+= --disable-modplug
.endif
.if !empty(PKG_OPTIONS:Mmpg123)
. include "../../audio/mpg123/buildlink3.mk"
CONFIGURE_ARGS+= --enable-mpg123
.else
CONFIGURE_ARGS+= --disable-mpg123
.endif
.if !empty(PKG_OPTIONS:Mmusepack)
. include "../../audio/musepack/buildlink3.mk"
CONFIGURE_ENV+= mpcdec_prefix=${BUILDLINK_PREFIX.musepack}
CONFIGURE_ARGS+= --enable-mpc
.else
CONFIGURE_ARGS+= --disable-mpc
.endif
.if !empty(PKG_OPTIONS:Mmusicpd-soundcloud)
BUILDLINK_API_DEPENDS.yajl+= yajl>=2.1
. include "../../devel/yajl/buildlink3.mk"
CONFIGURE_ARGS+= --enable-soundcloud
.else
CONFIGURE_ARGS+= --disable-soundcloud
.endif
.if !empty(PKG_OPTIONS:Mopenal)
. include "../../audio/openal/buildlink3.mk"
CONFIGURE_ARGS+= --enable-openal
.else
CONFIGURE_ARGS+= --disable-openal
.endif
.if !empty(PKG_OPTIONS:Mopus)
. include "../../audio/libopus/buildlink3.mk"
CONFIGURE_ARGS+= --enable-opus
.else
CONFIGURE_ARGS+= --disable-opus
.endif
.if !empty(PKG_OPTIONS:Mpulseaudio)
. include "../../audio/pulseaudio/buildlink3.mk"
CONFIGURE_ARGS+= --enable-pulse
.else
CONFIGURE_ARGS+= --disable-pulse
.endif
.if !empty(PKG_OPTIONS:Mshout)
. include "../../audio/libshout/buildlink3.mk"
. include "../../audio/lame/buildlink3.mk"
CONFIGURE_ARGS+= --enable-shout
.else
CONFIGURE_ARGS+= --disable-shout
.endif
# needs libresid-builder or libsidutils, both not packaged yet
#.if !empty(PKG_OPTIONS:Msidplay)
#. include "../../audio/libsidplay2/buildlink3.mk"
#CONFIGURE_ARGS+= --enable-sidplay
#.else
#CONFIGURE_ARGS+= --disable-sidplay
#.endif
.if !empty(PKG_OPTIONS:Msqlite3)
. include "../../databases/sqlite3/buildlink3.mk"
CONFIGURE_ARGS+= --enable-sqlite
.else
CONFIGURE_ARGS+= --disable-sqlite
.endif
.if !empty(PKG_OPTIONS:Mtremor)
. include "../../audio/tremor/buildlink3.mk"
CONFIGURE_ARGS+= --with-tremor=${BUILDLINK_PREFIX.tremor}
.else
CONFIGURE_ARGS+= --without-tremor
.endif
.if !empty(PKG_OPTIONS:Mtwolame)
. include "../../audio/twolame/buildlink3.mk"
CONFIGURE_ARGS+= --enable-twolame-encoder
.else
CONFIGURE_ARGS+= --disable-twolame-encoder
.endif
.if !empty(PKG_OPTIONS:Mvorbis)
. include "../../audio/libvorbis/buildlink3.mk"
CONFIGURE_ARGS+= --enable-vorbis
.else
CONFIGURE_ARGS+= --disable-vorbis
.endif
.if !empty(PKG_OPTIONS:Mwavpack)
. include "../../audio/wavpack/buildlink3.mk"
CONFIGURE_ARGS+= --enable-wavpack
.else
CONFIGURE_ARGS+= --disable-wavpack
.endif
.if !empty(PKG_OPTIONS:Mzziplib)
. include "../../archivers/zziplib/buildlink3.mk"
CONFIGURE_ARGS+= --enable-zzip
.else
CONFIGURE_ARGS+= --disable-zzip
.endif