1 |
angelos 09/01/12 23:38:52 |
2 |
|
3 |
Modified: ChangeLog mpd-0.14.ebuild |
4 |
Log: |
5 |
die if no audio outputs were enabled, bug 254731 |
6 |
(Portage version: 2.2_rc20/cvs/Linux 2.6.29-rc1 x86_64) |
7 |
|
8 |
Revision Changes Path |
9 |
1.149 media-sound/mpd/ChangeLog |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/mpd/ChangeLog?rev=1.149&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/mpd/ChangeLog?rev=1.149&content-type=text/plain |
13 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/mpd/ChangeLog?r1=1.148&r2=1.149 |
14 |
|
15 |
Index: ChangeLog |
16 |
=================================================================== |
17 |
RCS file: /var/cvsroot/gentoo-x86/media-sound/mpd/ChangeLog,v |
18 |
retrieving revision 1.148 |
19 |
retrieving revision 1.149 |
20 |
diff -u -r1.148 -r1.149 |
21 |
--- ChangeLog 12 Jan 2009 21:08:22 -0000 1.148 |
22 |
+++ ChangeLog 12 Jan 2009 23:38:52 -0000 1.149 |
23 |
@@ -1,6 +1,9 @@ |
24 |
# ChangeLog for media-sound/mpd |
25 |
# Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2 |
26 |
-# $Header: /var/cvsroot/gentoo-x86/media-sound/mpd/ChangeLog,v 1.148 2009/01/12 21:08:22 angelos Exp $ |
27 |
+# $Header: /var/cvsroot/gentoo-x86/media-sound/mpd/ChangeLog,v 1.149 2009/01/12 23:38:52 angelos Exp $ |
28 |
+ |
29 |
+ 12 Jan 2009; Christoph Mende <angelos@g.o> mpd-0.14.ebuild: |
30 |
+ die if no audio outputs were enabled, bug 254731 |
31 |
|
32 |
12 Jan 2009; Christoph Mende <angelos@g.o> mpd-0.14.ebuild: |
33 |
Add use_enable for lame, bug 254545 |
34 |
|
35 |
|
36 |
|
37 |
1.5 media-sound/mpd/mpd-0.14.ebuild |
38 |
|
39 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/mpd/mpd-0.14.ebuild?rev=1.5&view=markup |
40 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/mpd/mpd-0.14.ebuild?rev=1.5&content-type=text/plain |
41 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/mpd/mpd-0.14.ebuild?r1=1.4&r2=1.5 |
42 |
|
43 |
Index: mpd-0.14.ebuild |
44 |
=================================================================== |
45 |
RCS file: /var/cvsroot/gentoo-x86/media-sound/mpd/mpd-0.14.ebuild,v |
46 |
retrieving revision 1.4 |
47 |
retrieving revision 1.5 |
48 |
diff -u -r1.4 -r1.5 |
49 |
--- mpd-0.14.ebuild 12 Jan 2009 21:08:22 -0000 1.4 |
50 |
+++ mpd-0.14.ebuild 12 Jan 2009 23:38:52 -0000 1.5 |
51 |
@@ -1,6 +1,6 @@ |
52 |
# Copyright 1999-2009 Gentoo Foundation |
53 |
# Distributed under the terms of the GNU General Public License v2 |
54 |
-# $Header: /var/cvsroot/gentoo-x86/media-sound/mpd/mpd-0.14.ebuild,v 1.4 2009/01/12 21:08:22 angelos Exp $ |
55 |
+# $Header: /var/cvsroot/gentoo-x86/media-sound/mpd/mpd-0.14.ebuild,v 1.5 2009/01/12 23:38:52 angelos Exp $ |
56 |
|
57 |
EAPI=2 |
58 |
|
59 |
@@ -13,7 +13,7 @@ |
60 |
LICENSE="GPL-2" |
61 |
SLOT="0" |
62 |
KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd" |
63 |
-IUSE="aac alsa ao audiofile curl debug doc ffmpeg flac icecast id3 ipv6 jack lame libsamplerate mad mikmod musepack ogg oss pulseaudio +sysvipc unicode vorbis wavpack zeroconf" |
64 |
+IUSE="aac +alsa ao audiofile curl debug doc ffmpeg flac icecast id3 ipv6 jack lame libsamplerate mad mikmod musepack ogg oss pulseaudio +sysvipc unicode vorbis wavpack zeroconf" |
65 |
|
66 |
RDEPEND="!sys-cluster/mpich2 |
67 |
>=dev-libs/glib-2.4:2 |
68 |
@@ -48,7 +48,7 @@ |
69 |
ewarn "USE=icecast enabled but lame and vorbis disabled," |
70 |
ewarn "disabling icecast" |
71 |
fi |
72 |
- |
73 |
+ |
74 |
enewuser mpd "" "" "/var/lib/mpd" audio |
75 |
} |
76 |
|
77 |
@@ -60,6 +60,20 @@ |
78 |
src_configure() { |
79 |
local myconf="" |
80 |
|
81 |
+ |
82 |
+ if ! use alsa && ! use ao && ! use icecast && ! use jack && ! use oss && \ |
83 |
+ ! use pulseaudio; then |
84 |
+ eerror "You did not enable any output backend." |
85 |
+ einfo "Please enable one of the following USE flags:" |
86 |
+ einfo "USE=alsa - output via ALSA" |
87 |
+ einfo "USE=ao - output via media-libs/libao" |
88 |
+ einfo "USE=icecast - output via net-misc/icecast" |
89 |
+ einfo "USE=jack - output via media-sound/jack-audio-connection-kit" |
90 |
+ einfo "USE=oss - output via OSS" |
91 |
+ einfo "USE=pulseaudio - output via media-sound/pulseaudio" |
92 |
+ die "No audio output enabled" |
93 |
+ fi |
94 |
+ |
95 |
if use icecast; then |
96 |
myconf+=" $(use_enable vorbis shout_ogg) $(use_enable lame shout_mp3) |
97 |
$(use_enable lame lametest) $(use_enable lame)" |