summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-firmware/iwl3160-7260-bt-ucode')
-rw-r--r--sys-firmware/iwl3160-7260-bt-ucode/Manifest2
-rw-r--r--sys-firmware/iwl3160-7260-bt-ucode/iwl3160-7260-bt-ucode-37.8.10.ebuild40
-rw-r--r--sys-firmware/iwl3160-7260-bt-ucode/iwl3160-7260-bt-ucode-37.8.10_p1.ebuild42
-rw-r--r--sys-firmware/iwl3160-7260-bt-ucode/metadata.xml13
4 files changed, 97 insertions, 0 deletions
diff --git a/sys-firmware/iwl3160-7260-bt-ucode/Manifest b/sys-firmware/iwl3160-7260-bt-ucode/Manifest
new file mode 100644
index 00000000000..4a4d4ae71db
--- /dev/null
+++ b/sys-firmware/iwl3160-7260-bt-ucode/Manifest
@@ -0,0 +1,2 @@
+DIST iwl3160-7260-bt-ucode-37.8.10.tgz 21750 SHA256 74be75b38f2280aefcbafb8d5fc1cb6732e47bc7d380a30eb063e690ba9dfa59 SHA512 a0f81382cd7ce9077e8efd75566220a3b2ab0077897ce2d292091f6942b12832819335fe53d007a06797d0f79ef18463282b714e8a148dcc57898313e8f627ba WHIRLPOOL 4e9b2a8fd350eec89f6f32fdf47e95b7faeaea62292a6e3b7b7f73e25bcf6832db81b17259409b37d436faf100184d9881dc6f58633a95eb9a112e3fefba5745
+DIST iwl3160-7260-bt-ucode-37.8.10_p1.tgz 51854 SHA256 beff2a842970f987658062cd36b788aca6ebf4c232d8fb38fecb61dba18ecb58 SHA512 84bcaad82db9588d41ab446c2c5ff9c3f323c15b8dc6b627317edafc80c5ac5c0290a8eea9b5cb5ceafa817d398fb957385cddd715787e3abfb598cf3392774c WHIRLPOOL f251925224b67049d4d2bd75f19223dbcaad18ecffd3c903272ba44310789f4c825fdbcd32f3bccbbc0fb0211492c9285cd5a6a4fcb15b7a1d845a223cc933d1
diff --git a/sys-firmware/iwl3160-7260-bt-ucode/iwl3160-7260-bt-ucode-37.8.10.ebuild b/sys-firmware/iwl3160-7260-bt-ucode/iwl3160-7260-bt-ucode-37.8.10.ebuild
new file mode 100644
index 00000000000..a7605324adf
--- /dev/null
+++ b/sys-firmware/iwl3160-7260-bt-ucode/iwl3160-7260-bt-ucode-37.8.10.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit linux-info
+
+DESCRIPTION="Firmware for Intel (R) Wireless 3160, 7260, 7265 Bluetooth"
+HOMEPAGE="http://wireless.kernel.org/en/users/Drivers/iwlwifi"
+SRC_URI="mirror://gentoo/${P}.tgz"
+
+LICENSE="ipw3945"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND=""
+RDEPEND="!sys-kernel/linux-firmware[-savedconfig]"
+
+S="${WORKDIR}"
+
+CONFIG_CHECK="~IWLMVM"
+ERROR_IWLMVM="CONFIG_IWLMVM is required to be enabled in /usr/src/linux/.config for the kernel to be able to load the Intel (R) Wireless 3160, 7260, 7265 firmware"
+
+pkg_pretend() {
+ if kernel_is lt 3 10 0; then
+ ewarn "Your kernel version is ${KV_MAJOR}.${KV_MINOR}.${KV_PATCH}."
+ ewarn "This microcode image requires a kernel >= 3.10.0."
+ fi
+}
+
+src_install() {
+ insinto /lib/firmware/intel
+ doins "${S}/ibt-hw-37.7.10-fw-1.0.2.3.d.bseq"
+ doins "${S}/ibt-hw-37.7.10-fw-1.80.1.2d.d.bseq"
+ doins "${S}/ibt-hw-37.7.10-fw-1.80.2.3.d.bseq"
+ doins "${S}/ibt-hw-37.7.bseq"
+ doins "${S}/ibt-hw-37.8.10-fw-1.10.2.27.d.bseq"
+ doins "${S}/ibt-hw-37.8.bseq"
+}
diff --git a/sys-firmware/iwl3160-7260-bt-ucode/iwl3160-7260-bt-ucode-37.8.10_p1.ebuild b/sys-firmware/iwl3160-7260-bt-ucode/iwl3160-7260-bt-ucode-37.8.10_p1.ebuild
new file mode 100644
index 00000000000..a6000027fb8
--- /dev/null
+++ b/sys-firmware/iwl3160-7260-bt-ucode/iwl3160-7260-bt-ucode-37.8.10_p1.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit linux-info
+
+DESCRIPTION="Firmware for Intel (R) Wireless 3160, 7260, 7265 Bluetooth"
+HOMEPAGE="http://wireless.kernel.org/en/users/Drivers/iwlwifi"
+SRC_URI="mirror://gentoo/${P}.tgz"
+
+LICENSE="ipw3945"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND=""
+RDEPEND="!sys-kernel/linux-firmware[-savedconfig]"
+
+S="${WORKDIR}"
+
+CONFIG_CHECK="~IWLMVM"
+ERROR_IWLMVM="CONFIG_IWLMVM is required to be enabled in /usr/src/linux/.config for the kernel to be able to load the Intel (R) Wireless 3160, 7260, 7265 firmware"
+
+pkg_pretend() {
+ if kernel_is lt 3 10 0; then
+ ewarn "Your kernel version is ${KV_MAJOR}.${KV_MINOR}.${KV_PATCH}."
+ ewarn "This microcode image requires a kernel >= 3.10.0."
+ fi
+}
+
+src_install() {
+ insinto /lib/firmware/intel
+ doins "${S}/ibt-hw-37.7.10-fw-1.0.1.2d.d.bseq"
+ doins "${S}/ibt-hw-37.7.10-fw-1.0.2.3.d.bseq"
+ doins "${S}/ibt-hw-37.7.10-fw-1.80.1.2d.d.bseq"
+ doins "${S}/ibt-hw-37.7.10-fw-1.80.2.3.d.bseq"
+ doins "${S}/ibt-hw-37.7.bseq"
+ doins "${S}/ibt-hw-37.8.10-fw-1.10.2.27.d.bseq"
+ doins "${S}/ibt-hw-37.8.10-fw-1.10.3.11.e.bseq"
+ doins "${S}/ibt-hw-37.8.bseq"
+}
diff --git a/sys-firmware/iwl3160-7260-bt-ucode/metadata.xml b/sys-firmware/iwl3160-7260-bt-ucode/metadata.xml
new file mode 100644
index 00000000000..ebddf58bc78
--- /dev/null
+++ b/sys-firmware/iwl3160-7260-bt-ucode/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>gienah@gentoo.org</email>
+ <description>Feel free to bump and add yourself to the maintainer list,
+ please consider bumping sys-firmware/iwl3160-ucode and
+ sys-firmware/iwl7260-ucode as well.</description>
+ </maintainer>
+<longdescription lang='en'>
+Firmware for Intel (R) Wireless 3160, 7260, 7265 Bluetooth.
+</longdescription>
+</pkgmetadata>