1 |
beandog 10/01/08 02:48:27 |
2 |
|
3 |
Modified: alsa-tools-1.0.22.ebuild ChangeLog |
4 |
Added: alsa-tools-1.0.21-r1.ebuild |
5 |
alsa-tools-1.0.20-r2.ebuild |
6 |
Log: |
7 |
envy24control bugfix for wrong directory config, bug 273129 |
8 |
(Portage version: 2.2_rc61/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.2 media-sound/alsa-tools/alsa-tools-1.0.22.ebuild |
12 |
|
13 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/alsa-tools/alsa-tools-1.0.22.ebuild?rev=1.2&view=markup |
14 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/alsa-tools/alsa-tools-1.0.22.ebuild?rev=1.2&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/alsa-tools/alsa-tools-1.0.22.ebuild?r1=1.1&r2=1.2 |
16 |
|
17 |
Index: alsa-tools-1.0.22.ebuild |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/media-sound/alsa-tools/alsa-tools-1.0.22.ebuild,v |
20 |
retrieving revision 1.1 |
21 |
retrieving revision 1.2 |
22 |
diff -u -r1.1 -r1.2 |
23 |
--- alsa-tools-1.0.22.ebuild 7 Jan 2010 17:19:03 -0000 1.1 |
24 |
+++ alsa-tools-1.0.22.ebuild 8 Jan 2010 02:48:26 -0000 1.2 |
25 |
@@ -1,6 +1,6 @@ |
26 |
# Copyright 1999-2010 Gentoo Foundation |
27 |
# Distributed under the terms of the GNU General Public License v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-tools/alsa-tools-1.0.22.ebuild,v 1.1 2010/01/07 17:19:03 beandog Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-tools/alsa-tools-1.0.22.ebuild,v 1.2 2010/01/08 02:48:26 beandog Exp $ |
30 |
|
31 |
inherit eutils flag-o-matic autotools |
32 |
|
33 |
@@ -74,6 +74,9 @@ |
34 |
unpack ${A} |
35 |
cd "${S}" |
36 |
|
37 |
+ # bug 273129 |
38 |
+ epatch "${FILESDIR}"/envy24control-config-dir.patch |
39 |
+ |
40 |
# This block only deals with the tools that still use GTK and the |
41 |
# AM_PATH_GTK macro. |
42 |
for dir in echomixer envy24control rmedigicontrol; do |
43 |
|
44 |
|
45 |
|
46 |
1.185 media-sound/alsa-tools/ChangeLog |
47 |
|
48 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/alsa-tools/ChangeLog?rev=1.185&view=markup |
49 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/alsa-tools/ChangeLog?rev=1.185&content-type=text/plain |
50 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/alsa-tools/ChangeLog?r1=1.184&r2=1.185 |
51 |
|
52 |
Index: ChangeLog |
53 |
=================================================================== |
54 |
RCS file: /var/cvsroot/gentoo-x86/media-sound/alsa-tools/ChangeLog,v |
55 |
retrieving revision 1.184 |
56 |
retrieving revision 1.185 |
57 |
diff -u -r1.184 -r1.185 |
58 |
--- ChangeLog 7 Jan 2010 17:19:03 -0000 1.184 |
59 |
+++ ChangeLog 8 Jan 2010 02:48:26 -0000 1.185 |
60 |
@@ -1,6 +1,14 @@ |
61 |
# ChangeLog for media-sound/alsa-tools |
62 |
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
63 |
-# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-tools/ChangeLog,v 1.184 2010/01/07 17:19:03 beandog Exp $ |
64 |
+# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-tools/ChangeLog,v 1.185 2010/01/08 02:48:26 beandog Exp $ |
65 |
+ |
66 |
+*alsa-tools-1.0.21-r1 (08 Jan 2010) |
67 |
+*alsa-tools-1.0.20-r2 (08 Jan 2010) |
68 |
+ |
69 |
+ 08 Jan 2010; Steve Dibb <beandog@g.o> |
70 |
+ +files/envy24control-config-dir.patch, +alsa-tools-1.0.20-r2.ebuild, |
71 |
+ +alsa-tools-1.0.21-r1.ebuild, alsa-tools-1.0.22.ebuild: |
72 |
+ envy24control bugfix for wrong directory config, bug 273129 |
73 |
|
74 |
*alsa-tools-1.0.22 (07 Jan 2010) |
75 |
|
76 |
|
77 |
|
78 |
|
79 |
1.1 media-sound/alsa-tools/alsa-tools-1.0.21-r1.ebuild |
80 |
|
81 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/alsa-tools/alsa-tools-1.0.21-r1.ebuild?rev=1.1&view=markup |
82 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/alsa-tools/alsa-tools-1.0.21-r1.ebuild?rev=1.1&content-type=text/plain |
83 |
|
84 |
Index: alsa-tools-1.0.21-r1.ebuild |
85 |
=================================================================== |
86 |
# Copyright 1999-2010 Gentoo Foundation |
87 |
# Distributed under the terms of the GNU General Public License v2 |
88 |
# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-tools/alsa-tools-1.0.21-r1.ebuild,v 1.1 2010/01/08 02:48:26 beandog Exp $ |
89 |
|
90 |
inherit eutils flag-o-matic autotools |
91 |
|
92 |
MY_P="${P/_rc/rc}" |
93 |
|
94 |
DESCRIPTION="Advanced Linux Sound Architecture tools" |
95 |
HOMEPAGE="http://www.alsa-project.org" |
96 |
SRC_URI="mirror://alsaproject/tools/${MY_P}.tar.bz2" |
97 |
|
98 |
LICENSE="GPL-2" |
99 |
SLOT="0.9" |
100 |
KEYWORDS="~amd64 ~mips ~ppc ~ppc64 ~sparc ~x86" |
101 |
|
102 |
ECHOAUDIO_CARDS="alsa_cards_darla20 alsa_cards_gina20 |
103 |
alsa_cards_layla20 alsa_cards_darla24 alsa_cards_gina24 |
104 |
alsa_cards_layla24 alsa_cards_mona alsa_cards_mia alsa_cards_indigo |
105 |
alsa_cards_indigoio alsa_cards_echo3g" |
106 |
|
107 |
IUSE="fltk gtk alsa_cards_hdsp alsa_cards_hdspm alsa_cards_mixart |
108 |
alsa_cards_vx222 alsa_cards_usb-usx2y alsa_cards_sb16 alsa_cards_sbawe |
109 |
alsa_cards_emu10k1 alsa_cards_emu10k1x alsa_cards_ice1712 |
110 |
alsa_cards_rme32 alsa_cards_rme96 alsa_cards_sscape alsa_cards_pcxhr |
111 |
${ECHOAUDIO_CARDS}" |
112 |
|
113 |
RDEPEND=">=media-libs/alsa-lib-1.0.20-r1 |
114 |
fltk? ( =x11-libs/fltk-1.1* ) |
115 |
gtk? ( =x11-libs/gtk+-2* )" |
116 |
DEPEND="${RDEPEND}" |
117 |
|
118 |
S="${WORKDIR}/${MY_P}" |
119 |
|
120 |
pkg_setup() { |
121 |
|
122 |
ALSA_TOOLS="ac3dec seq/sbiload us428control" |
123 |
|
124 |
if use gtk; then |
125 |
use alsa_cards_ice1712 && \ |
126 |
ALSA_TOOLS="${ALSA_TOOLS} envy24control" |
127 |
use alsa_cards_rme32 && use alsa_cards_rme96 && \ |
128 |
ALSA_TOOLS="${ALSA_TOOLS} rmedigicontrol" |
129 |
fi |
130 |
|
131 |
if use alsa_cards_hdsp || use alsa_cards_hdspm; then |
132 |
ALSA_TOOLS="${ALSA_TOOLS} hdsploader" |
133 |
use fltk && ALSA_TOOLS="${ALSA_TOOLS} hdspconf hdspmixer" |
134 |
fi |
135 |
|
136 |
use alsa_cards_mixart && ALSA_TOOLS="${ALSA_TOOLS} mixartloader" |
137 |
use alsa_cards_vx222 && ALSA_TOOLS="${ALSA_TOOLS} vxloader" |
138 |
use alsa_cards_usb-usx2y && ALSA_TOOLS="${ALSA_TOOLS} usx2yloader" |
139 |
use alsa_cards_pcxhr && ALSA_TOOLS="${ALSA_TOOLS} pcxhr" |
140 |
use alsa_cards_sscape && ALSA_TOOLS="${ALSA_TOOLS} sscape_ctl" |
141 |
|
142 |
{ use alsa_cards_sb16 || use alsa_cards_sbawe; } && \ |
143 |
ALSA_TOOLS="${ALSA_TOOLS} sb16_csp" |
144 |
|
145 |
if use alsa_cards_emu10k1 || use alsa_cards_emu10k1x; then |
146 |
ALSA_TOOLS="${ALSA_TOOLS} as10k1 ld10k1" |
147 |
fi |
148 |
|
149 |
if use gtk; then |
150 |
for card in ${ECHOAUDIO_CARDS}; do |
151 |
if use ${card}; then |
152 |
ALSA_TOOLS="${ALSA_TOOLS} echomixer" |
153 |
fi |
154 |
done |
155 |
fi |
156 |
} |
157 |
|
158 |
src_unpack() { |
159 |
unpack ${A} |
160 |
cd "${S}" |
161 |
|
162 |
epatch "${FILESDIR}"/envy24control-config-dir.patch |
163 |
|
164 |
# This block only deals with the tools that still use GTK and the |
165 |
# AM_PATH_GTK macro. |
166 |
for dir in echomixer envy24control rmedigicontrol; do |
167 |
has "${dir}" "${ALSA_TOOLS}" || continue |
168 |
pushd "${dir}" &> /dev/null |
169 |
sed -i -e '/AM_PATH_GTK/d' configure.in |
170 |
eautoreconf |
171 |
popd &> /dev/null |
172 |
done |
173 |
|
174 |
# This block deals with the tools that are being patched |
175 |
for dir in hdspconf; do |
176 |
has "${dir}" "${ALSA_TOOLS}" || continue |
177 |
pushd "${dir}" &> /dev/null |
178 |
eautoreconf |
179 |
popd &> /dev/null |
180 |
done |
181 |
|
182 |
elibtoolize |
183 |
} |
184 |
|
185 |
src_compile() { |
186 |
if use fltk; then |
187 |
# hdspmixer requires fltk |
188 |
append-ldflags "-L/usr/$(get_libdir)/fltk-1.1" |
189 |
append-flags "-I/usr/include/fltk-1.1" |
190 |
fi |
191 |
|
192 |
local f |
193 |
for f in ${ALSA_TOOLS} |
194 |
do |
195 |
cd "${S}/${f}" |
196 |
econf --with-gtk2 || die "econf ${f} failed" |
197 |
emake || die "emake ${f} failed" |
198 |
done |
199 |
} |
200 |
|
201 |
src_install() { |
202 |
local f |
203 |
for f in ${ALSA_TOOLS} |
204 |
do |
205 |
# Install the main stuff |
206 |
cd "${S}/${f}" |
207 |
emake DESTDIR="${D}" install || die |
208 |
|
209 |
# Install the text documentation |
210 |
local doc |
211 |
for doc in README TODO ChangeLog AUTHORS; do |
212 |
if [[ -f "${doc}" ]]; then |
213 |
mv "${doc}" "${doc}.$(basename ${f})" || die |
214 |
dodoc "${doc}.$(basename ${f})" || die |
215 |
fi |
216 |
done |
217 |
done |
218 |
} |
219 |
|
220 |
|
221 |
|
222 |
1.1 media-sound/alsa-tools/alsa-tools-1.0.20-r2.ebuild |
223 |
|
224 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/alsa-tools/alsa-tools-1.0.20-r2.ebuild?rev=1.1&view=markup |
225 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/alsa-tools/alsa-tools-1.0.20-r2.ebuild?rev=1.1&content-type=text/plain |
226 |
|
227 |
Index: alsa-tools-1.0.20-r2.ebuild |
228 |
=================================================================== |
229 |
# Copyright 1999-2010 Gentoo Foundation |
230 |
# Distributed under the terms of the GNU General Public License v2 |
231 |
# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-tools/alsa-tools-1.0.20-r2.ebuild,v 1.1 2010/01/08 02:48:26 beandog Exp $ |
232 |
|
233 |
inherit eutils flag-o-matic autotools |
234 |
|
235 |
MY_P="${P/_rc/rc}" |
236 |
|
237 |
DESCRIPTION="Advanced Linux Sound Architecture tools" |
238 |
HOMEPAGE="http://www.alsa-project.org" |
239 |
SRC_URI="mirror://alsaproject/tools/${MY_P}.tar.bz2" |
240 |
|
241 |
LICENSE="GPL-2" |
242 |
SLOT="0.9" |
243 |
KEYWORDS="~amd64 ~mips ~ppc ~ppc64 ~sparc ~x86" |
244 |
|
245 |
ECHOAUDIO_CARDS="alsa_cards_darla20 alsa_cards_gina20 |
246 |
alsa_cards_layla20 alsa_cards_darla24 alsa_cards_gina24 |
247 |
alsa_cards_layla24 alsa_cards_mona alsa_cards_mia alsa_cards_indigo |
248 |
alsa_cards_indigoio alsa_cards_echo3g" |
249 |
|
250 |
IUSE="fltk gtk alsa_cards_hdsp alsa_cards_hdspm alsa_cards_mixart |
251 |
alsa_cards_vx222 alsa_cards_usb-usx2y alsa_cards_sb16 alsa_cards_sbawe |
252 |
alsa_cards_emu10k1 alsa_cards_emu10k1x alsa_cards_ice1712 |
253 |
alsa_cards_rme32 alsa_cards_rme96 alsa_cards_sscape alsa_cards_pcxhr |
254 |
${ECHOAUDIO_CARDS}" |
255 |
|
256 |
RDEPEND=">=media-libs/alsa-lib-1.0.20-r1 |
257 |
fltk? ( =x11-libs/fltk-1.1* ) |
258 |
gtk? ( =x11-libs/gtk+-2* )" |
259 |
DEPEND="${RDEPEND}" |
260 |
|
261 |
S="${WORKDIR}/${MY_P}" |
262 |
|
263 |
pkg_setup() { |
264 |
|
265 |
ALSA_TOOLS="ac3dec seq/sbiload us428control" |
266 |
|
267 |
if use gtk; then |
268 |
use alsa_cards_ice1712 && \ |
269 |
ALSA_TOOLS="${ALSA_TOOLS} envy24control" |
270 |
use alsa_cards_rme32 && use alsa_cards_rme96 && \ |
271 |
ALSA_TOOLS="${ALSA_TOOLS} rmedigicontrol" |
272 |
fi |
273 |
|
274 |
if use alsa_cards_hdsp || use alsa_cards_hdspm; then |
275 |
ALSA_TOOLS="${ALSA_TOOLS} hdsploader" |
276 |
use fltk && ALSA_TOOLS="${ALSA_TOOLS} hdspconf hdspmixer" |
277 |
fi |
278 |
|
279 |
use alsa_cards_mixart && ALSA_TOOLS="${ALSA_TOOLS} mixartloader" |
280 |
use alsa_cards_vx222 && ALSA_TOOLS="${ALSA_TOOLS} vxloader" |
281 |
use alsa_cards_usb-usx2y && ALSA_TOOLS="${ALSA_TOOLS} usx2yloader" |
282 |
use alsa_cards_pcxhr && ALSA_TOOLS="${ALSA_TOOLS} pcxhr" |
283 |
use alsa_cards_sscape && ALSA_TOOLS="${ALSA_TOOLS} sscape_ctl" |
284 |
|
285 |
{ use alsa_cards_sb16 || use alsa_cards_sbawe; } && \ |
286 |
ALSA_TOOLS="${ALSA_TOOLS} sb16_csp" |
287 |
|
288 |
if use alsa_cards_emu10k1 || use alsa_cards_emu10k1x; then |
289 |
ALSA_TOOLS="${ALSA_TOOLS} as10k1 ld10k1" |
290 |
fi |
291 |
|
292 |
if use gtk; then |
293 |
for card in ${ECHOAUDIO_CARDS}; do |
294 |
if use ${card}; then |
295 |
ALSA_TOOLS="${ALSA_TOOLS} echomixer" |
296 |
fi |
297 |
done |
298 |
fi |
299 |
} |
300 |
|
301 |
src_unpack() { |
302 |
unpack ${A} |
303 |
cd "${S}" |
304 |
|
305 |
epatch "${FILESDIR}"/${P}+glibc-2.10.patch |
306 |
epatch "${FILESDIR}"/${P}-hdspconf-asneeded.patch |
307 |
epatch "${FILESDIR}"/envy24control-config-dir.patch |
308 |
|
309 |
# This block only deals with the tools that still use GTK and the |
310 |
# AM_PATH_GTK macro. |
311 |
for dir in echomixer envy24control rmedigicontrol; do |
312 |
has "${dir}" "${ALSA_TOOLS}" || continue |
313 |
pushd "${dir}" &> /dev/null |
314 |
sed -i -e '/AM_PATH_GTK/d' configure.in |
315 |
eautoreconf |
316 |
popd &> /dev/null |
317 |
done |
318 |
|
319 |
# This block deals with the tools that are being patched |
320 |
for dir in hdspconf; do |
321 |
has "${dir}" "${ALSA_TOOLS}" || continue |
322 |
pushd "${dir}" &> /dev/null |
323 |
eautoreconf |
324 |
popd &> /dev/null |
325 |
done |
326 |
|
327 |
elibtoolize |
328 |
} |
329 |
|
330 |
src_compile() { |
331 |
if use fltk; then |
332 |
# hdspmixer requires fltk |
333 |
append-ldflags "-L/usr/$(get_libdir)/fltk-1.1" |
334 |
append-flags "-I/usr/include/fltk-1.1" |
335 |
fi |
336 |
|
337 |
local f |
338 |
for f in ${ALSA_TOOLS} |
339 |
do |
340 |
cd "${S}/${f}" |
341 |
econf --with-gtk2 || die "econf ${f} failed" |
342 |
emake || die "emake ${f} failed" |
343 |
done |
344 |
} |
345 |
|
346 |
src_install() { |
347 |
local f |
348 |
for f in ${ALSA_TOOLS} |
349 |
do |
350 |
# Install the main stuff |
351 |
cd "${S}/${f}" |
352 |
emake DESTDIR="${D}" install || die |
353 |
|
354 |
# Install the text documentation |
355 |
local doc |
356 |
for doc in README TODO ChangeLog AUTHORS; do |
357 |
if [[ -f "${doc}" ]]; then |
358 |
mv "${doc}" "${doc}.$(basename ${f})" || die |
359 |
dodoc "${doc}.$(basename ${f})" || die |
360 |
fi |
361 |
done |
362 |
done |
363 |
} |