diff options
author | Manuel Rüger <mrueg@gentoo.org> | 2018-06-02 14:50:17 +0200 |
---|---|---|
committer | Manuel Rüger <mrueg@gentoo.org> | 2018-06-02 14:50:17 +0200 |
commit | 2bad7c707b4eb5e702fdf9ea0729232ff855e8e1 (patch) | |
tree | 30f2671ca013509f40a89f33bb7824e10a178953 /sys-kernel/linux-firmware | |
parent | dev-util/goland: Remove old (diff) | |
download | gentoo-2bad7c707b4eb5e702fdf9ea0729232ff855e8e1.tar.gz gentoo-2bad7c707b4eb5e702fdf9ea0729232ff855e8e1.tar.bz2 gentoo-2bad7c707b4eb5e702fdf9ea0729232ff855e8e1.zip |
sys-kernel/linux-firmware: Update snapshot
Package-Manager: Portage-2.3.40, Repoman-2.3.9
Diffstat (limited to 'sys-kernel/linux-firmware')
-rw-r--r-- | sys-kernel/linux-firmware/Manifest | 1 | ||||
-rw-r--r-- | sys-kernel/linux-firmware/linux-firmware-20180525.ebuild | 115 |
2 files changed, 116 insertions, 0 deletions
diff --git a/sys-kernel/linux-firmware/Manifest b/sys-kernel/linux-firmware/Manifest index 2670b8f578a9..94cf18601d06 100644 --- a/sys-kernel/linux-firmware/Manifest +++ b/sys-kernel/linux-firmware/Manifest @@ -2,4 +2,5 @@ DIST linux-firmware-20180103.tar.gz 138263360 BLAKE2B b7af0f94bf7111a1f4a10c7403 DIST linux-firmware-20180416.tar.gz 149436328 BLAKE2B 1da8140b8805b4c4d1c12940fe2cb71a8d4fc41ceccdd306f1dbc0c20e986b8a4cef09a1e82bd0c270fad22722738ddb4d7eb2ba81553dfddbb76a3039552d97 SHA512 cf416c7ae8d70a8c36955e7fccff16194515f3b4964e80cba268b5ab2816ea0661bc4ea47ff3bf0c5f47dbdc7abceb39c5586117a6796b5b94bd6ef740424b27 DIST linux-firmware-20180507.tar.gz 150551499 BLAKE2B 66cd52d64fdeb02e12e1b8fd6b578e2722bac9e9381fc949f7418425390521004e6d145e943ebc5b804989278f6c204806079db98074f842066350f6fcc7de40 SHA512 6ffdfdd5a730d62d476255bbd26252ddd24dfbf926b4a0e684f31f93a65d86f645a19cb0e8773b64cbd93a6840a991bc8767f6b483553a3b822a734014c1f94c DIST linux-firmware-20180518.tar.gz 150672075 BLAKE2B ef0c5a5d6ea2e978a5638fd509bde5fe4b50ebc682b685e6e8728667617b2d1460c562331e89b748c86d815341e5bede8fc4a2d5a3088c14b3bcc01bd783f01a SHA512 c2b1cce708f6bb21cc5d48408f335cadcf4318ef98c31c182cfe0630500b1074c90c0b0da1391c64bfcc921ebb500f0f46e8d8cdd6888c60458cce8faab6d12c +DIST linux-firmware-20180525.tar.gz 151301971 BLAKE2B a2da25004f5458c2383b8f0c0d28dab56f40d24045723d9bf169d0cf256ff819e34899b487dc73cc6135ca83207cbccfa9fb5a5888e1a7764b2e464e95f6db49 SHA512 ef2e29a24ee4f52ad91eb35b79e2a8717ee0e0cd1b94877779c839bc0f64aa6de91b6828e069f0e4b1cdb8a97bbf140802c008582f7a4dfd61327c7059c99c96 DIST microcode_amd_fam17h.tar.gz 2204 BLAKE2B 20f3b006587f49fced335fd38711da2384a1f5cd0b93a483d7022d8aa211dc855427a637583dd2eae9f108120f2fda4b80db081d48d3332da906de8e10b94464 SHA512 d3b52797a5968f8da76d39322780e61d04bab5d810b0b07d64e469fcd67998e4191b0e0a9ab7e4c27189941369ef1b2850bbbb1458fd9bbeb958c98f6e378510 diff --git a/sys-kernel/linux-firmware/linux-firmware-20180525.ebuild b/sys-kernel/linux-firmware/linux-firmware-20180525.ebuild new file mode 100644 index 000000000000..2e82ead97bb7 --- /dev/null +++ b/sys-kernel/linux-firmware/linux-firmware-20180525.ebuild @@ -0,0 +1,115 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit savedconfig + +if [[ ${PV} == 99999999* ]]; then + inherit git-r3 + SRC_URI="" + EGIT_REPO_URI="https://git.kernel.org/pub/scm/linux/kernel/git/firmware/${PN}.git" + KEYWORDS="~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~x86" +else + GIT_COMMIT="7518922bd5b98b137af7aaf3c836f5a498e91609" + SRC_URI="https://git.kernel.org/cgit/linux/kernel/git/firmware/linux-firmware.git/snapshot/linux-firmware-${GIT_COMMIT}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" +fi + +DESCRIPTION="Linux firmware files" +HOMEPAGE="https://git.kernel.org/?p=linux/kernel/git/firmware/linux-firmware.git" + +LICENSE="linux-firmware ( BSD ISC MIT no-source-code ) GPL-2 GPL-2+ freedist" +SLOT="0" +IUSE="savedconfig" + +DEPEND="" +RDEPEND="!savedconfig? ( + !sys-firmware/alsa-firmware[alsa_cards_ca0132] + !sys-firmware/alsa-firmware[alsa_cards_korg1212] + !sys-firmware/alsa-firmware[alsa_cards_maestro3] + !sys-firmware/alsa-firmware[alsa_cards_sb16] + !sys-firmware/alsa-firmware[alsa_cards_ymfpci] + !media-tv/cx18-firmware + !<sys-firmware/ivtv-firmware-20080701-r1 + !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/ar9271-firmware + !net-wireless/i2400m-fw + !net-wireless/libertas-firmware + !sys-firmware/rt61-firmware + !net-wireless/rt73-firmware + !net-wireless/rt2860-firmware + !net-wireless/rt2870-firmware + !sys-block/qla-fc-firmware + !sys-firmware/amd-ucode + !sys-firmware/iwl1000-ucode + !sys-firmware/iwl2000-ucode + !sys-firmware/iwl2030-ucode + !sys-firmware/iwl3945-ucode + !sys-firmware/iwl4965-ucode + !sys-firmware/iwl5000-ucode + !sys-firmware/iwl5150-ucode + !sys-firmware/iwl6000-ucode + !sys-firmware/iwl6005-ucode + !sys-firmware/iwl6030-ucode + !sys-firmware/iwl6050-ucode + !sys-firmware/iwl3160-ucode + !sys-firmware/iwl7260-ucode + !sys-firmware/iwl7265-ucode + !sys-firmware/iwl3160-7260-bt-ucode + !sys-firmware/radeon-ucode + )" +#add anything else that collides to this + +QA_PREBUILT="lib/firmware/*" + +src_unpack() { + if [[ ${PV} == 99999999* ]]; then + git-r3_src_unpack + else + default + # rename directory from git snapshot tarball + mv ${PN}-*/ ${P} || die + fi +} + +src_prepare() { + default + + 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 + # remove empty directories, bug #396073 + find -type d -empty -delete || die + fi +} + +src_install() { + if use !savedconfig; then + save_config ${PN}.conf + fi + rm ${PN}.conf || die + insinto /lib/firmware/ + doins -r * +} + +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." +} |