mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-01-24 02:22:15 +08:00
linux-firmware: add nouveau-firmware
This commit is contained in:
parent
2ca2da5e50
commit
34628b790c
@ -5,9 +5,10 @@
|
||||
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
||||
|
||||
pkgname=linux-firmware
|
||||
pkgver=20110410
|
||||
pkgver=20110505
|
||||
_b43=4.178.10.4
|
||||
_legacy=3.130.20.0
|
||||
_nouveau=20091212
|
||||
pkgrel=1
|
||||
pkgdesc="Firmware files for Linux"
|
||||
arch=('any')
|
||||
@ -28,7 +29,8 @@ conflicts=('linux-firmware-git'
|
||||
'rt2x00-rt61-fw'
|
||||
'rt2x00-rt71w-fw'
|
||||
'b43-firmware'
|
||||
'b43-firmware-legacy')
|
||||
'b43-firmware-legacy'
|
||||
'nouveau-firmware')
|
||||
replaces=('kernel26-firmware'
|
||||
'ar9170-fw'
|
||||
'iwlwifi-1000-ucode'
|
||||
@ -42,17 +44,20 @@ replaces=('kernel26-firmware'
|
||||
'rt2x00-rt61-fw'
|
||||
'rt2x00-rt71w-fw'
|
||||
'b43-firmware'
|
||||
'b43-firmware-legacy')
|
||||
'b43-firmware-legacy'
|
||||
'nouveau-firmware')
|
||||
makedepends=("b43-fwcutter=013")
|
||||
options=(!strip)
|
||||
source=(http://chakra-project.org/sources/linux-firmware/$pkgname-$pkgver.tar.xz
|
||||
http://www.kernel.org/pub/linux/kernel/people/mcgrof/firmware/ar9170/ar9170.fw
|
||||
http://mirror2.openwrt.org/sources/broadcom-wl-${_b43}.tar.bz2
|
||||
http://downloads.openwrt.org/sources/wl_apsta-${_legacy}.o)
|
||||
sha256sums=('1b55425d7d84e377c5d65618670911633d7482412f69f8bb63d46c8e06be8d04'
|
||||
http://downloads.openwrt.org/sources/wl_apsta-${_legacy}.o
|
||||
http://people.freedesktop.org/~pq/nouveau-drm/nouveau-firmware-$_nouveau.tar.gz)
|
||||
sha256sums=('f0dccd945f29f36984ffb36f6cfd36cc8cf3cd1f12a2d7a5d2742ce291d8f467'
|
||||
'1b379c5a8d6ab3a43911f7949d6306fe2dae3afb1368be5452a8fc7d9c54e0a0'
|
||||
'32f6ad98facbb9045646fdc8b54bb03086d204153253f9c65d0234a5d90ae53f'
|
||||
'7dba610b1d96dd14e901bcbce14cd6ecd1b1ac6f5c0035b0d6b6dc46a7c3ef90')
|
||||
'7dba610b1d96dd14e901bcbce14cd6ecd1b1ac6f5c0035b0d6b6dc46a7c3ef90'
|
||||
'4eaeb2044c1da95b50ea4f1facb0effc74d65d8b13dc10893c26e4fe9fe23fb8')
|
||||
|
||||
# create tarball: source PKGBUILD && mksource
|
||||
|
||||
@ -75,8 +80,8 @@ package() {
|
||||
mv "${pkgdir}/lib/firmware"/{LICEN*,WHENCE} "${pkgdir}/usr/share/licenses/linux-firmware/"
|
||||
|
||||
# Symlinks for Broadcom firmware
|
||||
ln -s bcm43xx-0-610-809-0.fw "${pkgdir}/lib/firmware/brcm/bcm43xx-0.fw"
|
||||
ln -s bcm43xx_hdr-0-610-809-0.fw "${pkgdir}/lib/firmware/brcm/bcm43xx_hdr-0.fw"
|
||||
#ln -s bcm43xx-0-610-809-0.fw "${pkgdir}/lib/firmware/brcm/bcm43xx-0.fw"
|
||||
#ln -s bcm43xx_hdr-0-610-809-0.fw "${pkgdir}/lib/firmware/brcm/bcm43xx_hdr-0.fw"
|
||||
|
||||
# https://bugs.archlinux.org/task/20064
|
||||
install -m644 "${srcdir}/ar9170.fw" "${pkgdir}/lib/firmware/"
|
||||
@ -86,5 +91,11 @@ package() {
|
||||
|
||||
# install b43-legacy-firmware
|
||||
b43-fwcutter -w "${pkgdir}/lib/firmware/" ${srcdir}/wl_apsta-${_legacy}.o
|
||||
|
||||
# install nouveau firmwares
|
||||
cd $srcdir/nouveau
|
||||
for i in `ls`; do
|
||||
install -D -m644 $i ${pkgdir}/lib/firmware/nouveau/$i
|
||||
done
|
||||
}
|
||||
# vim:set ts=2 sw=2 et:
|
||||
|
Loading…
Reference in New Issue
Block a user