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