blob: 1f3b5b7fed091d91859263c2d03cb4a79ebf4779 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
|
# Copyright 2008 Richard Brown
# Copyright 2009 Bo Ørsted Andresen
# Copyright 2009 Thomas Anderson
# Copyright 2011 Ali Polatel
# Copyright 2011-2012 Quentin "Sardem FF7" Glidic <sardemff7@exherbo.org>
# Distributed under the terms of the GNU General Public License v2
require systemd-service
SUMMARY="A flexible, powerful, server-side application for playing music"
DESCRIPTION="
Music Player Daemon (MPD) is a flexible, powerful, server-side application for playing music.
Through plugins and libraries it can play a variety of sound files while being controlled by
its network protocol.
"
HOMEPAGE="https://www.musicpd.org"
DOWNLOADS="${HOMEPAGE}/download/${PN}/$(ever range -2)/${PNV}.tar.xz"
UPSTREAM_RELEASE_NOTES="http://git.musicpd.org/cgit/master/${PN}.git/plain/NEWS?h=v${PV}"
LICENCES="GPL-2"
SLOT="0"
MYOPTIONS="aac alsa avahi doc libsamplerate ogg openal pulseaudio sndfile tcpd
cdio [[ description = [ CD support through libcdio ] ]]
curl [[ description = [ Support obtaining song data via HTTP and enable the WebDAV storage plugin ] ]]
dsd [[ description = [ Support for decoding DSD ] ]]
id3 [[ description = [ Support for ID3 tags ] ]]
jack [[ description = [ Enable jack-audio-connection-kit audio output ] ]]
libmpdclient [[ description = [ Enable support for remote mpd databases ] ]]
mms [[ description = [ Microsoft Media Server protocol support ] ]]
nfs [[ description = [ Enable support for streaming music over a NFS share ] ]]
opus [[ description = [ Opus codec support ] requires = ogg ]]
samba [[ description = [ Enable support for streaming music over a SMB share ] ]]
shout [[ description = [ Enable support for streaming through shout (mp3, and ogg if ogg is enabled) ] ]]
soundcloud [[ description = [ SoundCloud.com support (input) ] ]]
soxr [[ description = [ Enable support for the libsoxr resampler ] ]]
sqlite [[ description = [ Enable support for storing the MPD database in an Sqlite database ] ]]
systemd [[ description = [ systemd socket activation support ] ]]
upnp [[ description = [ Support Service Discovery via UPnP ] ]]
zip [[ description = [ zip archive support ] ]]
(
aac mp3 mikmod musepack wavpack
audiofile [[ description = [ Enable audiofile support, enables wave support ] ]]
ffmpeg [[ description = [ Enable the ffmpeg input plugin, allowing you to play all audio formats supported by ffmpeg/libav ] ]]
modplug [[ description = [ mod-like file format support ] ]]
( flac shout vorbis ) [[ requires = ogg ]]
) [[ number-selected = at-least-one ]]
ffmpeg? ( ( providers: ffmpeg libav ) [[ number-selected = exactly-one ]] )
"
DEPENDENCIES="
build:
virtual/pkg-config
doc? (
app-text/docbook-xml-dtd:4.2
app-text/xmlto
app-doc/doxygen
)
build+run:
app-arch/bzip2
dev-libs/boost[>=1.46]
dev-libs/expat
dev-libs/glib:2[>=2.28]
dev-libs/icu:=
aac? ( media-libs/faad2 )
alsa? ( sys-sound/alsa-lib[>=0.9.0] )
audiofile? ( media-libs/audiofile[>=0.3] )
avahi? ( net-dns/avahi )
cdio? (
dev-libs/libcdio
dev-libs/libcdio-paranoia
)
curl? ( net-misc/curl[>=7.18] )
flac? ( media-libs/flac[>=1.2][ogg?] )
id3? ( media-libs/libid3tag )
jack? ( media-sound/jack-audio-connection-kit )
libmpdclient? ( media-libs/libmpdclient[>=2.2] )
libsamplerate? ( media-libs/libsamplerate[>=0.1.3] )
mms? ( media-libs/libmms[>=0.4] )
mikmod? ( media-libs/libmikmod[>=3.3.6] )
modplug? ( media-libs/libmodplug )
mp3? (
media-libs/libmad
media-sound/lame
)
musepack? ( media-libs/musepack )
nfs? ( net-fs/libnfs )
ogg? ( media-libs/libogg )
openal? ( media-libs/openal )
opus? ( media-libs/opus )
ffmpeg? (
providers:ffmpeg? ( media/ffmpeg )
providers:libav? ( media/libav )
)
pulseaudio? ( media-sound/pulseaudio[>=0.9.16] )
samba? ( net-fs/samba )
shout? ( media-libs/libshout )
sndfile? ( media-libs/libsndfile )
soundcloud? ( dev-libs/yajl[>=2.0] )
soxr? ( media-libs/soxr )
sqlite? ( dev-db/sqlite:3[>=3.7.3] )
systemd? ( sys-apps/systemd )
tcpd? ( sys-apps/tcp-wrappers )
upnp? (
net-libs/libupnp
)
vorbis? ( media-libs/libvorbis )
wavpack? ( media-sound/wavpack )
zip? ( dev-libs/zziplib[>=0.13] )
test:
dev-cpp/cppunit
suggestion:
media-sound/ario [[ description = [ Provides rhythmbox-like client ] ]]
media-sound/gmpc [[ description = [ Provides fast and fully featured GTK-based client ] ]]
media-sound/mpc [[ description = [ Provides command line client ] ]]
media-sound/mpdcron [[ description = [ Executes scripts based on mpd's idle events ] ]]
media-sound/ncmpc [[ description = [ Provides ncurses based command line client ] ]]
media-sound/pms [[ description = [ Provides an alternative ncurses based command line client ] ]]
media-sound/qmpdclient [[ description = [ Provides simple QT client ] ]]
media-sound/sonata [[ description = [ Provides an elegant GTK-based client ] ]]
sys-sound/oss [[ description = [ Provides an alternative sound architecture instead of ALSA ] ]]
"
DEFAULT_SRC_CONFIGURE_PARAMS=(
--enable-bzip2
--enable-cue
--enable-daemon
--enable-database
--enable-expat
--enable-fifo
--enable-httpd-output
--enable-icu
--enable-inotify
--enable-ipv6
--enable-oss
--enable-pipe-output
--enable-recorder-output
--enable-syslog
--enable-tcp
--enable-un
--enable-wave-encoder
--disable-adplug
--disable-ao
--disable-fluidsynth
--disable-gme
--disable-haiku
--disable-iconv
--disable-iso9660
--disable-mpg123
--disable-roar
--disable-shine-encoder
--disable-sidplay
--disable-sndio
--disable-twolame-encoder
--disable-werror
--disable-wildmidi
--without-tremor
)
DEFAULT_SRC_CONFIGURE_OPTION_ENABLES=(
aac
alsa
audiofile
'cdio cdio-paranoia'
curl
'curl webdav'
'doc documentation'
dsd
ffmpeg
flac
id3
jack
libmpdclient
'libsamplerate lsr'
mms
mikmod
modplug
'mp3 mad'
'mp3 lame-encoder'
'musepack mpc'
nfs
vorbis
'vorbis vorbis-encoder'
openal
opus
'pulseaudio pulse'
'samba smbclient'
shout
sndfile
soundcloud
soxr
sqlite
'systemd systemd-daemon'
'tcpd libwrap'
upnp
wavpack
'zip zzip'
)
DEFAULT_SRC_CONFIGURE_TESTS=( '--enable-test --disable-test' )
DEFAULT_SRC_CONFIGURE_OPTION_WITHS=(
'avahi zeroconf avahi'
"systemd systemdsystemunitdir ${SYSTEMDSYSTEMUNITDIR}"
"systemd systemduserunitdir ${SYSTEMDUSERUNITDIR}"
)
|