1 |
angelos 08/10/15 00:01:01 |
2 |
|
3 |
Modified: mpd-0.13.0.ebuild ChangeLog mpd-0.13.1.ebuild |
4 |
mpd-0.13.2.ebuild |
5 |
Added: mpd-0.14.0_pre20081015.ebuild |
6 |
Removed: mpd-0.14.0_pre20080630.ebuild |
7 |
mpd-0.14.0_pre20080204.ebuild |
8 |
Log: |
9 |
Removed old, new snapshot, removed die calls from enewuser (bug 237292) and removed --no-create-db from the init script (bug 241840) |
10 |
(Portage version: 2.2_rc11/cvs/Linux 2.6.27-rc6 x86_64) |
11 |
|
12 |
Revision Changes Path |
13 |
1.11 media-sound/mpd/mpd-0.13.0.ebuild |
14 |
|
15 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/mpd/mpd-0.13.0.ebuild?rev=1.11&view=markup |
16 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/mpd/mpd-0.13.0.ebuild?rev=1.11&content-type=text/plain |
17 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/mpd/mpd-0.13.0.ebuild?r1=1.10&r2=1.11 |
18 |
|
19 |
Index: mpd-0.13.0.ebuild |
20 |
=================================================================== |
21 |
RCS file: /var/cvsroot/gentoo-x86/media-sound/mpd/mpd-0.13.0.ebuild,v |
22 |
retrieving revision 1.10 |
23 |
retrieving revision 1.11 |
24 |
diff -u -r1.10 -r1.11 |
25 |
--- mpd-0.13.0.ebuild 8 Oct 2007 23:49:08 -0000 1.10 |
26 |
+++ mpd-0.13.0.ebuild 15 Oct 2008 00:01:01 -0000 1.11 |
27 |
@@ -1,6 +1,6 @@ |
28 |
-# Copyright 1999-2007 Gentoo Foundation |
29 |
+# Copyright 1999-2008 Gentoo Foundation |
30 |
# Distributed under the terms of the GNU General Public License v2 |
31 |
-# $Header: /var/cvsroot/gentoo-x86/media-sound/mpd/mpd-0.13.0.ebuild,v 1.10 2007/10/08 23:49:08 jer Exp $ |
32 |
+# $Header: /var/cvsroot/gentoo-x86/media-sound/mpd/mpd-0.13.0.ebuild,v 1.11 2008/10/15 00:01:01 angelos Exp $ |
33 |
|
34 |
inherit eutils |
35 |
|
36 |
@@ -39,7 +39,7 @@ |
37 |
die "Missing libOggFLAC library." |
38 |
fi |
39 |
|
40 |
- enewuser mpd "" "" "/var/lib/mpd" audio || die "problem adding user mpd" |
41 |
+ enewuser mpd "" "" "/var/lib/mpd" audio |
42 |
} |
43 |
|
44 |
src_unpack() { |
45 |
|
46 |
|
47 |
|
48 |
1.125 media-sound/mpd/ChangeLog |
49 |
|
50 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/mpd/ChangeLog?rev=1.125&view=markup |
51 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/mpd/ChangeLog?rev=1.125&content-type=text/plain |
52 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/mpd/ChangeLog?r1=1.124&r2=1.125 |
53 |
|
54 |
Index: ChangeLog |
55 |
=================================================================== |
56 |
RCS file: /var/cvsroot/gentoo-x86/media-sound/mpd/ChangeLog,v |
57 |
retrieving revision 1.124 |
58 |
retrieving revision 1.125 |
59 |
diff -u -r1.124 -r1.125 |
60 |
--- ChangeLog 22 Jul 2008 01:32:50 -0000 1.124 |
61 |
+++ ChangeLog 15 Oct 2008 00:01:01 -0000 1.125 |
62 |
@@ -1,6 +1,15 @@ |
63 |
# ChangeLog for media-sound/mpd |
64 |
# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2 |
65 |
-# $Header: /var/cvsroot/gentoo-x86/media-sound/mpd/ChangeLog,v 1.124 2008/07/22 01:32:50 darkside Exp $ |
66 |
+# $Header: /var/cvsroot/gentoo-x86/media-sound/mpd/ChangeLog,v 1.125 2008/10/15 00:01:01 angelos Exp $ |
67 |
+ |
68 |
+*mpd-0.14.0_pre20081015 (14 Oct 2008) |
69 |
+ |
70 |
+ 14 Oct 2008; Christoph Mende <angelos@g.o> files/mpd.rc, |
71 |
+ mpd-0.13.0.ebuild, mpd-0.13.1.ebuild, mpd-0.13.2.ebuild, |
72 |
+ -mpd-0.14.0_pre20080204.ebuild, -mpd-0.14.0_pre20080630.ebuild, |
73 |
+ +mpd-0.14.0_pre20081015.ebuild: |
74 |
+ Removed old, new snapshot, removed die calls from enewuser (bug 237292) |
75 |
+ and removed --no-create-db from the init script (bug 241840) |
76 |
|
77 |
22 Jul 2008; Jeremy Olexa <darkside@g.o> Manifest: |
78 |
re-manifest distfile for mpd-0.14.0_pre20080204 with Chainsaw's permission |
79 |
|
80 |
|
81 |
|
82 |
1.8 media-sound/mpd/mpd-0.13.1.ebuild |
83 |
|
84 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/mpd/mpd-0.13.1.ebuild?rev=1.8&view=markup |
85 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/mpd/mpd-0.13.1.ebuild?rev=1.8&content-type=text/plain |
86 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/mpd/mpd-0.13.1.ebuild?r1=1.7&r2=1.8 |
87 |
|
88 |
Index: mpd-0.13.1.ebuild |
89 |
=================================================================== |
90 |
RCS file: /var/cvsroot/gentoo-x86/media-sound/mpd/mpd-0.13.1.ebuild,v |
91 |
retrieving revision 1.7 |
92 |
retrieving revision 1.8 |
93 |
diff -u -r1.7 -r1.8 |
94 |
--- mpd-0.13.1.ebuild 7 Feb 2008 12:27:05 -0000 1.7 |
95 |
+++ mpd-0.13.1.ebuild 15 Oct 2008 00:01:01 -0000 1.8 |
96 |
@@ -1,6 +1,6 @@ |
97 |
# Copyright 1999-2008 Gentoo Foundation |
98 |
# Distributed under the terms of the GNU General Public License v2 |
99 |
-# $Header: /var/cvsroot/gentoo-x86/media-sound/mpd/mpd-0.13.1.ebuild,v 1.7 2008/02/07 12:27:05 armin76 Exp $ |
100 |
+# $Header: /var/cvsroot/gentoo-x86/media-sound/mpd/mpd-0.13.1.ebuild,v 1.8 2008/10/15 00:01:01 angelos Exp $ |
101 |
|
102 |
inherit eutils |
103 |
|
104 |
@@ -39,7 +39,7 @@ |
105 |
die "Missing libOggFLAC library." |
106 |
fi |
107 |
|
108 |
- enewuser mpd "" "" "/var/lib/mpd" audio || die "problem adding user mpd" |
109 |
+ enewuser mpd "" "" "/var/lib/mpd" audio |
110 |
} |
111 |
|
112 |
src_unpack() { |
113 |
|
114 |
|
115 |
|
116 |
1.2 media-sound/mpd/mpd-0.13.2.ebuild |
117 |
|
118 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/mpd/mpd-0.13.2.ebuild?rev=1.2&view=markup |
119 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/mpd/mpd-0.13.2.ebuild?rev=1.2&content-type=text/plain |
120 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/mpd/mpd-0.13.2.ebuild?r1=1.1&r2=1.2 |
121 |
|
122 |
Index: mpd-0.13.2.ebuild |
123 |
=================================================================== |
124 |
RCS file: /var/cvsroot/gentoo-x86/media-sound/mpd/mpd-0.13.2.ebuild,v |
125 |
retrieving revision 1.1 |
126 |
retrieving revision 1.2 |
127 |
diff -u -r1.1 -r1.2 |
128 |
--- mpd-0.13.2.ebuild 30 Jun 2008 14:46:38 -0000 1.1 |
129 |
+++ mpd-0.13.2.ebuild 15 Oct 2008 00:01:01 -0000 1.2 |
130 |
@@ -1,6 +1,6 @@ |
131 |
# Copyright 1999-2008 Gentoo Foundation |
132 |
# Distributed under the terms of the GNU General Public License v2 |
133 |
-# $Header: /var/cvsroot/gentoo-x86/media-sound/mpd/mpd-0.13.2.ebuild,v 1.1 2008/06/30 14:46:38 angelos Exp $ |
134 |
+# $Header: /var/cvsroot/gentoo-x86/media-sound/mpd/mpd-0.13.2.ebuild,v 1.2 2008/10/15 00:01:01 angelos Exp $ |
135 |
|
136 |
inherit eutils |
137 |
|
138 |
@@ -39,7 +39,7 @@ |
139 |
die "Missing libOggFLAC library." |
140 |
fi |
141 |
|
142 |
- enewuser mpd "" "" "/var/lib/mpd" audio || die "problem adding user mpd" |
143 |
+ enewuser mpd "" "" "/var/lib/mpd" audio |
144 |
} |
145 |
|
146 |
src_unpack() { |
147 |
|
148 |
|
149 |
|
150 |
1.1 media-sound/mpd/mpd-0.14.0_pre20081015.ebuild |
151 |
|
152 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/mpd/mpd-0.14.0_pre20081015.ebuild?rev=1.1&view=markup |
153 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/mpd/mpd-0.14.0_pre20081015.ebuild?rev=1.1&content-type=text/plain |
154 |
|
155 |
Index: mpd-0.14.0_pre20081015.ebuild |
156 |
=================================================================== |
157 |
# Copyright 1999-2008 Gentoo Foundation |
158 |
# Distributed under the terms of the GNU General Public License v2 |
159 |
# $Header: /var/cvsroot/gentoo-x86/media-sound/mpd/mpd-0.14.0_pre20081015.ebuild,v 1.1 2008/10/15 00:01:01 angelos Exp $ |
160 |
|
161 |
inherit eutils |
162 |
|
163 |
DESCRIPTION="The Music Player Daemon (mpd)" |
164 |
HOMEPAGE="http://www.musicpd.org" |
165 |
SRC_URI="mirror://gentoo/${P}.tar.bz2" |
166 |
|
167 |
LICENSE="GPL-2" |
168 |
SLOT="0" |
169 |
KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd" |
170 |
IUSE="aac alsa ao audiofile avahi flac icecast iconv ipv6 jack libsamplerate mp3 mikmod musepack ogg oss pulseaudio unicode vorbis wavpack" |
171 |
|
172 |
DEPEND="!sys-cluster/mpich2 |
173 |
aac? ( >=media-libs/faad2-2.0_rc2 ) |
174 |
alsa? ( media-sound/alsa-utils ) |
175 |
ao? ( >=media-libs/libao-0.8.4 ) |
176 |
audiofile? ( media-libs/audiofile ) |
177 |
avahi? ( net-dns/avahi ) |
178 |
flac? ( media-libs/flac ) |
179 |
icecast? ( media-libs/libshout ) |
180 |
iconv? ( virtual/libiconv ) |
181 |
jack? ( media-sound/jack-audio-connection-kit ) |
182 |
libsamplerate? ( media-libs/libsamplerate ) |
183 |
mp3? ( media-libs/libmad |
184 |
media-libs/libid3tag ) |
185 |
mikmod? ( media-libs/libmikmod ) |
186 |
musepack? ( media-libs/libmpcdec ) |
187 |
ogg? ( media-libs/libogg ) |
188 |
pulseaudio? ( media-sound/pulseaudio ) |
189 |
vorbis? ( media-libs/libvorbis ) |
190 |
wavpack? ( media-sound/wavpack )" |
191 |
|
192 |
pkg_setup() { |
193 |
if use ogg && use flac && ! built_with_use media-libs/flac ogg; then |
194 |
eerror "To be able to play OggFlac files you need to build" |
195 |
eerror "media-libs/flac with +ogg, to build libOggFLAC." |
196 |
die "Missing libOggFLAC library." |
197 |
fi |
198 |
|
199 |
enewuser mpd "" "" "/var/lib/mpd" audio |
200 |
} |
201 |
|
202 |
src_unpack() { |
203 |
unpack ${A} |
204 |
cd "${S}" |
205 |
epatch "${FILESDIR}"/mpdconf.patch || die "epatch for config file failed" |
206 |
} |
207 |
|
208 |
src_compile() { |
209 |
local myconf |
210 |
|
211 |
myconf="" |
212 |
|
213 |
if use avahi; then |
214 |
myconf="${myconf} --with-zeroconf=avahi" |
215 |
else |
216 |
myconf="${myconf} --with-zeroconf=no" |
217 |
fi |
218 |
|
219 |
if use ogg && use flac; then |
220 |
myconf="${myconf} --enable-oggflac --enable-libOggFLACtest" |
221 |
else |
222 |
myconf="${myconf} --disable-oggflac --disable-libOggFLACtest" |
223 |
fi |
224 |
|
225 |
econf \ |
226 |
$(use_enable aac) \ |
227 |
$(use_enable alsa) \ |
228 |
$(use_enable alsa alsatest) \ |
229 |
$(use_enable ao) \ |
230 |
$(use_enable ao aotest) \ |
231 |
$(use_enable audiofile) \ |
232 |
$(use_enable audiofile audiofiletest) \ |
233 |
$(use_enable flac) \ |
234 |
$(use_enable flac libFLACtest) \ |
235 |
$(use_enable icecast shout) \ |
236 |
$(use_enable iconv) \ |
237 |
$(use_enable ipv6) \ |
238 |
$(use_enable jack) \ |
239 |
$(use_enable libsamplerate lsr) \ |
240 |
$(use_enable mp3) \ |
241 |
$(use_enable mp3 id3) \ |
242 |
$(use_enable mikmod mod) \ |
243 |
$(use_enable mikmod libmikmodtest) \ |
244 |
$(use_enable musepack mpc) \ |
245 |
$(use_enable oss) \ |
246 |
$(use_enable ogg oggtest) \ |
247 |
$(use_enable pulseaudio pulse) \ |
248 |
$(use_enable vorbis oggvorbis) \ |
249 |
$(use_enable vorbis vorbistest) \ |
250 |
$(use_enable wavpack) \ |
251 |
${myconf} || die "could not configure" |
252 |
|
253 |
emake || die "emake failed" |
254 |
} |
255 |
|
256 |
src_install() { |
257 |
dodir /var/run/mpd |
258 |
fowners mpd:audio /var/run/mpd |
259 |
fperms 750 /var/run/mpd |
260 |
keepdir /var/run/mpd |
261 |
|
262 |
emake install DESTDIR="${D}" || die |
263 |
rm -rf "${D}"/usr/share/doc/mpd/ |
264 |
dodoc AUTHORS ChangeLog INSTALL README TODO UPGRADING |
265 |
dodoc doc/COMMANDS doc/mpdconf.example |
266 |
|
267 |
insinto /etc |
268 |
newins doc/mpdconf.example mpd.conf |
269 |
|
270 |
newinitd "${FILESDIR}"/mpd.rc mpd |
271 |
|
272 |
if use unicode; then |
273 |
dosed 's:^#filesystem_charset.*$:filesystem_charset "UTF-8":' /etc/mpd.conf |
274 |
fi |
275 |
diropts -m0755 -o mpd -g audio |
276 |
dodir /var/lib/mpd/music |
277 |
keepdir /var/lib/mpd/music |
278 |
dodir /var/lib/mpd/playlists |
279 |
keepdir /var/lib/mpd/playlists |
280 |
dodir /var/log/mpd |
281 |
keepdir /var/log/mpd |
282 |
|
283 |
use alsa && \ |
284 |
dosed 's:need :need alsasound :' /etc/init.d/mpd |
285 |
} |
286 |
|
287 |
pkg_postinst() { |
288 |
elog "If you will be starting mpd via /etc/init.d/mpd initscript, please make" |
289 |
elog "sure that MPD's pid_file is set to /var/run/mpd/mpd.pid." |
290 |
|
291 |
# also change the homedir if the user has existed before |
292 |
usermod -d "/var/lib/mpd" mpd |
293 |
} |