2013-05-09 09:39:04 +02:00
|
|
|
# $NetBSD: Makefile,v 1.69 2013/05/09 07:39:27 adam Exp $
|
2004-04-30 12:48:21 +02:00
|
|
|
|
2012-01-16 21:57:32 +01:00
|
|
|
DISTNAME= mpd-0.16.6
|
2004-10-05 15:12:40 +02:00
|
|
|
PKGNAME= ${DISTNAME:S/mpd/musicpd/}
|
2013-05-09 09:39:04 +02:00
|
|
|
PKGREVISION= 12
|
2004-04-30 12:48:21 +02:00
|
|
|
CATEGORIES= audio
|
2009-01-20 23:52:17 +01:00
|
|
|
#MASTER_SITES= http://musicpd.org/uploads/files/
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=musicpd/}
|
2007-01-10 00:19:26 +01:00
|
|
|
EXTRACT_SUFX= .tar.bz2
|
2004-04-30 12:48:21 +02:00
|
|
|
|
2008-05-09 16:03:12 +02:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2004-04-30 12:48:21 +02:00
|
|
|
HOMEPAGE= http://musicpd.org/
|
|
|
|
COMMENT= Remote controllable audio player
|
2011-02-27 11:43:18 +01:00
|
|
|
LICENSE= gnu-gpl-v2
|
2004-04-30 12:48:21 +02:00
|
|
|
|
Update to 0.16, add libsidplay option.
ver 0.16 (2010/12/11)
* protocol:
- send song modification time to client
- added "update" idle event
- removed the deprecated "volume" command
- added the "findadd" command
- range support for "delete"
- "previous" really plays the previous song
- "addid" with negative position is deprecated
- "load" supports remote playlists (extm3u, pls, asx, xspf, lastfm://)
- allow changing replay gain mode on-the-fly
- omitting the range end is possible
- "update" checks if the path is malformed
* archive:
- iso: renamed plugin to "iso9660"
- zip: renamed plugin to "zzip"
* input:
- lastfm: obsolete plugin removed
- ffmpeg: new input plugin using libavformat's "avio" library
* tags:
- added tags "ArtistSort", "AlbumArtistSort"
- id3: revised "performer" tag support
- id3: support multiple values
- ape: MusicBrainz tags
- ape: support multiple values
* decoders:
- don't try a plugin twice (MIME type & suffix)
- don't fall back to "mad" unless no plugin matches
- ffmpeg: support multiple tags
- ffmpeg: convert metadata to generic format
- ffmpeg: implement the libavutil log callback
- sndfile: new decoder plugin based on libsndfile
- flac: moved CUE sheet support to a playlist plugin
- flac: support streams without STREAMINFO block
- mikmod: sample rate is configurable
- mpg123: new decoder plugin based on libmpg123
- sidplay: support sub-tunes
- sidplay: implemented songlength database
- sidplay: support seeking
- sidplay: play monaural SID tunes in mono
- sidplay: play mus, str, prg, x00 files
- wavpack: activate 32 bit support
- wavpack: allow more than 2 channels
- mp4ff: rename plugin "mp4" to "mp4ff"
* encoders:
- twolame: new encoder plugin based on libtwolame
- flac: new encoder plugin based on libFLAC
- wave: new encoder plugin for PCM WAV format
* output:
- recorder: new output plugin for recording radio streams
- alsa: don't recover on CANCEL
- alsa: fill period buffer with silence before draining
- openal: new output plugin
- pulse: announce "media.role=music"
- pulse: renamed context to "Music Player Daemon"
- pulse: connect to server on MPD startup, implement pause
- jack: require libjack 0.100
- jack: don't disconnect during pause
- jack: connect to server on MPD startup
- jack: added options "client_name", "server_name"
- jack: clear ring buffers before activating
- jack: renamed option "ports" to "destination_ports"
- jack: support more than two audio channels
- httpd: bind port when output is enabled
- httpd: added name/genre/website configuration
- httpd: implement "pause"
- httpd: bind_to_address support (including IPv6)
- oss: 24 bit support via OSS4
- win32: new output plugin for Windows Wave
- shout, httpd: more responsive to control commands
- wildcards allowed in audio_format configuration
- consistently lock audio output objects
* player:
- drain audio outputs at the end of the playlist
* mixers:
- removed support for legacy mixer configuration
- reimplemented software volume as mixer+filter plugin
- per-device software/hardware mixer setting
* commands:
- added new "status" line with more precise "elapsed time"
* update:
- automatically update the database with Linux inotify
- support .mpdignore files in the music directory
- sort songs by album name first, then disc/track number
- rescan after metadata_to_use change
* normalize: upgraded to AudioCompress 2.0
- automatically convert to 16 bit samples
* replay gain:
- reimplemented as a filter plugin
- fall back to track gain if album gain is unavailable
- optionally use hardware mixer to apply replay gain
- added mode "auto"
- parse replay gain from APE tags
* log unused/unknown block parameters
* removed the deprecated "error_file" option
* save state when stopped
* renamed option "--stdout" to "--stderr"
* removed options --create-db and --no-create-db
* state_file: save only if something has changed
* database: eliminated maximum line length
* log: redirect stdout/stderr to /dev/null if syslog is used
* set the close-on-exec flag on all file descriptors
* pcm_volume, pcm_mix: implemented 32 bit support
* support packed 24 bit samples
* CUE sheet support
* support for MixRamp tags
* obey $(sysconfdir) for default mpd.conf location
* build with large file support by default
* added test suite ("make check")
* require GLib 2.12
* added libwrap support
* make single mode 'sticky'
2011-02-27 11:42:13 +01:00
|
|
|
CONFLICTS= mpd-[0-9]*
|
|
|
|
|
2004-04-30 12:48:21 +02:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
USE_LIBTOOL= yes
|
2009-01-20 23:52:17 +01:00
|
|
|
USE_TOOLS+= pkg-config
|
update to 0.15.1
This is a major update - from the announcement:
24/32 bit support, audio archive support (bz2/iso9660/zip), all config
entries are completely optional now, multiple and pulseaudio mixer
support, new audio playing modes (consume, etc..), sticker database,
improved tag parsing of all types and too many interesting highlights left
out of this list
pkgsrc notes:
Archive support isn't enabled yet (disabled per default upstream),
neither is pulseaudio support,
just kept the functionality of the previous version.
I didn't find out what libcue does for flac support -- album FLACs
work well for me without that, so I've left it out for now.
2009-07-27 22:08:38 +02:00
|
|
|
USE_LANGUAGES= c c++
|
2004-04-30 12:48:21 +02:00
|
|
|
|
2012-01-11 20:51:26 +01:00
|
|
|
CPPFLAGS.SunOS+= -std=gnu99 -D_XOPEN_SOURCE=600 -D__EXTENSIONS__
|
|
|
|
|
2004-11-25 21:16:52 +01:00
|
|
|
.include "options.mk"
|
2004-04-30 12:48:21 +02:00
|
|
|
|
|
|
|
EGDIR= ${PREFIX}/share/examples/mpd
|
|
|
|
RCD_SCRIPTS= mpd
|
|
|
|
|
2005-12-05 21:49:47 +01:00
|
|
|
FILES_SUBST+= DEVOSSAUDIO=${DEVOSSAUDIO:Q}
|
2004-04-30 12:48:21 +02:00
|
|
|
LDFLAGS+= ${LIBOSSAUDIO}
|
|
|
|
|
2006-01-04 18:46:15 +01:00
|
|
|
SUBST_CLASSES+= config paths
|
2004-04-30 12:48:21 +02:00
|
|
|
SUBST_STAGE.config= pre-configure
|
update to 0.15.1
This is a major update - from the announcement:
24/32 bit support, audio archive support (bz2/iso9660/zip), all config
entries are completely optional now, multiple and pulseaudio mixer
support, new audio playing modes (consume, etc..), sticker database,
improved tag parsing of all types and too many interesting highlights left
out of this list
pkgsrc notes:
Archive support isn't enabled yet (disabled per default upstream),
neither is pulseaudio support,
just kept the functionality of the previous version.
I didn't find out what libcue does for flac support -- album FLACs
work well for me without that, so I've left it out for now.
2009-07-27 22:08:38 +02:00
|
|
|
SUBST_FILES.config= src/cmdline.c
|
2004-04-30 12:48:21 +02:00
|
|
|
SUBST_SED.config= -e s,/etc/mpd.conf,${PKG_SYSCONFDIR}/mpd.conf,
|
2006-01-04 18:46:15 +01:00
|
|
|
SUBST_STAGE.paths= post-patch
|
|
|
|
SUBST_FILES.paths= mpd.conf
|
|
|
|
SUBST_SED.paths= -e 's,@DEVOSSAUDIO@,${DEVOSSAUDIO},'
|
2004-04-30 12:48:21 +02:00
|
|
|
|
2009-09-11 22:58:55 +02:00
|
|
|
INSTALLATION_DIRS= ${EGDIR}
|
|
|
|
|
2006-01-04 18:46:15 +01:00
|
|
|
post-extract:
|
2006-05-19 18:18:51 +02:00
|
|
|
${CP} ${FILESDIR}/mpd.conf ${WRKSRC}/mpd.conf
|
2004-04-30 12:48:21 +02:00
|
|
|
|
|
|
|
post-install:
|
2009-03-17 19:16:20 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/mpd.conf ${DESTDIR}${EGDIR}
|
2004-04-30 12:48:21 +02:00
|
|
|
|
2009-01-20 23:52:17 +01:00
|
|
|
.include "../../devel/glib2/buildlink3.mk"
|
2004-04-30 12:48:21 +02:00
|
|
|
.include "../../audio/libmad/buildlink3.mk"
|
|
|
|
|
2006-03-09 22:04:39 +01:00
|
|
|
.include "../../mk/oss.buildlink3.mk"
|
2004-04-30 12:48:21 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|