d95e78e467
While here, add comments to patch-aa, patch-ad from cvs logs. Changes: ver 0.17.4 (2013/04/08) * protocol: - allow to omit END in ranges (START:END) - don't emit IDLE_PLAYER before audio format is known * decoder: - ffmpeg: support float planar audio (ffmpeg 1.1) - ffmpeg: fix AVFrame allocation * player: - implement missing "idle" events on output errors * clock: fix build failure ver 0.17.3 (2013/01/06) * output: - osx: fix pops during playback - recorder: fix I/O error check - shout: fix memory leak in error handler - recorder, shout: support Ogg packets that span more than one page * decoder: - ffmpeg: ignore negative time stamps - ffmpeg: support planar audio * playlist: - cue: fix memory leak - cue: fix CUE files with only one track ver 0.17.2 (2012/09/30) * protocol: - fix crash in local file check * decoder: - fluidsynth: remove throttle (requires libfluidsynth 1.1) - fluidsynth: stop playback at end of file - fluidsynth: check MIDI file format while scanning - fluidsynth: add sample rate setting - wavpack: support all APEv2 tags * output: - httpd: use monotonic clock, avoid hiccups after system clock adjustment - httpd: fix throttling bug after resuming playback * playlist: - cue: map "PERFORMER" to "artist" or "album artist" * mapper: fix non-UTF8 music directory name * mapper: fix potential crash in file permission check * playlist: fix use-after-free bug * playlist: fix memory leak * state_file: save song priorities * player: disable cross-fading in "single" mode * update: fix unsafe readlink() usage * configure.ac: - don't auto-detect the vorbis encoder when Tremor is enabled ver 0.17.1 (2012/07/31) * protocol: - require appropriate permissions for searchadd{,pl} * tags: - aiff: support the AIFC format - ape: check for ID3 if no usable APE tag was found * playlist: - cue: support file types "MP3", "AIFF" * output: - fix noisy playback with conversion and software volume ver 0.17 (2012/06/27) * protocol: - support client-to-client communication - "update" and "rescan" need only "CONTROL" permission - new command "seekcur" for simpler seeking within current song - new command "config" dumps location of music directory - add range parameter to command "load" - print extra "playlist" object for embedded CUE sheets - new commands "searchadd", "searchaddpl" * input: - cdio_paranoia: new input plugin to play audio CDs - curl: enable CURLOPT_NETRC - curl: non-blocking I/O - soup: new input plugin based on libsoup * tags: - RVA2: support separate album/track replay gain * decoder: - mpg123: implement seeking - ffmpeg: drop support for pre-0.5 ffmpeg - ffmpeg: support WebM - oggflac: delete this obsolete plugin - dsdiff: new decoder plugin * output: - alsa: support DSD-over-USB (dCS suggested standard) - httpd: support for streaming to a DLNA client - openal: improve buffer cancellation - osx: allow user to specify other audio devices - osx: implement 32 bit playback - shout: add possibility to set url - roar: new output plugin for RoarAudio - winmm: fail if wrong device specified instead of using default device * mixer: - alsa: listen for external volume changes * playlist: - allow references to songs outside the music directory - new CUE parser, without libcue - soundcloud: new plugin for accessing soundcloud.com * state_file: add option "restore_paused" * cue: show CUE track numbers * allow port specification in "bind_to_address" settings * support floating point samples * systemd socket activation * improve --version output * WIN32: fix renaming of stored playlists with non-ASCII names ver 0.16.8 (2012/04/04) * fix for libsamplerate assertion failure * decoder: - vorbis (and others): fix seeking at startup - ffmpeg: read the "year" tag * encoder: - vorbis: generate end-of-stream packet before tag - vorbis: generate end-of-stream packet when playback ends * output: - jack: check for connection failure before starting playback - jack: workaround for libjack1 crash bug - osx: fix stuttering due to buffering bug * fix endless loop in text file reader * update: skip symlinks in path that is to be updated ver 0.16.7 (2012/02/04) * input: - ffmpeg: support libavformat 0.7 * decoder: - ffmpeg: support libavformat 0.8, libavcodec 0.9 - ffmpeg: support all MPD tags * output: - httpd: fix excessive buffering - openal: force 16 bit playback, as 8 bit doesn't work - osx: remove sleep call from render callback - osx: clear render buffer when there's not enough data * fix moving after current song
52 lines
1.3 KiB
Makefile
52 lines
1.3 KiB
Makefile
# $NetBSD: Makefile,v 1.70 2013/05/26 18:37:39 wiz Exp $
|
|
|
|
DISTNAME= mpd-0.17.4
|
|
PKGNAME= ${DISTNAME:S/mpd/musicpd/}
|
|
CATEGORIES= audio
|
|
MASTER_SITES= http://www.musicpd.org/download/mpd/0.17/
|
|
#MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=musicpd/}
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://musicpd.org/
|
|
COMMENT= Remote controllable audio player
|
|
LICENSE= gnu-gpl-v2
|
|
|
|
CONFLICTS= mpd-[0-9]*
|
|
|
|
GNU_CONFIGURE= yes
|
|
USE_LIBTOOL= yes
|
|
USE_TOOLS+= pkg-config
|
|
USE_LANGUAGES= c c++
|
|
|
|
CPPFLAGS.SunOS+= -std=gnu99 -D_XOPEN_SOURCE=600 -D__EXTENSIONS__
|
|
|
|
.include "options.mk"
|
|
|
|
EGDIR= ${PREFIX}/share/examples/mpd
|
|
RCD_SCRIPTS= mpd
|
|
|
|
FILES_SUBST+= DEVOSSAUDIO=${DEVOSSAUDIO:Q}
|
|
LDFLAGS+= ${LIBOSSAUDIO}
|
|
|
|
SUBST_CLASSES+= config paths
|
|
SUBST_STAGE.config= pre-configure
|
|
SUBST_FILES.config= src/cmdline.c
|
|
SUBST_SED.config= -e s,/etc/mpd.conf,${PKG_SYSCONFDIR}/mpd.conf,
|
|
SUBST_STAGE.paths= post-patch
|
|
SUBST_FILES.paths= mpd.conf
|
|
SUBST_SED.paths= -e 's,@DEVOSSAUDIO@,${DEVOSSAUDIO},'
|
|
|
|
INSTALLATION_DIRS= ${EGDIR}
|
|
|
|
post-extract:
|
|
${CP} ${FILESDIR}/mpd.conf ${WRKSRC}/mpd.conf
|
|
|
|
post-install:
|
|
${INSTALL_DATA} ${WRKSRC}/mpd.conf ${DESTDIR}${EGDIR}
|
|
|
|
.include "../../devel/glib2/buildlink3.mk"
|
|
.include "../../audio/libmad/buildlink3.mk"
|
|
|
|
.include "../../mk/oss.buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|