diff options
author | Carlo Landmeter <clandmeter@gmail.com> | 2017-07-11 21:29:28 +0200 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2017-07-11 21:29:28 +0200 |
commit | 46edfde10d8e5baec6bfaef2fedc311108465d82 (patch) | |
tree | 1b3925ef62743f251667f8745a4c15d5d6f300bf /main/linux-firmware | |
parent | a8d366d7d112fb6d7ffd2bb99643574919d1f3fd (diff) | |
download | aports-46edfde10d8e5baec6bfaef2fedc311108465d82.tar.bz2 aports-46edfde10d8e5baec6bfaef2fedc311108465d82.tar.xz |
main/linux-firmware: update firmware for rpi3 wifi
Diffstat (limited to 'main/linux-firmware')
-rw-r--r-- | main/linux-firmware/APKBUILD | 30 |
1 files changed, 19 insertions, 11 deletions
diff --git a/main/linux-firmware/APKBUILD b/main/linux-firmware/APKBUILD index be18937ea0..b8415d98e8 100644 --- a/main/linux-firmware/APKBUILD +++ b/main/linux-firmware/APKBUILD @@ -2,21 +2,24 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=linux-firmware pkgver=20170711 -pkgrel=0 +pkgrel=1 pkgdesc="firmware files for linux" #url="http://git.kernel.org/?p=linux/kernel/git/dwmw2/linux-firmware.git;a=summary" url="http://git.kernel.org/?p=linux/kernel/git/firmware/linux-firmware.git;a=summary" - arch="all" -license="GPL" +license="custom:multiple" depends= makedepends= install="" subpackages= replaces="linux-grsec linux-vserver" -options="!strip" +options="!strip !check" +source="http://dev.alpinelinux.org/archive/$pkgname/$pkgname-${pkgver}.tar.gz + https://github.com/RPi-Distro/firmware-nonfree/raw/master/brcm80211/brcm/brcmfmac43430-sdio.txt + https://github.com/RPi-Distro/firmware-nonfree/raw/master/brcm80211/brcm/brcmfmac43430-sdio.bin + LICENSE.brcmfmac43430::https://raw.githubusercontent.com/RPi-Distro/firmware-nonfree/master/brcm80211/LICENSE +" -source="http://dev.alpinelinux.org/archive/$pkgname/$pkgname-${pkgver}.tar.gz" _giturl="git://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git" _upload=dev.alpinelinux.org:/archive/$pkgname/ @@ -28,14 +31,13 @@ snapshot() { mkdir -p "$srcdir" cd "$srcdir" rm -rf "$pkgname" - git clone --depth=1 --bare $_giturl || return 1 + git clone --depth=1 --bare $_giturl git --git-dir ${_giturl##*/} archive -o $_pkg \ - --prefix=$pkgname-$_date/ HEAD \ - || return 1 + --prefix=$pkgname-$_date/ HEAD msg "New snapshot: $_pkg" if [ -n "$_upload" ]; then msg "Uploading to $_upload" - scp $_pkg $_upload && abump $pkgname-$_date || return 1 + scp $_pkg $_upload && abump $pkgname-$_date fi } @@ -49,8 +51,14 @@ build() { package() { cd "${_builddir}" - make DESTDIR="${pkgdir}" FIRMWAREDIR="/lib/firmware" install || return 1 + make DESTDIR="${pkgdir}" FIRMWAREDIR="/lib/firmware" install + for i in brcmfmac43430-sdio.txt brcmfmac43430-sdio.bin LICENSE.brcmfmac43430; do + install -Dm 644 "$srcdir/$i" "$pkgdir/lib/firmware/brcm/$i" + done rm -f "${pkgdir}/usr/lib/firmware/{Makefile,README,configure,GPL-3}" } -sha512sums="40bc5c366db4b5bcd98876b10354017f872d45620e6a790783592b3b5f1db96888cf35143ebe9a2acedacc104d5d56384a82a8f2b4a5fee4da0cf18d938180cd linux-firmware-20170711.tar.gz" +sha512sums="40bc5c366db4b5bcd98876b10354017f872d45620e6a790783592b3b5f1db96888cf35143ebe9a2acedacc104d5d56384a82a8f2b4a5fee4da0cf18d938180cd linux-firmware-20170711.tar.gz +bd6417ada7dbb940e75f43d85d9778f362f6c2801b27b4e13043eebfb5f38da4e728bdfe7240304d0ad172ba8ac1a3eff4df40119317093ea19ae23333819024 brcmfmac43430-sdio.txt +6751470a48e0225731d91ab33464eaeac86da3e10dcf63a85ae0aeea6fa114ab01567fda08604e500c54bb14d38578f6c0b135c7772597d07b5ebda1e662b935 brcmfmac43430-sdio.bin +345a081c0df701028f7177856881cdba0a4111d11f3b828397fc92a69e87a427d923cf8b8ff5075e3118d94e73726c0a4220c01658b844e8ae1f84b3a74eeba9 LICENSE.brcmfmac43430" |