pmaports/device/testing/firmware-xiaomi-markw/APKBUILD
Barnabás Czémán 00b7fe46b3
xiaomi-markw: 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 intramfs for fix fde.
modem package has been removed in favor of soc-qcom-msm8953-modem.
30-gpu-firmware-files has been removed.
2023-10-02 23:02:12 -07:00

28 lines
1,016 B
Text

# Maintainer: vipaoL <vipaolmail@gmail.com>
pkgname=firmware-xiaomi-markw
pkgver=2
pkgrel=0
pkgdesc="Firmware files for Xiaomi Redmi 4 Prime (markw)"
url="https://gitlab.com/vipaoL/firmware-xiaomi-markw"
arch="aarch64"
license="proprietary"
options="!strip !check !archcheck !spdx !tracedeps pmb:cross-native"
_commit="8cc7f7d9e56aa9fa0193403b694115d759eafaf2"
source="$pkgname-$_commit.tar.gz::$url/-/archive/$_commit/$pkgname-$_commit.tar.gz"
builddir="$srcdir/$pkgname-$_commit/lib/firmware/postmarketos"
_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="
f57ec60776f0cfd89ccc0f4a561aa261367b299796b4a9121814c560eab7a28b3049a3defcc129942098b88937fad8f6c3bbf2d1ac7d89d4175c8ec4014c1a8a firmware-xiaomi-markw-8cc7f7d9e56aa9fa0193403b694115d759eafaf2.tar.gz
"