Gentoo Archives: gentoo-commits

From: "Chi-Thanh Christopher Nguyen (chithanh)" <chithanh@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-kernel/linux-firmware: ChangeLog linux-firmware-20110818.ebuild
Date: Sat, 20 Aug 2011 14:40:09
Message-Id: 20110820143959.DC9BF2004C@flycatcher.gentoo.org
1 chithanh 11/08/20 14:39:59
2
3 Modified: ChangeLog
4 Added: linux-firmware-20110818.ebuild
5 Log:
6 New shapshot.
7
8 (Portage version: 2.2.0_alpha51/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.25 sys-kernel/linux-firmware/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-kernel/linux-firmware/ChangeLog?rev=1.25&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-kernel/linux-firmware/ChangeLog?rev=1.25&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-kernel/linux-firmware/ChangeLog?r1=1.24&r2=1.25
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/sys-kernel/linux-firmware/ChangeLog,v
20 retrieving revision 1.24
21 retrieving revision 1.25
22 diff -u -r1.24 -r1.25
23 --- ChangeLog 8 Aug 2011 20:59:51 -0000 1.24
24 +++ ChangeLog 20 Aug 2011 14:39:59 -0000 1.25
25 @@ -1,6 +1,14 @@
26 # ChangeLog for sys-kernel/linux-firmware
27 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/sys-kernel/linux-firmware/ChangeLog,v 1.24 2011/08/08 20:59:51 chithanh Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/sys-kernel/linux-firmware/ChangeLog,v 1.25 2011/08/20 14:39:59 chithanh Exp $
30 +
31 +*linux-firmware-20110818 (20 Aug 2011)
32 +
33 + 20 Aug 2011; Chí-Thanh Christopher Nguyễn <chithanh@g.o>
34 + linux-firmware-20110604.ebuild, linux-firmware-20110709.ebuild,
35 + linux-firmware-20110731.ebuild, +linux-firmware-20110818.ebuild,
36 + linux-firmware-99999999.ebuild:
37 + New snapshot.
38
39 08 Aug 2011; Chí-Thanh Christopher Nguyễn <chithanh@g.o>
40 -linux-firmware-20110429.ebuild, -linux-firmware-20110601.ebuild:
41
42
43
44 1.1 sys-kernel/linux-firmware/linux-firmware-20110818.ebuild
45
46 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-kernel/linux-firmware/linux-firmware-20110818.ebuild?rev=1.1&view=markup
47 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-kernel/linux-firmware/linux-firmware-20110818.ebuild?rev=1.1&content-type=text/plain
48
49 Index: linux-firmware-20110818.ebuild
50 ===================================================================
51 # Copyright 1999-2011 Gentoo Foundation
52 # Distributed under the terms of the GNU General Public License v2
53 # $Header: /var/cvsroot/gentoo-x86/sys-kernel/linux-firmware/linux-firmware-20110818.ebuild,v 1.1 2011/08/20 14:39:59 chithanh Exp $
54
55 EAPI=3
56 inherit savedconfig
57
58 if [[ ${PV} == 99999999* ]]; then
59 inherit git-2
60 SRC_URI=""
61 EGIT_REPO_URI="git://git.kernel.org/pub/scm/linux/kernel/git/dwmw2/${PN}.git"
62 else
63 SRC_URI="mirror://kernel/linux/kernel/people/dwmw2/firmware/${P}.tar.bz2"
64 fi
65
66 DESCRIPTION="Linux firmware files"
67 HOMEPAGE="http://www.kernel.org/pub/linux/kernel/people/dwmw2/firmware"
68
69 LICENSE="GPL-1 GPL-2 GPL-3 BSD freedist"
70 KEYWORDS="~amd64 ~arm ~x86"
71 SLOT="0"
72 IUSE="savedconfig"
73
74 DEPEND=""
75 RDEPEND="!savedconfig? (
76 !media-sound/alsa-firmware[alsa_cards_korg1212]
77 !media-sound/alsa-firmware[alsa_cards_maestro3]
78 !media-sound/alsa-firmware[alsa_cards_sb16]
79 !media-sound/alsa-firmware[alsa_cards_ymfpci]
80 !media-tv/cx18-firmware
81 !media-tv/ivtv-firmware
82 !media-tv/linuxtv-dvb-firmware[dvb_cards_cx231xx]
83 !media-tv/linuxtv-dvb-firmware[dvb_cards_cx23885]
84 !media-tv/linuxtv-dvb-firmware[dvb_cards_usb-dib0700]
85 !net-dialup/ueagle-atm
86 !net-dialup/ueagle4-atm
87 !net-wireless/i2400m-fw
88 !net-wireless/iwl1000-ucode
89 !net-wireless/iwl3945-ucode
90 !net-wireless/iwl4965-ucode
91 !net-wireless/iwl5000-ucode
92 !net-wireless/iwl5150-ucode
93 !net-wireless/iwl6000-ucode
94 !net-wireless/iwl6005-ucode
95 !net-wireless/iwl6050-ucode
96 !net-wireless/libertas-firmware
97 !net-wireless/rt61-firmware
98 !net-wireless/rt73-firmware
99 !sys-block/qla-fc-firmware
100 !x11-drivers/radeon-ucode
101 )"
102 #add anything else that collides to this
103
104 src_prepare() {
105 echo "# Remove files that shall not be installed from this list." > ${PN}.conf
106 find * \( \! -type d -and \! -name ${PN}.conf \) >> ${PN}.conf
107
108 if use savedconfig; then
109 restore_config ${PN}.conf
110 ebegin "Removing all files not listed in config"
111 find * \( \! -type d -and \! -name ${PN}.conf \) \
112 | sort ${PN}.conf ${PN}.conf - \
113 | uniq -u | xargs -r rm
114 eend $? || die
115 fi
116 }
117
118 src_install() {
119 save_config ${PN}.conf
120 rm ${PN}.conf || die
121 insinto /lib/firmware/
122 doins -r * || die "Install failed!"
123 }
124
125 pkg_preinst() {
126 if use savedconfig; then
127 ewarn "USE=savedconfig is active. You must handle file collisions manually."
128 fi
129 }
130
131 pkg_postinst() {
132 elog "If you are only interested in particular firmware files, edit the saved"
133 elog "configfile and remove those that you do not want."
134 }