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