pkgsrc/audio/musicpd/Makefile
wiz 4d43c0fdf8 Update to 0.12.1. Add patches from mpd svn repository to add flac-1.1.3.
ver 0.12.1 (2006/10/10)
* Fix segfault when scanning an MP3 that has a Xing tag with 0 frames
* Fix segfault when there's no audio output specified and one can't be detected
* Fix handling of escaping in quotes
* Allow a quality of -1 to be specified for shout outputs
* A few minor cleanups

ver 0.12.0 (2006/9/22)
* New audio output code which supports:
  * A plugin-like architecture
  * Non-libao ("native") outputs:
    * ALSA
    * OSS
    * OS X
    * Sun
    * Media MVP
    * PulseAudio
    * Shout (Icecast or Shoutcast)
  * Playing through multiple outputs at once
  * Enabling/disabling outputs while MPD is running
  * Saving output state (enabled/disabled) to the state_file
* OggFLAC support
  (doesn't currently work with flac-1.1.3)
* Musepack support
* Gapless MP3 playback
* MP3 ReplayGain support (using ID3v2 tags only)
* Support for MP2 files if MP3 support is enabled
* Composer, Performer, Comment, and Disc metadata support
* New outputs command for listing available audio outputs
* New enableoutput and disableoutput commands for enabling/disabling outputs
* New plchangesposid command for a stripped down version of plchanges
* New addid command for adding to the playlist and returning a song ID
* New commands and notcommands commands for checking available commands
* Can now specify any supported metadata type or "any" in search, find, and list
* New volume_normalization parameter for enabling Audio Compress normalization
* New metadata_to_use parameter for choosing supported metadata types
* New pid_file parameter for saving the MPD process ID to the specified file
* The db_file parameter is now required
* The port parameter is now optional (defaults to 6600)
* Can specify bind_to_address multiple times
* New --kill argument for killing MPD if pid_file is specified
* Removed --update-db argument (use the update function in your client instead)
* New mpdconf.example
* New mpd.conf man page
* Removed bundled libmad and libid3tag
* Lots of bug fixes, cleaned up code, and performance improvements
2007-01-09 23:19:26 +00:00

45 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.27 2007/01/09 23:19:26 wiz Exp $
DISTNAME= mpd-0.12.1
PKGNAME= ${DISTNAME:S/mpd/musicpd/}
CATEGORIES= audio
MASTER_SITES= http://musicpd.org/uploads/files/
EXTRACT_SUFX= .tar.bz2
CONFLICTS= mpd-[0-9]*
MAINTAINER= simonb@NetBSD.org
HOMEPAGE= http://musicpd.org/
COMMENT= Remote controllable audio player
GNU_CONFIGURE= yes
USE_LIBTOOL= yes
.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/main.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},'
post-extract:
${CP} ${FILESDIR}/mpd.conf ${WRKSRC}/mpd.conf
post-install:
${INSTALL_DATA_DIR} ${EGDIR}
${INSTALL_DATA} ${WRKSRC}/mpd.conf ${EGDIR}
.include "../../audio/libao/buildlink3.mk"
.include "../../audio/libmad/buildlink3.mk"
.include "../../mk/oss.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"