linux-firmware: split nvidia GPU microcode into -nvidia.

This commit is contained in:
Juan RP 2016-02-24 05:52:38 +01:00
parent 72da0ae0ef
commit 2f2c48fe95
2 changed files with 11 additions and 1 deletions

View File

@ -0,0 +1 @@
linux-firmware

View File

@ -1,7 +1,7 @@
# Template file for 'linux-firmware'
pkgname=linux-firmware
version=20160224
revision=1
revision=2
noarch=yes
short_desc="Binary firmware blobs for the Linux kernel"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
@ -32,12 +32,21 @@ linux-firmware-amd_package() {
pkg_install() {
vmove usr/lib/firmware/amd*
vmove usr/lib/firmware/radeon
vmove usr/share/licenses/linux-firmware/LICENSE.amdgpu
vmove usr/share/licenses/linux-firmware/LICENSE.amd-ucode
vmove usr/share/licenses/linux-firmware/LICENSE.radeon
# https://github.com/voidlinux/void-packages/issues/3505
ln -s bonaire_mc.bin ${PKGDESTDIR}/usr/lib/firmware/radeon/boniare_mc.bin
}
}
linux-firmware-nvidia_package() {
short_desc+=" NVIDIA GPU microcode"
noarch=yes
pkg_install() {
vmove usr/lib/firmware/nvidia
vmove usr/share/licenses/linux-firmware/LICENCE.nvidia*
}
}
linux-firmware-network_package() {
short_desc+=" - network"
noarch=yes