Gentoo Archives: gentoo-commits

From: "Mark Wright (gienah)" <gienah@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-firmware/iwl3160-ucode: metadata.xml iwl3160-ucode-22.1.7.0.ebuild iwl3160-ucode-22.15.8.0.ebuild ChangeLog
Date: Sat, 25 Jan 2014 03:35:35
Message-Id: 20140125033532.D8F782004B@flycatcher.gentoo.org
1 gienah 14/01/25 03:35:32
2
3 Added: metadata.xml iwl3160-ucode-22.1.7.0.ebuild
4 iwl3160-ucode-22.15.8.0.ebuild ChangeLog
5 Log:
6 Add iwl3160-ucode, which is kept in sync with iwl7260-ucode. Thanks for Thomas Kear for initial ebuild and testing, bug #489714.
7
8 (Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 618E971F)
9
10 Revision Changes Path
11 1.1 sys-firmware/iwl3160-ucode/metadata.xml
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-firmware/iwl3160-ucode/metadata.xml?rev=1.1&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-firmware/iwl3160-ucode/metadata.xml?rev=1.1&content-type=text/plain
15
16 Index: metadata.xml
17 ===================================================================
18 <?xml version="1.0" encoding="UTF-8"?>
19 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
20 <pkgmetadata>
21 <maintainer>
22 <email>gienah@g.o</email>
23 <description>Feel free to bump and add yourself to the maintainer list,
24 please bump sys-firmware/iwl7260-ucode and maybe
25 sys-firmware/iwl3160-7260-bt-ucode as well.</description>
26 </maintainer>
27 </pkgmetadata>
28
29
30
31 1.1 sys-firmware/iwl3160-ucode/iwl3160-ucode-22.1.7.0.ebuild
32
33 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-firmware/iwl3160-ucode/iwl3160-ucode-22.1.7.0.ebuild?rev=1.1&view=markup
34 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-firmware/iwl3160-ucode/iwl3160-ucode-22.1.7.0.ebuild?rev=1.1&content-type=text/plain
35
36 Index: iwl3160-ucode-22.1.7.0.ebuild
37 ===================================================================
38 # Copyright 1999-2014 Gentoo Foundation
39 # Distributed under the terms of the GNU General Public License v2
40 # $Header: /var/cvsroot/gentoo-x86/sys-firmware/iwl3160-ucode/iwl3160-ucode-22.1.7.0.ebuild,v 1.1 2014/01/25 03:35:32 gienah Exp $
41
42 EAPI=5
43 inherit linux-info
44
45 DEV_N="${PN:3:4}"
46 MY_PN="iwlwifi-${DEV_N}-ucode"
47
48 DESCRIPTION="Firmware for Intel (R) Dual Band Wireless-AC ${DEV_N}"
49 HOMEPAGE="http://wireless.kernel.org/en/users/Drivers/iwlwifi"
50 SRC_URI="http://wireless.kernel.org/en/users/Drivers/iwlwifi?action=AttachFile&do=get&target=${MY_PN}-${PV}.tgz -> ${P}.tgz"
51
52 LICENSE="ipw3945"
53 SLOT="0"
54 KEYWORDS="~amd64 ~x86"
55 IUSE="bluetooth"
56
57 DEPEND=""
58 RDEPEND="bluetooth? ( sys-firmware/iwl3160-7260-bt-ucode )
59 !sys-kernel/linux-firmware[-savedconfig]"
60
61 S="${WORKDIR}/${MY_PN}-${PV}"
62
63 CONFIG_CHECK="IWLMVM"
64 ERROR_IWLMVM="CONFIG_IWLMVM is required to be enabled in /usr/src/linux/.config for the kernel to be able to load the ${DEV_N} firmware"
65
66 pkg_pretend() {
67 if kernel_is lt 3 10 0; then
68 ewarn "Your kernel version is ${KV_MAJOR}.${KV_MINOR}.${KV_PATCH}."
69 ewarn "This microcode image requires a kernel >= 3.10.0."
70 fi
71 }
72
73 src_install() {
74 insinto /lib/firmware
75 doins "${S}/iwlwifi-${DEV_N}-7.ucode"
76 dodoc README*
77 }
78
79
80
81 1.1 sys-firmware/iwl3160-ucode/iwl3160-ucode-22.15.8.0.ebuild
82
83 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-firmware/iwl3160-ucode/iwl3160-ucode-22.15.8.0.ebuild?rev=1.1&view=markup
84 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-firmware/iwl3160-ucode/iwl3160-ucode-22.15.8.0.ebuild?rev=1.1&content-type=text/plain
85
86 Index: iwl3160-ucode-22.15.8.0.ebuild
87 ===================================================================
88 # Copyright 1999-2014 Gentoo Foundation
89 # Distributed under the terms of the GNU General Public License v2
90 # $Header: /var/cvsroot/gentoo-x86/sys-firmware/iwl3160-ucode/iwl3160-ucode-22.15.8.0.ebuild,v 1.1 2014/01/25 03:35:32 gienah Exp $
91
92 EAPI=5
93 inherit linux-info
94
95 DEV_N="${PN:3:4}"
96 MY_PN="iwlwifi-${DEV_N}-ucode"
97
98 DESCRIPTION="Firmware for Intel (R) Dual Band Wireless-AC ${DEV_N}"
99 HOMEPAGE="http://wireless.kernel.org/en/users/Drivers/iwlwifi"
100 SRC_URI="http://wireless.kernel.org/en/users/Drivers/iwlwifi?action=AttachFile&do=get&target=${MY_PN}-${PV}.tgz -> ${P}.tgz"
101
102 LICENSE="ipw3945"
103 SLOT="1"
104 KEYWORDS="~amd64 ~x86"
105 IUSE="bluetooth"
106
107 DEPEND=""
108 RDEPEND="bluetooth? ( sys-firmware/iwl3160-7260-bt-ucode )
109 !sys-kernel/linux-firmware[-savedconfig]"
110
111 S="${WORKDIR}/${MY_PN}-${PV}"
112
113 CONFIG_CHECK="IWLMVM"
114 ERROR_IWLMVM="CONFIG_IWLMVM is required to be enabled in /usr/src/linux/.config for the kernel to be able to load the ${DEV_N} firmware"
115
116 pkg_pretend() {
117 if kernel_is lt 3 13 0; then
118 ewarn "Your kernel version is ${KV_MAJOR}.${KV_MINOR}.${KV_PATCH}."
119 ewarn "This microcode image requires a kernel >= 3.13.0."
120 ewarn "For kernel versions < 3.10.13, you may install older SLOTS"
121 fi
122 }
123
124 src_install() {
125 insinto /lib/firmware
126 doins "${S}/iwlwifi-${DEV_N}-8.ucode"
127 dodoc README*
128 }
129
130
131
132 1.1 sys-firmware/iwl3160-ucode/ChangeLog
133
134 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-firmware/iwl3160-ucode/ChangeLog?rev=1.1&view=markup
135 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-firmware/iwl3160-ucode/ChangeLog?rev=1.1&content-type=text/plain
136
137 Index: ChangeLog
138 ===================================================================
139 # ChangeLog for sys-firmware/iwl3160-ucode
140 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
141 # $Header: /var/cvsroot/gentoo-x86/sys-firmware/iwl3160-ucode/ChangeLog,v 1.1 2014/01/25 03:35:32 gienah Exp $
142
143 *iwl3160-ucode-22.15.8.0 (25 Jan 2014)
144 *iwl3160-ucode-22.1.7.0 (25 Jan 2014)
145
146 25 Jan 2014; Mark Wright <gienah@g.o> +iwl3160-ucode-22.1.7.0.ebuild,
147 +iwl3160-ucode-22.15.8.0.ebuild, +metadata.xml:
148 Add iwl3160-ucode, which is kept in sync with iwl7260-ucode. Thanks for Thomas
149 Kear for initial ebuild and testing, bug #489714.