1 |
drac 07/12/10 18:39:36 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: mpg123-1.0_rc2.ebuild |
5 |
Log: |
6 |
Version bump to 1 -series, now installs a shared library and a pkgconfig file for it. |
7 |
(Portage version: 2.1.4_rc9) |
8 |
|
9 |
Revision Changes Path |
10 |
1.127 media-sound/mpg123/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/mpg123/ChangeLog?rev=1.127&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/mpg123/ChangeLog?rev=1.127&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/mpg123/ChangeLog?r1=1.126&r2=1.127 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/media-sound/mpg123/ChangeLog,v |
19 |
retrieving revision 1.126 |
20 |
retrieving revision 1.127 |
21 |
diff -u -r1.126 -r1.127 |
22 |
--- ChangeLog 29 Nov 2007 17:54:08 -0000 1.126 |
23 |
+++ ChangeLog 10 Dec 2007 18:39:34 -0000 1.127 |
24 |
@@ -1,6 +1,13 @@ |
25 |
# ChangeLog for media-sound/mpg123 |
26 |
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/media-sound/mpg123/ChangeLog,v 1.126 2007/11/29 17:54:08 armin76 Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/media-sound/mpg123/ChangeLog,v 1.127 2007/12/10 18:39:34 drac Exp $ |
29 |
+ |
30 |
+*mpg123-1.0_rc2 (10 Dec 2007) |
31 |
+ |
32 |
+ 10 Dec 2007; Samuli Suominen <drac@g.o> |
33 |
+ +files/1.0_rc2-no-faltivec.patch, +mpg123-1.0_rc2.ebuild: |
34 |
+ Version bump to 1 -series, now installs a shared library and a pkgconfig |
35 |
+ file for it. |
36 |
|
37 |
29 Nov 2007; Raúl Porcel <armin76@g.o> mpg123-0.67.ebuild: |
38 |
alpha/ia64/sparc stable wrt #200106 thanks to Tobias Klausmann and Alex |
39 |
|
40 |
|
41 |
|
42 |
1.1 media-sound/mpg123/mpg123-1.0_rc2.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/mpg123/mpg123-1.0_rc2.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/mpg123/mpg123-1.0_rc2.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: mpg123-1.0_rc2.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2007 Gentoo Foundation |
50 |
# Distributed under the terms of the GNU General Public License v2 |
51 |
# $Header: /var/cvsroot/gentoo-x86/media-sound/mpg123/mpg123-1.0_rc2.ebuild,v 1.1 2007/12/10 18:39:34 drac Exp $ |
52 |
|
53 |
inherit eutils autotools |
54 |
|
55 |
MY_P=${P/_/} |
56 |
|
57 |
DESCRIPTION="Real Time mp3 player" |
58 |
HOMEPAGE="http://www.mpg123.de" |
59 |
SRC_URI="http://www.${PN}.de/download/${MY_P}.tar.bz2" |
60 |
|
61 |
LICENSE="GPL-2 LGPL-2.1" |
62 |
SLOT="0" |
63 |
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" |
64 |
IUSE="3dnow 3dnowext alsa altivec esd jack mmx nas oss portaudio sdl sse" |
65 |
|
66 |
RDEPEND="alsa? ( media-libs/alsa-lib ) |
67 |
sdl? ( !alsa? ( !oss? ( media-libs/libsdl ) ) ) |
68 |
esd? ( !alsa? ( !oss? ( !sdl? ( media-sound/esound ) ) ) ) |
69 |
nas? ( !alsa? ( !oss? ( !sdl? ( !esd? ( media-libs/nas ) ) ) ) ) |
70 |
jack? ( !alsa? ( !oss? ( !sdl? ( !esd? ( !nas? ( media-sound/jack-audio-connection-kit ) ) ) ) ) ) |
71 |
portaudio? ( !alsa? ( !oss? ( !sdl? ( !esd? ( !nas? ( !jack? ( media-libs/portaudio ) ) ) ) ) ) )" |
72 |
DEPEND="${RDEPEND}" |
73 |
|
74 |
S=${WORKDIR}/${MY_P} |
75 |
|
76 |
PROVIDE="virtual/mpg123" |
77 |
|
78 |
src_unpack() { |
79 |
unpack "${A}" |
80 |
cd "${S}" |
81 |
epatch "${FILESDIR}/${PV}-no-faltivec.patch" |
82 |
eautoreconf |
83 |
} |
84 |
|
85 |
src_compile() { |
86 |
local audiodev |
87 |
if use alsa; then |
88 |
audiodev="alsa" |
89 |
elif use oss; then |
90 |
audiodev="oss" |
91 |
elif use sdl; then |
92 |
audiodev="sdl" |
93 |
elif use esd; then |
94 |
audiodev="esd" |
95 |
elif use nas; then |
96 |
audiodev="nas" |
97 |
elif use jack; then |
98 |
audiodev="jack" |
99 |
elif use portaudio; then |
100 |
audiodev="portaudio"; |
101 |
else audiodev="dummy" |
102 |
fi |
103 |
|
104 |
if use altivec; then |
105 |
myconf="--with-cpu=altivec" |
106 |
elif use 3dnowext; then |
107 |
myconf="--with-cpu=3dnowext" |
108 |
elif use 3dnow; then |
109 |
myconf="--with-cpu=3dnow" |
110 |
elif use sse; then |
111 |
myconf="--with-cpu=sse" |
112 |
elif use mmx; then |
113 |
myconf="--with-cpu=mmx" |
114 |
fi |
115 |
|
116 |
elog "Compiling with ${audiodev} audio output." |
117 |
elog "If that is not what you want, then select exactly ONE" |
118 |
elog "of the following USE flags:" |
119 |
elog "alsa oss sdl esd nas jack portaudio" |
120 |
elog "and recompile ${PN}." |
121 |
epause 5 |
122 |
|
123 |
econf --with-optimization=0 \ |
124 |
--with-audio=${audiodev} \ |
125 |
${myconf} || die "econf failed." |
126 |
|
127 |
emake || die "emake failed." |
128 |
} |
129 |
|
130 |
src_install() { |
131 |
emake DESTDIR="${D}" install || die "emake install failed." |
132 |
dodoc AUTHORS ChangeLog NEWS README |
133 |
} |
134 |
|
135 |
|
136 |
|
137 |
-- |
138 |
gentoo-commits@g.o mailing list |