pmaports/device/testing/firmware-xiaomi-vince/APKBUILD
Barnabás Czémán e184ed832c
xiaomi-vince: switch to msm-firmware-loader and clean ups (MR 4433)
It utilize msm-firmware-loader for minimize device specific firmware package.
It add necessary modules to initramfs for fix fde.
modem package has been removed in favor of soc-qcom-msm8953-modem.
pointercal, fb.modes, 30-gpu-firmware-files has been removed.
2023-10-02 23:02:12 -07:00

25 lines
1,002 B
Text

# Maintainer: m0rf30 <morf3089@gmail.com>
pkgname=firmware-xiaomi-vince
pkgver=4
pkgrel=0
_commit="9acb58a25d66314700eeea15c69c4571154f19cc"
pkgdesc="Firmware files for Xiaomi Redmi 5 Plus"
url="https://postmarketos.org"
arch="aarch64"
license="proprietary"
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"
builddir="$srcdir/postmarketos-vendor-xiaomi-vince-$_commit/gpu"
_fwdir="/lib/firmware"
package() {
# GPU firmwares
install -Dm644 a506_zap.b02 -t "$pkgdir/$_fwdir/postmarketos"
install -Dm644 a506_zap.mdt -t "$pkgdir/$_fwdir/postmarketos"
install -Dm644 a530_pfp.fw -t "$pkgdir/$_fwdir/qcom"
install -Dm644 a530_pm4.fw -t "$pkgdir/$_fwdir/qcom"
}
sha512sums="
edf6dceb50c34c2bed55365ba8322974df6ecac4aafe04af2a95ab2d9cf7f7f69e3182f77747d676a0c20f097a87a1a61f771bcec570f7b0d0021dbddd5cdfac vince-fw-9acb58a25d66314700eeea15c69c4571154f19cc.tar.gz
"