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