1 |
chainsaw 09/08/31 15:52:02 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: alsa-tools-1.0.21.ebuild |
5 |
Log: |
6 |
Version bump, removes several deprecated functions. Besides that, mostly bug fixes and new drivers. |
7 |
(Portage version: 2.1.6.13/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.181 media-sound/alsa-tools/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/alsa-tools/ChangeLog?rev=1.181&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/alsa-tools/ChangeLog?rev=1.181&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/alsa-tools/ChangeLog?r1=1.180&r2=1.181 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/media-sound/alsa-tools/ChangeLog,v |
19 |
retrieving revision 1.180 |
20 |
retrieving revision 1.181 |
21 |
diff -u -r1.180 -r1.181 |
22 |
--- ChangeLog 14 Aug 2009 01:07:16 -0000 1.180 |
23 |
+++ ChangeLog 31 Aug 2009 15:52:02 -0000 1.181 |
24 |
@@ -1,6 +1,12 @@ |
25 |
# ChangeLog for media-sound/alsa-tools |
26 |
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-tools/ChangeLog,v 1.180 2009/08/14 01:07:16 fauli Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-tools/ChangeLog,v 1.181 2009/08/31 15:52:02 chainsaw Exp $ |
29 |
+ |
30 |
+*alsa-tools-1.0.21 (31 Aug 2009) |
31 |
+ |
32 |
+ 31 Aug 2009; <chainsaw@g.o> +alsa-tools-1.0.21.ebuild: |
33 |
+ Version bump, removes several deprecated functions. Besides that, mostly |
34 |
+ bug fixes and new drivers. |
35 |
|
36 |
14 Aug 2009; Christian Faulhammer <fauli@g.o> |
37 |
alsa-tools-1.0.20-r1.ebuild: |
38 |
|
39 |
|
40 |
|
41 |
1.1 media-sound/alsa-tools/alsa-tools-1.0.21.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/alsa-tools/alsa-tools-1.0.21.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/alsa-tools/alsa-tools-1.0.21.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: alsa-tools-1.0.21.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2009 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-tools/alsa-tools-1.0.21.ebuild,v 1.1 2009/08/31 15:52:02 chainsaw Exp $ |
51 |
|
52 |
inherit eutils flag-o-matic autotools |
53 |
|
54 |
MY_P="${P/_rc/rc}" |
55 |
|
56 |
DESCRIPTION="Advanced Linux Sound Architecture tools" |
57 |
HOMEPAGE="http://www.alsa-project.org" |
58 |
SRC_URI="mirror://alsaproject/tools/${MY_P}.tar.bz2" |
59 |
|
60 |
LICENSE="GPL-2" |
61 |
SLOT="0.9" |
62 |
KEYWORDS="~amd64 ~mips ~ppc ~ppc64 ~sparc ~x86" |
63 |
|
64 |
ECHOAUDIO_CARDS="alsa_cards_darla20 alsa_cards_gina20 |
65 |
alsa_cards_layla20 alsa_cards_darla24 alsa_cards_gina24 |
66 |
alsa_cards_layla24 alsa_cards_mona alsa_cards_mia alsa_cards_indigo |
67 |
alsa_cards_indigoio alsa_cards_echo3g" |
68 |
|
69 |
IUSE="fltk gtk alsa_cards_hdsp alsa_cards_hdspm alsa_cards_mixart |
70 |
alsa_cards_vx222 alsa_cards_usb-usx2y alsa_cards_sb16 alsa_cards_sbawe |
71 |
alsa_cards_emu10k1 alsa_cards_emu10k1x alsa_cards_ice1712 |
72 |
alsa_cards_rme32 alsa_cards_rme96 alsa_cards_sscape alsa_cards_pcxhr |
73 |
${ECHOAUDIO_CARDS}" |
74 |
|
75 |
RDEPEND=">=media-libs/alsa-lib-1.0.20-r1 |
76 |
fltk? ( =x11-libs/fltk-1.1* ) |
77 |
gtk? ( =x11-libs/gtk+-2* )" |
78 |
DEPEND="${RDEPEND}" |
79 |
|
80 |
S="${WORKDIR}/${MY_P}" |
81 |
|
82 |
pkg_setup() { |
83 |
|
84 |
ALSA_TOOLS="ac3dec seq/sbiload us428control" |
85 |
|
86 |
if use gtk; then |
87 |
use alsa_cards_ice1712 && \ |
88 |
ALSA_TOOLS="${ALSA_TOOLS} envy24control" |
89 |
use alsa_cards_rme32 && use alsa_cards_rme96 && \ |
90 |
ALSA_TOOLS="${ALSA_TOOLS} rmedigicontrol" |
91 |
fi |
92 |
|
93 |
if use alsa_cards_hdsp || use alsa_cards_hdspm; then |
94 |
ALSA_TOOLS="${ALSA_TOOLS} hdsploader" |
95 |
use fltk && ALSA_TOOLS="${ALSA_TOOLS} hdspconf hdspmixer" |
96 |
fi |
97 |
|
98 |
use alsa_cards_mixart && ALSA_TOOLS="${ALSA_TOOLS} mixartloader" |
99 |
use alsa_cards_vx222 && ALSA_TOOLS="${ALSA_TOOLS} vxloader" |
100 |
use alsa_cards_usb-usx2y && ALSA_TOOLS="${ALSA_TOOLS} usx2yloader" |
101 |
use alsa_cards_pcxhr && ALSA_TOOLS="${ALSA_TOOLS} pcxhr" |
102 |
use alsa_cards_sscape && ALSA_TOOLS="${ALSA_TOOLS} sscape_ctl" |
103 |
|
104 |
{ use alsa_cards_sb16 || use alsa_cards_sbawe; } && \ |
105 |
ALSA_TOOLS="${ALSA_TOOLS} sb16_csp" |
106 |
|
107 |
if use alsa_cards_emu10k1 || use alsa_cards_emu10k1x; then |
108 |
ALSA_TOOLS="${ALSA_TOOLS} as10k1 ld10k1" |
109 |
fi |
110 |
|
111 |
if use gtk; then |
112 |
for card in ${ECHOAUDIO_CARDS}; do |
113 |
if use ${card}; then |
114 |
ALSA_TOOLS="${ALSA_TOOLS} echomixer" |
115 |
fi |
116 |
done |
117 |
fi |
118 |
} |
119 |
|
120 |
src_unpack() { |
121 |
unpack ${A} |
122 |
cd "${S}" |
123 |
|
124 |
# This block only deals with the tools that still use GTK and the |
125 |
# AM_PATH_GTK macro. |
126 |
for dir in echomixer envy24control rmedigicontrol; do |
127 |
has "${dir}" "${ALSA_TOOLS}" || continue |
128 |
pushd "${dir}" &> /dev/null |
129 |
sed -i -e '/AM_PATH_GTK/d' configure.in |
130 |
eautoreconf |
131 |
popd &> /dev/null |
132 |
done |
133 |
|
134 |
# This block deals with the tools that are being patched |
135 |
for dir in hdspconf; do |
136 |
has "${dir}" "${ALSA_TOOLS}" || continue |
137 |
pushd "${dir}" &> /dev/null |
138 |
eautoreconf |
139 |
popd &> /dev/null |
140 |
done |
141 |
|
142 |
elibtoolize |
143 |
} |
144 |
|
145 |
src_compile() { |
146 |
if use fltk; then |
147 |
# hdspmixer requires fltk |
148 |
append-ldflags "-L/usr/$(get_libdir)/fltk-1.1" |
149 |
append-flags "-I/usr/include/fltk-1.1" |
150 |
fi |
151 |
|
152 |
local f |
153 |
for f in ${ALSA_TOOLS} |
154 |
do |
155 |
cd "${S}/${f}" |
156 |
econf --with-gtk2 || die "econf ${f} failed" |
157 |
emake || die "emake ${f} failed" |
158 |
done |
159 |
} |
160 |
|
161 |
src_install() { |
162 |
local f |
163 |
for f in ${ALSA_TOOLS} |
164 |
do |
165 |
# Install the main stuff |
166 |
cd "${S}/${f}" |
167 |
emake DESTDIR="${D}" install || die |
168 |
|
169 |
# Install the text documentation |
170 |
local doc |
171 |
for doc in README TODO ChangeLog AUTHORS; do |
172 |
if [[ -f "${doc}" ]]; then |
173 |
mv "${doc}" "${doc}.$(basename ${f})" || die |
174 |
dodoc "${doc}.$(basename ${f})" || die |
175 |
fi |
176 |
done |
177 |
done |
178 |
} |