parent
b09aebc6df
commit
9e6a0f1291
|
@ -1,16 +1,16 @@
|
||||||
# Template file for 'linux-firmware'
|
# Template file for 'linux-firmware'
|
||||||
pkgname=linux-firmware
|
pkgname=linux-firmware
|
||||||
version=20200519
|
version=20200918
|
||||||
revision=1
|
revision=1
|
||||||
archs=noarch
|
|
||||||
depends="${pkgname}-amd-${version}_${revision} ${pkgname}-network-${version}_${revision}"
|
depends="${pkgname}-amd-${version}_${revision} ${pkgname}-network-${version}_${revision}"
|
||||||
short_desc="Binary firmware blobs for the Linux kernel"
|
short_desc="Binary firmware blobs for the Linux kernel"
|
||||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||||
license="See /usr/share/licenses/${pkgname}"
|
license="See /usr/share/licenses/${pkgname}"
|
||||||
homepage="https://www.kernel.org/"
|
homepage="https://www.kernel.org/"
|
||||||
distfiles="https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/snapshot/${pkgname}-${version}.tar.gz"
|
distfiles="https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/snapshot/${pkgname}-${version}.tar.gz"
|
||||||
checksum=b33b727f0ae299c65cb7ddf1cc3ab3ebe50085bd50694fd3af7fd7f07303476c
|
checksum=3cbb7f363dc63686b1c6e325ed679f6faa4715f17fa06be11b705456e1d5dcb9
|
||||||
python_version=3
|
python_version=3
|
||||||
|
nostrip=yes
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
vmkdir usr/lib/firmware
|
vmkdir usr/lib/firmware
|
||||||
|
@ -23,7 +23,7 @@ do_install() {
|
||||||
|
|
||||||
linux-firmware-amd_package() {
|
linux-firmware-amd_package() {
|
||||||
short_desc+=" - AMD CPU/GPU microcode"
|
short_desc+=" - AMD CPU/GPU microcode"
|
||||||
archs=noarch
|
nostrip=yes
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/lib/firmware/amd*
|
vmove usr/lib/firmware/amd*
|
||||||
vmove usr/lib/firmware/radeon
|
vmove usr/lib/firmware/radeon
|
||||||
|
@ -35,7 +35,7 @@ linux-firmware-amd_package() {
|
||||||
|
|
||||||
linux-firmware-intel_package() {
|
linux-firmware-intel_package() {
|
||||||
short_desc+=" - Intel CPU/GPU microcode"
|
short_desc+=" - Intel CPU/GPU microcode"
|
||||||
archs=noarch
|
nostrip=yes
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/lib/firmware/i915
|
vmove usr/lib/firmware/i915
|
||||||
vmove usr/share/licenses/linux-firmware/LICENSE.i915
|
vmove usr/share/licenses/linux-firmware/LICENSE.i915
|
||||||
|
@ -44,7 +44,7 @@ linux-firmware-intel_package() {
|
||||||
|
|
||||||
linux-firmware-nvidia_package() {
|
linux-firmware-nvidia_package() {
|
||||||
short_desc+=" NVIDIA GPU microcode"
|
short_desc+=" NVIDIA GPU microcode"
|
||||||
archs=noarch
|
nostrip=yes
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/lib/firmware/nvidia
|
vmove usr/lib/firmware/nvidia
|
||||||
vmove usr/share/licenses/linux-firmware/LICENCE.nvidia*
|
vmove usr/share/licenses/linux-firmware/LICENCE.nvidia*
|
||||||
|
@ -53,7 +53,7 @@ linux-firmware-nvidia_package() {
|
||||||
|
|
||||||
linux-firmware-network_package() {
|
linux-firmware-network_package() {
|
||||||
short_desc+=" - network"
|
short_desc+=" - network"
|
||||||
archs=noarch
|
nostrip=yes
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/lib/firmware/3com
|
vmove usr/lib/firmware/3com
|
||||||
vmove usr/lib/firmware/RTL8192E
|
vmove usr/lib/firmware/RTL8192E
|
||||||
|
|
Loading…
Reference in New Issue