faebdf6ba8
Fix corrupted adreno blob
51 lines
1.6 KiB
Text
51 lines
1.6 KiB
Text
# Maintainer: m0rf30 <morf3089@gmail.com>
|
|
pkgname=firmware-xiaomi-vince
|
|
pkgver=2
|
|
pkgrel=0
|
|
_commit="9ecd545a85eb0d78d1ffd3d5507dcb793294d6c7"
|
|
pkgdesc="Firmware files for Xiaomi Redmi 5 Plus"
|
|
url="https://postmarketos.org"
|
|
arch="aarch64"
|
|
license="proprietary"
|
|
depends="wcnss-wlan adsp-audio"
|
|
source="vince-fw-$_commit.tar.gz::https://github.com/M0Rf30/postmarketos-vendor-xiaomi-vince/archive/$_commit.tar.gz"
|
|
options="!strip !check !archcheck !spdx !tracedeps pmb:cross-native"
|
|
|
|
_fwdir="/lib/firmware/postmarketos"
|
|
|
|
package() {
|
|
cd "$srcdir/postmarketos-vendor-xiaomi-vince-$_commit"
|
|
|
|
# ADSP firmware
|
|
install -Dm0644 adsp/adsp.* -t "$pkgdir/$_fwdir"
|
|
|
|
# Camera firmware
|
|
install -Dm0644 camera/*.fw -t "$pkgdir/$_fwdir"
|
|
|
|
# Fingerprint firmware
|
|
install -Dm0644 fingerprint/goodix_firmware.bin -t "$pkgdir/$_fwdir"
|
|
|
|
# GPU and video acceleration firmwares
|
|
install -Dm0644 gpu/a530* -t "$pkgdir/$_fwdir/../qcom"
|
|
install -Dm0644 gpu/a506_zap.* -t "$pkgdir/$_fwdir"
|
|
|
|
install -Dm0644 venus/venus.* -t "$pkgdir/$_fwdir"
|
|
|
|
# Modem firmware
|
|
install -Dm0644 modem/mba.mbn -t "$pkgdir/$_fwdir"
|
|
install -Dm0644 modem/modem.* -t "$pkgdir/$_fwdir"
|
|
|
|
# Speaker Amp firmware
|
|
install -Dm0644 speakeramp/*.bin -t "$pkgdir/$_fwdir"
|
|
|
|
# Touchscreen firmware
|
|
install -Dm0644 touchscreen/novatek_ts_fw.bin -t "$pkgdir/$_fwdir"
|
|
|
|
# Wifi/BT firmware
|
|
install -Dm0644 wcnss/wcnss.* -t "$pkgdir/$_fwdir"
|
|
cp -r wlan "$pkgdir/$_fwdir"
|
|
}
|
|
|
|
sha512sums="
|
|
45c840d3fec59ead78e78fc634cbca5dabd3dcef0f02592827196fb92475404b5a2a77a385da38236b2f983054c9ced4fe77ef198d9bdca65f7db2ba7a37e0af vince-fw-9ecd545a85eb0d78d1ffd3d5507dcb793294d6c7.tar.gz
|
|
"
|