Gentoo Archives: gentoo-commits

From: "Tony Vroon (chainsaw)" <chainsaw@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-sound/alsa-firmware: alsa-firmware-1.0.19.ebuild ChangeLog
Date: Mon, 19 Jan 2009 16:31:16
Message-Id: E1LOx1u-0006C2-0t@stork.gentoo.org
1 chainsaw 09/01/19 16:31:14
2
3 Modified: ChangeLog
4 Added: alsa-firmware-1.0.19.ebuild
5 Log:
6 Version bump. Contains new PCXHR firmware.
7 (Portage version: 2.1.6.7/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.86 media-sound/alsa-firmware/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/alsa-firmware/ChangeLog?rev=1.86&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/alsa-firmware/ChangeLog?rev=1.86&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/alsa-firmware/ChangeLog?r1=1.85&r2=1.86
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/media-sound/alsa-firmware/ChangeLog,v
19 retrieving revision 1.85
20 retrieving revision 1.86
21 diff -u -r1.85 -r1.86
22 --- ChangeLog 1 Sep 2008 18:00:05 -0000 1.85
23 +++ ChangeLog 19 Jan 2009 16:31:13 -0000 1.86
24 @@ -1,6 +1,11 @@
25 # ChangeLog for media-sound/alsa-firmware
26 -# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-firmware/ChangeLog,v 1.85 2008/09/01 18:00:05 betelgeuse Exp $
28 +# Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-firmware/ChangeLog,v 1.86 2009/01/19 16:31:13 chainsaw Exp $
30 +
31 +*alsa-firmware-1.0.19 (19 Jan 2009)
32 +
33 + 19 Jan 2009; <chainsaw@g.o> +alsa-firmware-1.0.19.ebuild:
34 + Version bump. Contains new PCXHR firmware.
35
36 01 Sep 2008; Petteri Räty <betelgeuse@g.o>
37 -alsa-firmware-1.0.14.ebuild:
38
39
40
41 1.1 media-sound/alsa-firmware/alsa-firmware-1.0.19.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/alsa-firmware/alsa-firmware-1.0.19.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/alsa-firmware/alsa-firmware-1.0.19.ebuild?rev=1.1&content-type=text/plain
45
46 Index: alsa-firmware-1.0.19.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-firmware/alsa-firmware-1.0.19.ebuild,v 1.1 2009/01/19 16:31:13 chainsaw Exp $
51
52 MY_P="${P/_rc/rc}"
53
54 DESCRIPTION="Advanced Linux Sound Architecture firmware"
55 HOMEPAGE="http://www.alsa-project.org/"
56 SRC_URI="mirror://alsaproject/firmware/${MY_P}.tar.bz2"
57
58 LICENSE="GPL-2"
59 SLOT="0"
60 KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
61
62 ECHOAUDIO_CARDS="alsa_cards_darla20 alsa_cards_gina20
63 alsa_cards_layla20 alsa_cards_darla24 alsa_cards_gina24
64 alsa_cards_layla24 alsa_cards_mona alsa_cards_mia alsa_cards_indigo
65 alsa_cards_indigoio alsa_cards_echo3g"
66
67 EMU_CARDS="alsa_cards_emu1212 alsa_cards_emu1616 alsa_cards_emu1820"
68
69 IUSE="alsa_cards_pcxhr alsa_cards_vx222 alsa_cards_usb-usx2y
70 alsa_cards_hdsp alsa_cards_hdspm alsa_cards_mixart alsa_cards_asihpi
71 alsa_cards_sb16 alsa_cards_korg1212 alsa_cards_maestro3 alsa_cards_emi26
72 alsa_cards_ymfpci alsa_cards_wavefront alsa_cards_msnd-pinnacle
73 alsa_cards_aica ${ECHOAUDIO_CARDS} ${EMU_CARDS}"
74
75 S="${WORKDIR}/${MY_P}"
76
77 DEPEND=""
78 RDEPEND="alsa_cards_usb-usx2y? ( sys-apps/fxload )
79 alsa_cards_hdsp? ( media-sound/alsa-tools )
80 alsa_cards_hdspm? ( media-sound/alsa-tools )
81 alsa_cards_mixart? ( || ( >=sys-fs/udev-096 media-sound/alsa-tools ) )
82 alsa_cards_vx222? ( || ( >=sys-fs/udev-096 media-sound/alsa-tools ) )
83 alsa_cards_pcxhr? ( || ( >=sys-fs/udev-096 >=media-sound/alsa-tools-1.0.14_rc1-r1 ) )"
84
85 src_compile() {
86 econf \
87 --with-hotplug-dir=/lib/firmware \
88 || die "configure failed"
89
90 emake || die "make failed"
91 }
92
93 src_install () {
94 emake DESTDIR="${D}" install || die "make install failed"
95
96 use alsa_cards_pcxhr || rm -rf "${D}/usr/share/alsa/firmware/pcxhrloader" "${D}/lib/firmware/pcxhr"
97 use alsa_cards_vx222 || rm -rf "${D}/usr/share/alsa/firmware/vxloader" "${D}/lib/firmware/vx"
98 use alsa_cards_usb-usx2y || rm -rf "${D}/usr/share/alsa/firmware/usx2yloader" "${D}/lib/firmware/vx"
99 use alsa_cards_mixart || rm -rf "${D}/usr/share/alsa/firmware/mixartloader" "${D}/lib/firmware/mixart"
100 use alsa_cards_hdsp || use alsa_cards_hdspm || rm -rf "${D}/usr/share/alsa/firmware/hdsploader"
101 use alsa_cards_asihpi || rm -rf "${D}/lib/firmware/asihpi"
102 use alsa_cards_sb16 || rm -rf "${D}/lib/firmware/sb16"
103 use alsa_cards_korg1212 || rm -rf "${D}/lib/firmware/korg"
104 use alsa_cards_maestro3 || rm -rf "${D}/lib/firmware/ess"
105 use alsa_cards_emi26 || rm -rf "${D}lib/firmware/emagic"
106 use alsa_cards_ymfpci || rm -rf "${D}lib/firmware/yamaha"
107 use alsa_cards_wavefront || rm -rf "${D}/lib/firmware/wavefront"
108 use alsa_cards_msnd-pinnacle || rm -rf "${D}/lib/firmware/turtlebeach"
109 use alsa_cards_aica || rm -rf "${D}/lib/firmware/aica_firmware.bin"
110
111 local ea="no"
112 for card in ${ECHOAUDIO_CARDS}; do
113 use ${card} && ea="yes" && break
114 done
115
116 local emu="no"
117 for card in ${EMU_CARDS}; do
118 use ${card} && emu="yes" && break
119 done
120
121 [[ ${ea} == "no" ]] && rm -rf "${D}/lib/firmware/ea"
122 [[ ${emu} == "no" ]] && rm -rf "${D}/lib/firmware/emu"
123
124 insinto /etc/udev/rules.d
125 use alsa_cards_usb-usx2y && doins "${FILESDIR}/52-usx2yaudio.rules"
126
127 dodoc README || die
128 }