pmaports/device/testing/firmware-xiaomi-onclite/APKBUILD
Barnabás Czémán 114420bb05
xiaomi-onclite: depend on soc-qcom-msm8953 modem and initramfs subpackages (MR 4445)
Depend on soc-qcom-msm8953-modem and initramfs.
Add necessary modules to initfs for fix touchscreen under fde.

[ci:skip-build]: already built successfully in CI
2023-10-04 08:13:52 +02:00

27 lines
960 B
Text

# Maintainer: Barnabas Czeman <trabarni@gmail.com>
pkgname=firmware-xiaomi-onclite
pkgver=2
pkgrel=0
pkgdesc="Firmware files for Xiaomi Redmi 7"
url="https://gitlab.com/barni2000/$pkgname"
arch="aarch64"
license="proprietary"
options="!strip !check !archcheck !spdx !tracedeps pmb:cross-native"
_commit="5ab4968ab12acb60a5e165008fdf25345e80c309"
source="$pkgname-$_commit.tar.gz::$url/-/archive/$_commit/$pkgname-$_commit.tar.gz"
builddir="$srcdir/$pkgname-$_commit"
_fwdir="/lib/firmware"
package() {
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="
e95cf73b4a2e13c8ea3296670177372f5e3c07f40e73806546f7c28a12a3ba5a3b735994dcaeacb8da59f5e3561ab6b061cedd77757cf58686907d32b1a7162a firmware-xiaomi-onclite-5ab4968ab12acb60a5e165008fdf25345e80c309.tar.gz
"