2022-09-06 22:41:44 +00:00
|
|
|
pkgname=firmware-samsung-a6lte
|
2023-12-23 23:38:04 +00:00
|
|
|
pkgver=2
|
2022-09-06 22:41:44 +00:00
|
|
|
pkgrel=0
|
|
|
|
pkgdesc="Firmware files for Samsung Galaxy A6 (2018)"
|
|
|
|
url="https://github.com/fw-dumps/samsung_a6lte_dump"
|
|
|
|
arch="aarch64"
|
|
|
|
license="proprietary"
|
|
|
|
options="!strip !check !archcheck !spdx !tracedeps pmb:cross-native"
|
2023-12-23 23:38:04 +00:00
|
|
|
depends="linux-firmware-brcm"
|
2022-09-06 22:41:44 +00:00
|
|
|
|
|
|
|
# Source
|
|
|
|
_commit="2ea1f7e1dfbe56d6ca085c9eb4061aca8909172c"
|
|
|
|
builddir="$srcdir/samsung_a6lte_dump-$_commit"
|
|
|
|
_raw_wifi_path="$url/raw/$_commit/vendor/etc/wifi"
|
2023-12-23 23:38:04 +00:00
|
|
|
_install_wifi_path="/lib/firmware/postmarketos/wifi"
|
2022-09-06 22:41:44 +00:00
|
|
|
source="
|
|
|
|
nvram.txt_c5::$_raw_wifi_path/nvram.txt_c5
|
|
|
|
"
|
|
|
|
|
|
|
|
package() {
|
2023-12-23 23:38:04 +00:00
|
|
|
mkdir -p "$pkgdir$_install_wifi_path"
|
|
|
|
ln -s /lib/firmware/brcm/brcmfmac43456-sdio.bin "$pkgdir$_install_wifi_path/bcmdhd_apsta.bin_c5"
|
|
|
|
ln -s /lib/firmware/brcm/brcmfmac43456-sdio.bin "$pkgdir$_install_wifi_path/bcmdhd_apsta.bin_c5_blob"
|
|
|
|
ln -s /lib/firmware/brcm/brcmfmac43456-sdio.clm_blob "$pkgdir$_install_wifi_path/bcmdhd_clm.blob"
|
|
|
|
ln -s /lib/firmware/brcm/brcmfmac43456-sdio.bin "$pkgdir$_install_wifi_path/bcmdhd_mfg.bin_c5"
|
|
|
|
ln -s /lib/firmware/brcm/brcmfmac43456-sdio.bin "$pkgdir$_install_wifi_path/bcmdhd_mfg.bin_c5_blob"
|
|
|
|
ln -s /lib/firmware/brcm/brcmfmac43456-sdio.bin "$pkgdir$_install_wifi_path/bcmdhd_sta.bin_c5"
|
|
|
|
ln -s /lib/firmware/brcm/brcmfmac43456-sdio.bin "$pkgdir$_install_wifi_path/bcmdhd_sta.bin_c5_blob"
|
|
|
|
install -Dm644 "$srcdir/nvram.txt_c5" -t "$pkgdir$_install_wifi_path"
|
2022-09-06 22:41:44 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
sha512sums="
|
|
|
|
b9e1e695cb01497400c0f0c3ccd0e7815a10258775bd89edda3ce89926cb1f9e4172b068553bce7120766ff673e265a9cbe54f94cca0f72496a04a216f4c9a0f nvram.txt_c5
|
|
|
|
"
|