pmaports/device/testing/firmware-xiaomi-mido/APKBUILD
Barnabás Czémán 2b11f2b778
xiaomi-mido: switch to msm-firmware-loader and clean ups (MR 4433)
Utilize msm-firmware-loader for minimize device specific
firmware package.
Add necessary modules to initramfs for fix fde.
Use soc-qcom-msm8953-modem and soc-qcom-msm8953-initramfs as a dependency.
2023-10-02 23:02:12 -07:00

22 lines
852 B
Text

# Maintainer: Barnabas Czeman <trabarni@gmail.com>
pkgname=firmware-xiaomi-mido
pkgver=3
pkgrel=0
pkgdesc="Firmware for Xiaomi Redmi Note 4X"
url="https://github.com/Kiciuk/proprietary_firmware_mido"
arch="aarch64"
license="proprietary"
options="!check !strip !archcheck !tracedeps pmb:cross-native"
_commit="bc001cbb255a0ded2b58af07b93f712cd9322483"
source="https://github.com/Kiciuk/proprietary_firmware_mido/archive/$_commit.zip"
builddir="$srcdir/proprietary_firmware_mido-$_commit/apnhlos"
_fwdir="/lib/firmware/postmarketos"
package() {
# GPU firmware
install -Dm644 a506_zap.mdt -t "$pkgdir/$_fwdir"
install -Dm644 a506_zap.b02 -t "$pkgdir/$_fwdir"
}
sha512sums="09a671286f1bc2389763432b42be30d2a7b52717cc2f2cb1dc0e144d3ade84fadcfd3971b5dec7bbc04750fac93be0ef2bba81bbd6740ce3da396899c03f0a1c bc001cbb255a0ded2b58af07b93f712cd9322483.zip"