pmaports/device/testing/firmware-google-sargo/APKBUILD
Richard Acayan e3ffc66577
google-sargo: add modem support (MR 3695)
The modem needs more firmware. Some firmware is in the modem partition
and needs to be loaded.

[ci:skip-build]: Already built successfully in CI
2022-12-10 23:30:59 +01:00

35 lines
1.5 KiB
Text

# Maintainer: Richard Acayan <mailingradian@gmail.com>
pkgname=firmware-google-sargo
pkgver=220505.008
pkgrel=1
pkgdesc="Proprietary firmware blobs from the Google Pixel 3a factory image"
url="https://github.com/TheMuppets/proprietary_vendor_google_sargo"
arch="aarch64"
license="proprietary"
makedepends="pil-squasher"
_commit="c631f0f2aa24ea60cfb505d327cd4ae56ca27f16"
source="https://github.com/TheMuppets/proprietary_vendor_google_sargo/archive/$_commit.tar.gz"
builddir="$srcdir/proprietary_vendor_google_sargo-$_commit"
options="!check !archcheck !strip !tracedeps pmb:cross-native"
build() {
pil-squasher a615_zap.mbn proprietary/vendor/firmware/a615_zap.mdt
pil-squasher ipa_fws.mbn proprietary/vendor/firmware/ipa_fws.mdt
}
package() {
install -Dm755 "$builddir"/a615_zap.mbn \
"$pkgdir"/lib/firmware/qcom/sdm670/sargo/a615_zap.mbn
install -Dm755 "$builddir"/ipa_fws.mbn \
"$pkgdir"/lib/firmware/qcom/sdm670/sargo/ipa_fws.mbn
install -Dm755 "$builddir"/proprietary/vendor/firmware/modemuw.jsn \
"$pkgdir"/lib/firmware/postmarketos/modemuw.jsn
install -Dm755 "$builddir"/proprietary/vendor/firmware/venus.mbn \
"$pkgdir"/lib/firmware/qcom/sdm670/sargo/venus.mbn
install -Dm755 "$builddir"/proprietary/vendor/firmware/wlanmdsp.mbn \
"$pkgdir"/lib/firmware/postmarketos/wlanmdsp.mbn
}
sha512sums="
fbbb852405bd521efa4add32136b25f5d07b0671953b05ec66f7b04b6de483269b1e57500f1a723b6b00abb7b9b405e01d14552c686c5c6ffbdb4d0c14f98af0 c631f0f2aa24ea60cfb505d327cd4ae56ca27f16.tar.gz
"