pkgsrc/audio/musicpd/Makefile

50 lines
1.2 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.36 2009/03/19 21:35:14 asau Exp $
DISTNAME= mpd-0.14.2
2004-10-05 15:12:40 +02:00
PKGNAME= ${DISTNAME:S/mpd/musicpd/}
CATEGORIES= audio
#MASTER_SITES= http://musicpd.org/uploads/files/
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=musicpd/}
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-10 00:19:26 +01:00
EXTRACT_SUFX= .tar.bz2
CONFLICTS= mpd-[0-9]*
2005-10-19 06:43:31 +02:00
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://musicpd.org/
COMMENT= Remote controllable audio player
PKG_DESTDIR_SUPPORT= user-destdir
GNU_CONFIGURE= yes
USE_LIBTOOL= yes
USE_TOOLS+= pkg-config
.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} ${DESTDIR}${EGDIR}
${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"