2022-10-26 21:45:45 +00:00
|
|
|
# Maintainer: Richard Acayan <mailingradian@gmail.com>
|
|
|
|
pkgname=firmware-google-sargo
|
|
|
|
pkgver=220505.008
|
2023-04-07 01:19:34 +00:00
|
|
|
pkgrel=3
|
2022-10-26 21:45:45 +00:00
|
|
|
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
|
2022-12-07 02:34:32 +00:00
|
|
|
pil-squasher ipa_fws.mbn proprietary/vendor/firmware/ipa_fws.mdt
|
2022-10-26 21:45:45 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2023-04-07 01:19:34 +00:00
|
|
|
install -Dm644 "$builddir"/a615_zap.mbn \
|
2022-10-26 21:45:45 +00:00
|
|
|
"$pkgdir"/lib/firmware/qcom/sdm670/sargo/a615_zap.mbn
|
2023-04-07 01:19:34 +00:00
|
|
|
install -Dm644 "$builddir"/ipa_fws.mbn \
|
2022-12-07 02:34:32 +00:00
|
|
|
"$pkgdir"/lib/firmware/qcom/sdm670/sargo/ipa_fws.mbn
|
2023-03-01 02:48:52 +00:00
|
|
|
|
2023-04-07 01:19:34 +00:00
|
|
|
install -Dm644 "$builddir"/proprietary/vendor/firmware/adsp.mbn \
|
2023-03-01 02:48:52 +00:00
|
|
|
"$pkgdir"/lib/firmware/qcom/sdm670/sargo/adsp.mbn
|
2023-04-07 01:19:34 +00:00
|
|
|
install -Dm644 "$builddir"/proprietary/vendor/firmware/adspr.jsn \
|
|
|
|
"$pkgdir"/lib/firmware/qcom/sdm670/sargo/adspr.jsn
|
|
|
|
install -Dm644 "$builddir"/proprietary/vendor/firmware/adspua.jsn \
|
|
|
|
"$pkgdir"/lib/firmware/qcom/sdm670/sargo/adspua.jsn
|
|
|
|
install -Dm644 "$builddir"/proprietary/vendor/firmware/modemuw.jsn \
|
2022-12-07 02:34:32 +00:00
|
|
|
"$pkgdir"/lib/firmware/postmarketos/modemuw.jsn
|
2023-04-07 01:19:34 +00:00
|
|
|
install -Dm644 "$builddir"/proprietary/vendor/firmware/venus.mbn \
|
2022-10-26 21:45:45 +00:00
|
|
|
"$pkgdir"/lib/firmware/qcom/sdm670/sargo/venus.mbn
|
2023-04-07 01:19:34 +00:00
|
|
|
install -Dm644 "$builddir"/proprietary/vendor/firmware/wlanmdsp.mbn \
|
2022-12-07 02:34:32 +00:00
|
|
|
"$pkgdir"/lib/firmware/postmarketos/wlanmdsp.mbn
|
2022-10-26 21:45:45 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
sha512sums="
|
|
|
|
fbbb852405bd521efa4add32136b25f5d07b0671953b05ec66f7b04b6de483269b1e57500f1a723b6b00abb7b9b405e01d14552c686c5c6ffbdb4d0c14f98af0 c631f0f2aa24ea60cfb505d327cd4ae56ca27f16.tar.gz
|
|
|
|
"
|