1 |
hwoarang 10/08/22 12:09:38 |
2 |
|
3 |
Modified: metadata.xml ChangeLog |
4 |
Added: mpd-0.15.12.ebuild |
5 |
Log: |
6 |
Version bump. Fixes bug #331471 and bug #326875 |
7 |
(Portage version: 2.1.8.3/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.14 media-sound/mpd/metadata.xml |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/mpd/metadata.xml?rev=1.14&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/mpd/metadata.xml?rev=1.14&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/mpd/metadata.xml?r1=1.13&r2=1.14 |
15 |
|
16 |
Index: metadata.xml |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/media-sound/mpd/metadata.xml,v |
19 |
retrieving revision 1.13 |
20 |
retrieving revision 1.14 |
21 |
diff -u -r1.13 -r1.14 |
22 |
--- metadata.xml 8 Sep 2009 19:30:03 -0000 1.13 |
23 |
+++ metadata.xml 22 Aug 2010 12:09:38 -0000 1.14 |
24 |
@@ -19,6 +19,7 @@ |
25 |
<flag name="network">Enables network streaming support</flag> |
26 |
<flag name="pipe">Support writing audio to a pipe</flag> |
27 |
<flag name="sid">Build with SID (Commodore 64 Audio) support</flag> |
28 |
+ <flag name="wildmidi">Enable MIDI support via wildmidi</flag> |
29 |
<flag name="zip">Support for ZIP files</flag> |
30 |
</use> |
31 |
</pkgmetadata> |
32 |
|
33 |
|
34 |
|
35 |
1.205 media-sound/mpd/ChangeLog |
36 |
|
37 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/mpd/ChangeLog?rev=1.205&view=markup |
38 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/mpd/ChangeLog?rev=1.205&content-type=text/plain |
39 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/mpd/ChangeLog?r1=1.204&r2=1.205 |
40 |
|
41 |
Index: ChangeLog |
42 |
=================================================================== |
43 |
RCS file: /var/cvsroot/gentoo-x86/media-sound/mpd/ChangeLog,v |
44 |
retrieving revision 1.204 |
45 |
retrieving revision 1.205 |
46 |
diff -u -r1.204 -r1.205 |
47 |
--- ChangeLog 31 May 2010 19:23:17 -0000 1.204 |
48 |
+++ ChangeLog 22 Aug 2010 12:09:38 -0000 1.205 |
49 |
@@ -1,6 +1,12 @@ |
50 |
# ChangeLog for media-sound/mpd |
51 |
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
52 |
-# $Header: /var/cvsroot/gentoo-x86/media-sound/mpd/ChangeLog,v 1.204 2010/05/31 19:23:17 angelos Exp $ |
53 |
+# $Header: /var/cvsroot/gentoo-x86/media-sound/mpd/ChangeLog,v 1.205 2010/08/22 12:09:38 hwoarang Exp $ |
54 |
+ |
55 |
+*mpd-0.15.12 (22 Aug 2010) |
56 |
+ |
57 |
+ 22 Aug 2010; Markos Chandras <hwoarang@g.o> +mpd-0.15.12.ebuild, |
58 |
+ metadata.xml: |
59 |
+ Version bump. Fixes bug #331471 and bug #326875 |
60 |
|
61 |
*mpd-0.15.10 (30 May 2010) |
62 |
|
63 |
|
64 |
|
65 |
|
66 |
1.1 media-sound/mpd/mpd-0.15.12.ebuild |
67 |
|
68 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/mpd/mpd-0.15.12.ebuild?rev=1.1&view=markup |
69 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/mpd/mpd-0.15.12.ebuild?rev=1.1&content-type=text/plain |
70 |
|
71 |
Index: mpd-0.15.12.ebuild |
72 |
=================================================================== |
73 |
# Copyright 1999-2010 Gentoo Foundation |
74 |
# Distributed under the terms of the GNU General Public License v2 |
75 |
# $Header: /var/cvsroot/gentoo-x86/media-sound/mpd/mpd-0.15.12.ebuild,v 1.1 2010/08/22 12:09:38 hwoarang Exp $ |
76 |
|
77 |
EAPI=2 |
78 |
inherit eutils flag-o-matic multilib |
79 |
|
80 |
DESCRIPTION="The Music Player Daemon (mpd)" |
81 |
HOMEPAGE="http://www.musicpd.org" |
82 |
SRC_URI="mirror://sourceforge/musicpd/${P}.tar.bz2" |
83 |
|
84 |
LICENSE="GPL-2" |
85 |
SLOT="0" |
86 |
KEYWORDS="~amd64 ~x86 ~x86-fbsd" |
87 |
IUSE="aac +alsa ao audiofile avahi bzip2 cdio cue +curl debug +fifo +ffmpeg flac |
88 |
fluidsynth profile +id3 ipv6 jack lame lastfmradio libmms libsamplerate +mad |
89 |
mikmod modplug musepack +network ogg oss pipe pulseaudio sid sqlite unicode |
90 |
vorbis wavpack wildmidi zip" |
91 |
|
92 |
RDEPEND="!sys-cluster/mpich2 |
93 |
>=dev-libs/glib-2.6:2 |
94 |
aac? ( >=media-libs/faad2-2 ) |
95 |
alsa? ( media-sound/alsa-utils ) |
96 |
ao? ( >=media-libs/libao-0.8.4[alsa?,pulseaudio?] ) |
97 |
audiofile? ( media-libs/audiofile ) |
98 |
bzip2? ( app-arch/bzip2 ) |
99 |
cdio? ( dev-libs/libcdio ) |
100 |
cue? ( >=media-libs/libcue-0.13 ) |
101 |
curl? ( net-misc/curl ) |
102 |
ffmpeg? ( media-video/ffmpeg ) |
103 |
flac? ( media-libs/flac[ogg?] ) |
104 |
fluidsynth? ( media-sound/fluidsynth ) |
105 |
network? ( >=media-libs/libshout-2 |
106 |
!lame? ( !vorbis? ( media-libs/libvorbis ) ) ) |
107 |
id3? ( media-libs/libid3tag ) |
108 |
jack? ( media-sound/jack-audio-connection-kit ) |
109 |
lame? ( network? ( media-sound/lame ) ) |
110 |
libmms? ( >=media-libs/libmms-0.4 ) |
111 |
libsamplerate? ( media-libs/libsamplerate ) |
112 |
mad? ( media-libs/libmad ) |
113 |
mikmod? ( media-libs/libmikmod ) |
114 |
modplug? ( media-libs/libmodplug ) |
115 |
musepack? ( >=media-sound/musepack-tools-444 ) |
116 |
ogg? ( media-libs/libogg ) |
117 |
pulseaudio? ( media-sound/pulseaudio ) |
118 |
sid? ( >=media-libs/libsidplay-2.1.1-r2:2 ) |
119 |
sqlite? ( dev-db/sqlite:3 ) |
120 |
vorbis? ( media-libs/libvorbis ) |
121 |
wavpack? ( media-sound/wavpack ) |
122 |
wildmidi? ( media-sound/wildmidi ) |
123 |
avahi? ( net-dns/avahi ) |
124 |
zip? ( dev-libs/zziplib )" |
125 |
DEPEND="${RDEPEND} |
126 |
dev-util/pkgconfig" |
127 |
|
128 |
pkg_setup() { |
129 |
use network || ewarn "Icecast and Shoutcast streaming needs networking." |
130 |
use fluidsynth && ewarn "Using fluidsynth is discouraged by upstream." |
131 |
|
132 |
enewuser mpd "" "" "/var/lib/mpd" audio |
133 |
} |
134 |
|
135 |
src_prepare() { |
136 |
cp -f doc/mpdconf.example doc/mpdconf.dist || die "cp failed" |
137 |
epatch "${FILESDIR}"/0.15.1-mpdconf.patch |
138 |
} |
139 |
|
140 |
src_configure() { |
141 |
local mpdconf="--disable-dependency-tracking --enable-tcp --enable-un |
142 |
--disable-wildmidi --disable-libOggFLACtest --disable-documentation |
143 |
--docdir=${EPREFIX}/usr/share/doc/${PF}" |
144 |
|
145 |
if use network; then |
146 |
mpdconf+=" --enable-shout $(use_enable vorbis vorbis-encoder) |
147 |
--enable-httpd-output $(use_enable lame lame-encoder)" |
148 |
if ! use lame && ! use vorbis; then |
149 |
ewarn "At least one encoder is required, enabling vorbis for you." |
150 |
mpdconf+=" --enable-vorbis-encoder" |
151 |
fi |
152 |
else |
153 |
mpdconf+=" --disable-shout --disable-vorbis-encoder |
154 |
--disable-httpd-output --disable-lame-encoder" |
155 |
fi |
156 |
|
157 |
if use flac && use ogg; then |
158 |
mpdconf+=" --enable-oggflac" |
159 |
else |
160 |
mpdconf+=" --disable-oggflac" |
161 |
fi |
162 |
|
163 |
append-lfs-flags |
164 |
append-ldflags "-L/usr/$(get_libdir)/sidplay/builders" |
165 |
|
166 |
cd "${S}" |
167 |
|
168 |
econf \ |
169 |
$(use_enable ipv6) $(use_enable cue) \ |
170 |
$(use_enable sqlite) $(use_enable curl) \ |
171 |
$(use_enable lastfmradio lastfm) $(use_enable libmms mms) \ |
172 |
$(use_enable bzip2) $(use_enable zip) \ |
173 |
$(use_enable cdio iso9660) $(use_enable id3) \ |
174 |
$(use_enable audiofile) $(use_enable ffmpeg) \ |
175 |
$(use_enable flac) $(use_enable mad) \ |
176 |
$(use_enable mikmod) $(use_enable modplug) \ |
177 |
$(use_enable musepack mpc) $(use_enable vorbis) \ |
178 |
$(use_enable sid sidplay) $(use_enable fluidsynth) \ |
179 |
$(use_enable wavpack) $(use_enable libsamplerate lsr) \ |
180 |
$(use_enable alsa) $(use_enable ao) \ |
181 |
$(use_enable fifo) $(use_enable pipe pipe-output) \ |
182 |
$(use_enable jack) $(use_enable oss) \ |
183 |
$(use_enable pulseaudio pulse) $(use_enable aac) \ |
184 |
$(use_enable debug) $(use_enable profile gprof) \ |
185 |
$(use_with avahi zeroconf avahi) $(use_enable wildmidi) \ |
186 |
${mpdconf} |
187 |
} |
188 |
|
189 |
src_install() { |
190 |
dodir /var/run/mpd |
191 |
fowners mpd:audio /var/run/mpd |
192 |
fperms 750 /var/run/mpd |
193 |
keepdir /var/run/mpd |
194 |
|
195 |
emake DESTDIR="${D}" install || die "emake install failed" |
196 |
|
197 |
insinto /etc |
198 |
newins doc/mpdconf.example mpd.conf |
199 |
|
200 |
newinitd "${FILESDIR}"/mpd.rc mpd |
201 |
|
202 |
if use unicode; then |
203 |
dosed 's:^#filesystem_charset.*$:filesystem_charset "UTF-8":' \ |
204 |
/etc/mpd.conf || die "dosed failed" |
205 |
fi |
206 |
|
207 |
diropts -m0755 -o mpd -g audio |
208 |
dodir /var/lib/mpd |
209 |
keepdir /var/lib/mpd |
210 |
dodir /var/lib/mpd/music |
211 |
keepdir /var/lib/mpd/music |
212 |
dodir /var/lib/mpd/playlists |
213 |
keepdir /var/lib/mpd/playlists |
214 |
dodir /var/log/mpd |
215 |
keepdir /var/log/mpd |
216 |
|
217 |
if use alsa; then |
218 |
dosed 's:need :need alsasound :' /etc/init.d/mpd || die "dosed failed" |
219 |
fi |
220 |
} |
221 |
|
222 |
pkg_postinst() { |
223 |
elog "If you will be starting mpd via /etc/init.d/mpd, please make" |
224 |
elog "sure that MPD's pid_file is set to /var/run/mpd/mpd.pid." |
225 |
|
226 |
# also change the homedir if the user has existed before |
227 |
usermod -d "/var/lib/mpd" mpd |
228 |
} |