2020-05-24 10:11:50 +00:00
|
|
|
# Maintainer: m0rf30 <morf3089@gmail.com>
|
|
|
|
pkgname=firmware-xiaomi-vince
|
2023-04-24 10:32:54 +00:00
|
|
|
pkgver=3
|
2020-05-24 10:11:50 +00:00
|
|
|
pkgrel=0
|
2023-04-24 10:32:54 +00:00
|
|
|
_commit="9acb58a25d66314700eeea15c69c4571154f19cc"
|
2020-05-24 10:11:50 +00:00
|
|
|
pkgdesc="Firmware files for Xiaomi Redmi 5 Plus"
|
|
|
|
url="https://postmarketos.org"
|
|
|
|
arch="aarch64"
|
|
|
|
license="proprietary"
|
|
|
|
depends="wcnss-wlan adsp-audio"
|
2022-09-17 09:39:13 +00:00
|
|
|
source="vince-fw-$_commit.tar.gz::https://github.com/M0Rf30/postmarketos-vendor-xiaomi-vince/archive/$_commit.tar.gz"
|
2021-08-28 19:28:14 +00:00
|
|
|
options="!strip !check !archcheck !spdx !tracedeps pmb:cross-native"
|
2020-05-24 10:11:50 +00:00
|
|
|
|
2022-09-17 09:39:13 +00:00
|
|
|
_fwdir="/lib/firmware/postmarketos"
|
2020-05-24 10:11:50 +00:00
|
|
|
|
|
|
|
package() {
|
2022-09-17 09:39:13 +00:00
|
|
|
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"
|
2020-05-24 10:11:50 +00:00
|
|
|
}
|
|
|
|
|
2022-09-17 09:39:13 +00:00
|
|
|
sha512sums="
|
2023-04-24 10:32:54 +00:00
|
|
|
edf6dceb50c34c2bed55365ba8322974df6ecac4aafe04af2a95ab2d9cf7f7f69e3182f77747d676a0c20f097a87a1a61f771bcec570f7b0d0021dbddd5cdfac vince-fw-9acb58a25d66314700eeea15c69c4571154f19cc.tar.gz
|
2022-09-17 09:39:13 +00:00
|
|
|
"
|