summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChí-Thanh Christopher Nguyễn <chithanh@gentoo.org>2011-06-05 17:11:13 +0000
committerChí-Thanh Christopher Nguyễn <chithanh@gentoo.org>2011-06-05 17:11:13 +0000
commit0dbd26efdca18116ccabf4cc3e4bcfb413e049af (patch)
treeab8fb64947d6fc55dbb8f02e57099c9d927ad7d1
parentStable for HPPA (bug #369335). (diff)
downloadgentoo-2-0dbd26efdca18116ccabf4cc3e4bcfb413e049af.tar.gz
gentoo-2-0dbd26efdca18116ccabf4cc3e4bcfb413e049af.tar.bz2
gentoo-2-0dbd26efdca18116ccabf4cc3e4bcfb413e049af.zip
New snapshot.
(Portage version: 2.2.0_alpha37/cvs/Linux x86_64)
-rw-r--r--sys-kernel/linux-firmware/ChangeLog8
-rw-r--r--sys-kernel/linux-firmware/linux-firmware-20110604.ebuild81
2 files changed, 88 insertions, 1 deletions
diff --git a/sys-kernel/linux-firmware/ChangeLog b/sys-kernel/linux-firmware/ChangeLog
index 632d18707357..98e6230090f5 100644
--- a/sys-kernel/linux-firmware/ChangeLog
+++ b/sys-kernel/linux-firmware/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sys-kernel/linux-firmware
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-kernel/linux-firmware/ChangeLog,v 1.16 2011/06/02 00:12:53 chithanh Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/linux-firmware/ChangeLog,v 1.17 2011/06/05 17:11:13 chithanh Exp $
+
+*linux-firmware-20110604 (05 Jun 2011)
+
+ 05 Jun 2011; Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org>
+ +linux-firmware-20110604.ebuild:
+ New snapshot.
*linux-firmware-20110601 (02 Jun 2011)
diff --git a/sys-kernel/linux-firmware/linux-firmware-20110604.ebuild b/sys-kernel/linux-firmware/linux-firmware-20110604.ebuild
new file mode 100644
index 000000000000..5db4a79947b7
--- /dev/null
+++ b/sys-kernel/linux-firmware/linux-firmware-20110604.ebuild
@@ -0,0 +1,81 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/linux-firmware/linux-firmware-20110604.ebuild,v 1.1 2011/06/05 17:11:13 chithanh Exp $
+
+EAPI=3
+inherit savedconfig
+
+if [[ ${PV} == 99999999* ]]; then
+ inherit git-2
+ SRC_URI=""
+ EGIT_REPO_URI="git://git.kernel.org/pub/scm/linux/kernel/git/dwmw2/${PN}.git"
+else
+ SRC_URI="mirror://kernel/linux/kernel/people/dwmw2/firmware/${P}.tar.bz2"
+fi
+
+DESCRIPTION="Linux firmware files"
+HOMEPAGE="http://www.kernel.org/pub/linux/kernel/people/dwmw2/firmware"
+
+LICENSE="GPL-1 GPL-2 GPL-3 BSD freedist"
+KEYWORDS="~amd64 ~arm ~x86"
+SLOT="0"
+IUSE="savedconfig"
+
+DEPEND=""
+RDEPEND="!savedconfig? (
+ !media-sound/alsa-firmware[alsa_cards_korg1212]
+ !media-sound/alsa-firmware[alsa_cards_maestro3]
+ !media-sound/alsa-firmware[alsa_cards_sb16]
+ !media-sound/alsa-firmware[alsa_cards_ymfpci]
+ !media-tv/cx18-firmware
+ !media-tv/ivtv-firmware
+ !media-tv/linuxtv-dvb-firmware[dvb_cards_cx231xx]
+ !media-tv/linuxtv-dvb-firmware[dvb_cards_cx23885]
+ !media-tv/linuxtv-dvb-firmware[dvb_cards_usb-dib0700]
+ !net-wireless/i2400m-fw
+ !net-wireless/iwl1000-ucode
+ !net-wireless/iwl3945-ucode
+ !net-wireless/iwl4965-ucode
+ !net-wireless/iwl5000-ucode
+ !net-wireless/iwl5150-ucode
+ !net-wireless/iwl6000-ucode
+ !net-wireless/iwl6050-ucode
+ !net-wireless/libertas-firmware
+ !net-wireless/rt61-firmware
+ !net-wireless/rt73-firmware
+ !sys-block/qla-fc-firmware
+ !x11-drivers/radeon-ucode
+ )"
+#add anything else that collides to this
+
+src_prepare() {
+ echo "# Remove files that shall not be installed from this list." > ${PN}.conf
+ find * \( \! -type d -and \! -name ${PN}.conf \) >> ${PN}.conf
+
+ if use savedconfig; then
+ restore_config ${PN}.conf
+ ebegin "Removing all files not listed in config"
+ find * \( \! -type d -and \! -name ${PN}.conf \) \
+ | sort ${PN}.conf ${PN}.conf - \
+ | uniq -u | xargs -r rm
+ eend $? || die
+ fi
+}
+
+src_install() {
+ save_config ${PN}.conf
+ rm ${PN}.conf || die
+ insinto /lib/firmware/
+ doins -r * || die "Install failed!"
+}
+
+pkg_preinst() {
+ if use savedconfig; then
+ ewarn "USE=savedconfig is active. You must handle file collisions manually."
+ fi
+}
+
+pkg_postinst() {
+ elog "If you are only interested in particular firmware files, edit the saved"
+ elog "configfile and remove those that you do not want."
+}