1 |
chainsaw 08/03/12 16:20:55 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: alsa-tools-1.0.16.ebuild |
5 |
Log: |
6 |
Version bump, for bug #210249. Patch from Santiago M. Mola <coldwind@g.o> closes bug #193885. Missing echo3g card flag readded, closes bug #168209. |
7 |
(Portage version: 2.1.4.4) |
8 |
|
9 |
Revision Changes Path |
10 |
1.155 media-sound/alsa-tools/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/alsa-tools/ChangeLog?rev=1.155&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/alsa-tools/ChangeLog?rev=1.155&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/alsa-tools/ChangeLog?r1=1.154&r2=1.155 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/media-sound/alsa-tools/ChangeLog,v |
19 |
retrieving revision 1.154 |
20 |
retrieving revision 1.155 |
21 |
diff -u -r1.154 -r1.155 |
22 |
--- ChangeLog 31 Jan 2008 16:51:04 -0000 1.154 |
23 |
+++ ChangeLog 12 Mar 2008 16:20:54 -0000 1.155 |
24 |
@@ -1,6 +1,14 @@ |
25 |
# ChangeLog for media-sound/alsa-tools |
26 |
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-tools/ChangeLog,v 1.154 2008/01/31 16:51:04 chainsaw Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-tools/ChangeLog,v 1.155 2008/03/12 16:20:54 chainsaw Exp $ |
29 |
+ |
30 |
+*alsa-tools-1.0.16 (12 Mar 2008) |
31 |
+ |
32 |
+ 12 Mar 2008; Tony Vroon <chainsaw@g.o> |
33 |
+ +files/alsa-tools-1.0.14-asneeded.patch, +alsa-tools-1.0.16.ebuild: |
34 |
+ Version bump, for bug #210249. Patch from Santiago M. Mola |
35 |
+ <coldwind@g.o> closes bug #193885. Missing echo3g card flag readded, |
36 |
+ closes bug #168209. |
37 |
|
38 |
*alsa-tools-1.0.16_rc1 (31 Jan 2008) |
39 |
|
40 |
|
41 |
|
42 |
|
43 |
1.1 media-sound/alsa-tools/alsa-tools-1.0.16.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/alsa-tools/alsa-tools-1.0.16.ebuild?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/alsa-tools/alsa-tools-1.0.16.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: alsa-tools-1.0.16.ebuild |
49 |
=================================================================== |
50 |
# Copyright 1999-2008 Gentoo Foundation |
51 |
# Distributed under the terms of the GNU General Public License v2 |
52 |
# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-tools/alsa-tools-1.0.16.ebuild,v 1.1 2008/03/12 16:20:54 chainsaw Exp $ |
53 |
|
54 |
WANT_AUTOMAKE="1.9" |
55 |
WANT_AUTOCONF="2.5" |
56 |
|
57 |
inherit eutils flag-o-matic autotools |
58 |
|
59 |
MY_P="${P/_rc/rc}" |
60 |
|
61 |
DESCRIPTION="Advanced Linux Sound Architecture tools" |
62 |
HOMEPAGE="http://www.alsa-project.org" |
63 |
SRC_URI="mirror://alsaproject/tools/${MY_P}.tar.bz2" |
64 |
|
65 |
LICENSE="GPL-2" |
66 |
SLOT="0.9" |
67 |
KEYWORDS="~amd64 ~mips ~ppc ~ppc64 ~sparc ~x86" |
68 |
|
69 |
ECHOAUDIO_CARDS="alsa_cards_darla20 alsa_cards_gina20 |
70 |
alsa_cards_layla20 alsa_cards_darla24 alsa_cards_gina24 |
71 |
alsa_cards_layla24 alsa_cards_mona alsa_cards_mia alsa_cards_indigo |
72 |
alsa_cards_indigoio alsa_cards_echo3g" |
73 |
|
74 |
IUSE="fltk gtk midi alsa_cards_hdsp alsa_cards_hdspm alsa_cards_mixart |
75 |
alsa_cards_vx222 alsa_cards_usb-usx2y alsa_cards_sb16 alsa_cards_sbawe |
76 |
alsa_cards_emu10k1 alsa_cards_emu10k1x alsa_cards_ice1712 |
77 |
alsa_cards_rme32 alsa_cards_rme96 alsa_cards_sscape alsa_cards_pcxhr |
78 |
${ECHOAUDIO_CARDS}" |
79 |
|
80 |
RDEPEND=">=media-libs/alsa-lib-${PV} |
81 |
fltk? ( =x11-libs/fltk-1.1* ) |
82 |
gtk? ( =x11-libs/gtk+-2* )" |
83 |
DEPEND="${RDEPEND}" |
84 |
|
85 |
S="${WORKDIR}/${MY_P}" |
86 |
|
87 |
pkg_setup() { |
88 |
if use midi && ! built_with_use --missing true media-libs/alsa-lib midi; then |
89 |
eerror "" |
90 |
eerror "To be able to build ${CATEGORY}/${PN} with midi support you" |
91 |
eerror "need to have built media-libs/alsa-lib with midi USE flag." |
92 |
die "Missing midi USE flag on media-libs/alsa-lib" |
93 |
fi |
94 |
|
95 |
ALSA_TOOLS="ac3dec" |
96 |
|
97 |
use midi && ALSA_TOOLS="${ALSA_TOOLS} seq/sbiload us428control" |
98 |
|
99 |
if use gtk; then |
100 |
use midi && use alsa_cards_ice1712 && \ |
101 |
ALSA_TOOLS="${ALSA_TOOLS} envy24control" |
102 |
use alsa_cards_rme32 && use alsa_cards_rme96 && \ |
103 |
ALSA_TOOLS="${ALSA_TOOLS} rmedigicontrol" |
104 |
fi |
105 |
|
106 |
if use alsa_cards_hdsp || use alsa_cards_hdspm; then |
107 |
ALSA_TOOLS="${ALSA_TOOLS} hdsploader" |
108 |
use fltk && ALSA_TOOLS="${ALSA_TOOLS} hdspconf hdspmixer" |
109 |
fi |
110 |
|
111 |
use alsa_cards_mixart && ALSA_TOOLS="${ALSA_TOOLS} mixartloader" |
112 |
use alsa_cards_vx222 && ALSA_TOOLS="${ALSA_TOOLS} vxloader" |
113 |
use alsa_cards_usb-usx2y && ALSA_TOOLS="${ALSA_TOOLS} usx2yloader" |
114 |
use alsa_cards_pcxhr && ALSA_TOOLS="${ALSA_TOOLS} pcxhr" |
115 |
use alsa_cards_sscape && ALSA_TOOLS="${ALSA_TOOLS} sscape_ctl" |
116 |
|
117 |
{ use alsa_cards_sb16 || use alsa_cards_sbawe; } && \ |
118 |
ALSA_TOOLS="${ALSA_TOOLS} sb16_csp" |
119 |
|
120 |
if use alsa_cards_emu10k1 || use alsa_cards_emu10k1x; then |
121 |
ALSA_TOOLS="${ALSA_TOOLS} as10k1 ld10k1" |
122 |
fi |
123 |
|
124 |
if use gtk; then |
125 |
for card in ${ECHOAUDIO_CARDS}; do |
126 |
if use ${card}; then |
127 |
ALSA_TOOLS="${ALSA_TOOLS} echomixer" |
128 |
fi |
129 |
done |
130 |
fi |
131 |
} |
132 |
|
133 |
src_unpack() { |
134 |
unpack ${A} |
135 |
cd "${S}" |
136 |
|
137 |
epatch "${FILESDIR}/${PN}-1.0.11-asneeded.patch" |
138 |
epatch "${FILESDIR}/${PN}-1.0.14-asneeded.patch" |
139 |
|
140 |
for dir in echomixer envy24control rmedigicontrol; do |
141 |
pushd ${dir} &> /dev/null |
142 |
sed -i -e '/AM_PATH_GTK/d' configure.in |
143 |
eautomake |
144 |
popd &> /dev/null |
145 |
done |
146 |
|
147 |
elibtoolize |
148 |
} |
149 |
|
150 |
src_compile() { |
151 |
if use fltk; then |
152 |
# hdspmixer requires fltk |
153 |
append-ldflags "-L/usr/$(get_libdir)/fltk-1.1" |
154 |
append-flags "-I/usr/include/fltk-1.1" |
155 |
fi |
156 |
|
157 |
# hdspmixer is missing depconf - copy from the hdsploader directory |
158 |
cp "${S}/hdsploader/depcomp" "${S}/hdspmixer/" |
159 |
|
160 |
local f |
161 |
for f in ${ALSA_TOOLS} |
162 |
do |
163 |
cd "${S}/${f}" |
164 |
econf --with-gtk2 || die "econf ${f} failed" |
165 |
emake || die "emake ${f} failed" |
166 |
done |
167 |
} |
168 |
|
169 |
src_install() { |
170 |
local f |
171 |
for f in ${ALSA_TOOLS} |
172 |
do |
173 |
# Install the main stuff |
174 |
cd "${S}/${f}" |
175 |
emake DESTDIR="${D}" install || die |
176 |
|
177 |
# Install the text documentation |
178 |
local doc |
179 |
for doc in README TODO ChangeLog AUTHORS |
180 |
do |
181 |
if [ -f "${doc}" ] |
182 |
then |
183 |
mv "${doc}" "${doc}.`basename ${f}`" |
184 |
dodoc "${doc}.`basename ${f}`" |
185 |
fi |
186 |
done |
187 |
done |
188 |
} |
189 |
|
190 |
|
191 |
|
192 |
-- |
193 |
gentoo-commits@l.g.o mailing list |