pmaports/device/testing/firmware-pine64-rockpro64/APKBUILD
Jean Lucas a26f90360d
pine64-rockpro64: Initial firmware package, AP6359SA (MR 2117)
The AP6359SA is a BCM4359 SDIO-based Wi-Fi/Bluetooth module that PINE64
sells specifically for the ROCKPro64 device. This commit starts a
firmware package to support it specifically, while others can later add
firmware for other modules sold for the device. Also add this package as
a nonfree subpackage dependency in the ROCKPro64 device APKBUILD.

I was unable to find a suitable license for the firmware blobs, so until
we find a suitable repository containing all of the required files by
the module with a license included, or contact the vendor directly,
let's use LibreELEC's repository without a license for now.

[ci:skip-build]: already built successfully in CI
2021-04-25 15:41:21 +02:00

27 lines
952 B
Text

# Maintainer: Jean Lucas <jean@4ray.co>
pkgname=firmware-pine64-rockpro64
pkgver=1
pkgrel=0
_commit="4b370cd415a2dd7b0ecdbe8bbf1d86fb35ce6985"
pkgdesc="Firmware for the RockPro64 (pine64-rockpro64)"
url="https://github.com/LibreELEC/brcmfmac_sdio-firmware"
arch="aarch64"
license="proprietary"
options="!check !strip !archcheck"
source="https://github.com/LibreELEC/brcmfmac_sdio-firmware/archive/$_commit/brcmfmac_sdio-firmware-$_commit.tar.gz"
builddir="$srcdir/brcmfmac_sdio-firmware-$_commit"
package() {
#
# AMPAK AP6359SA
#
mv brcmfmac4359-sdio.txt brcmfmac4359-sdio.pine64,rockpro64-v2.1.txt
for file in BCM4359C0.hcd brcmfmac4359-sdio.*; do
install -Dm 0644 "$file" -t "$pkgdir"/lib/firmware/postmarketos/brcm
done
}
sha512sums="6bd2551370bdf2b4e0b8d8f5016a1b937ba497a4fe2058fde3ac96f1fe4a8a95b638c82f2b0411d6fe1e46877ad5c475e4037ed02521f08e2483ccc4c03430c8 brcmfmac_sdio-firmware-4b370cd415a2dd7b0ecdbe8bbf1d86fb35ce6985.tar.gz"