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