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