mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-05-08 20:43:38 +02:00
linux-firmware: bumped to 20110709
This commit is contained in:
parent
b6e8f13d9a
commit
84386ab85a
2 changed files with 85 additions and 0 deletions
|
|
@ -1,3 +1,5 @@
|
|||
DIST ar9170.fw 15960 RMD160 044b65f540c6454aff213ca69680d03e12b88fae SHA1 6e5250498b815c2940d97242de31e054ae44e079 SHA256 1b379c5a8d6ab3a43911f7949d6306fe2dae3afb1368be5452a8fc7d9c54e0a0
|
||||
DIST carl9170-1.fw 12548 RMD160 5aba5d9489271c7b01ad0e2caa25982283322531 SHA1 83a3e00de61ced68b7129a3c82803e6f07840b21 SHA256 0009861c6ed9943b014dc45b6df5532616b41223f067d20b4df7aaa5a437f4f5
|
||||
DIST linux-firmware-20110709.tar.bz2 15267126 RMD160 c4a77da8749bd062b411b95768dbf8ea8f249657 SHA1 19ccf162a10ed89ba4f02b942d60b78682361785 SHA256 f1b61c5ef9b9bd34eff2296dc40a4732939e687ef80f3d0e749f58e4a1990134
|
||||
EBUILD linux-firmware-20110709.ebuild 2442 RMD160 c5690af04a5650018bcac7053a0ad6749e3dc0d3 SHA1 20bd657a67e4b85665630209be8a328d50150953 SHA256 0fb72af01ab2508ebe85dd8d240b5f9769f2ba734897f8f191021aac59290f14
|
||||
EBUILD linux-firmware-99999999.ebuild 2175 RMD160 946d8a71ceca0ffedcab5a3a28b29101a06abefe SHA1 56a5beace3dc8ba7a2ed1036b48671c21969e136 SHA256 81cfccb16607245a0cf9fdfa4d740f6e51dd119cc10be237de3d9779736f62b3
|
||||
|
|
|
|||
83
sys-kernel/linux-firmware/linux-firmware-20110709.ebuild
Normal file
83
sys-kernel/linux-firmware/linux-firmware-20110709.ebuild
Normal file
|
|
@ -0,0 +1,83 @@
|
|||
# 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.2 2011/06/15 21:48:05 flameeyes 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-dialup/ueagle-atm
|
||||
!net-dialup/ueagle4-atm
|
||||
!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."
|
||||
}
|
||||
Loading…
Reference in a new issue