2020-08-25 03:18:59 +00:00
|
|
|
pkgname=firmware-oppo-a51f
|
|
|
|
pkgver=1
|
2021-10-19 08:00:37 +00:00
|
|
|
pkgrel=1
|
2020-08-25 03:18:59 +00:00
|
|
|
_commit="2064c468592fcd5ac080a7de20039b8c0e6aec83"
|
|
|
|
pkgdesc="Firmware files for Oppo A51f"
|
|
|
|
url="https://postmarketos.org"
|
2021-10-19 08:00:37 +00:00
|
|
|
subpackages="$pkgname-wcnss-nv:wcnss_nv"
|
2020-08-25 03:18:59 +00:00
|
|
|
arch="aarch64"
|
|
|
|
license="proprietary"
|
|
|
|
source="https://gitlab.com/natsu1978/firmware-oppo-a51f/-/archive/$_commit/firmware-oppo-a51f-$_commit.tar.gz"
|
|
|
|
options="!check !strip !archcheck !tracedeps pmb:cross-native"
|
|
|
|
builddir="$srcdir/firmware-oppo-a51f-$_commit"
|
|
|
|
|
|
|
|
_fwdir="/lib/firmware/postmarketos"
|
|
|
|
|
|
|
|
package() {
|
|
|
|
# parent package is empty
|
|
|
|
mkdir -p "$pkgdir"
|
|
|
|
}
|
|
|
|
|
|
|
|
wcnss_nv() {
|
|
|
|
pkgdesc="Oppo A51f WiFi/BT firmware configuration"
|
|
|
|
install -Dm644 "$builddir"/WCNSS_qcom_wlan_nv.bin -t "$subpkgdir/$_fwdir"/wlan/prima
|
|
|
|
|
|
|
|
}
|
2021-10-19 08:00:37 +00:00
|
|
|
|
2020-08-25 03:18:59 +00:00
|
|
|
sha512sums="e0da84c04df9aa2bfaff24498cf6831f0bc6c15087627056395cd14fc258463df4c076f65393915aa4a73d65b34aa19f9b3283002206436d2153a71fba7fe052 firmware-oppo-a51f-2064c468592fcd5ac080a7de20039b8c0e6aec83.tar.gz"
|