986fd72cd7
[ci:skip-build]: already built successfully in CI
48 lines
1.4 KiB
Text
48 lines
1.4 KiB
Text
pkgname=firmware-xiaomi-elish
|
|
pkgver=20220808
|
|
pkgrel=0
|
|
pkgdesc="Firmware for Xiaomi Mi Pad 5 Pro"
|
|
subpackages="
|
|
$pkgname-adreno
|
|
$pkgname-touchscreen
|
|
$pkgname-venus
|
|
"
|
|
url="https://github.com/lujianhua/xiaomi-elish-firmware"
|
|
arch="aarch64"
|
|
license="proprietary"
|
|
options="!check !strip !archcheck !tracedeps pmb:cross-native"
|
|
_commit="cc6099f43db44f70565a419fa4ce5dd8d6d9ec9d"
|
|
source="https://github.com/lujianhua/xiaomi-elish-firmware/archive/$_commit/xiaomi-elish-firmware-$_commit.tar.gz"
|
|
builddir="$srcdir/xiaomi-elish-firmware-$_commit"
|
|
|
|
package() {
|
|
# parent package is empty
|
|
mkdir -p "$pkgdir"
|
|
}
|
|
|
|
# Xiaomi elish boots with secure boot, it can only load signed firmwares.
|
|
adreno() {
|
|
pkgdesc="Xiaomi elish adreno firmware"
|
|
depends="firmware-qcom-adreno-a650"
|
|
|
|
install -Dm644 "$builddir"/sm8250/a650_zap.mbn -t \
|
|
"$subpkgdir/lib/firmware/qcom/sm8250/elish/"
|
|
}
|
|
|
|
touchscreen() {
|
|
pkgdesc="Xiaomi elish touchscreen firmware"
|
|
|
|
install -Dm644 "$builddir"/novatek/nt36523.bin -t \
|
|
"$subpkgdir/lib/firmware/novatek/"
|
|
}
|
|
|
|
venus() {
|
|
pkgdesc="Xiaomi elish venus firmware"
|
|
|
|
install -Dm644 "$builddir"/sm8250/venus.mbn -t \
|
|
"$subpkgdir/lib/firmware/qcom/sm8250/elish/"
|
|
}
|
|
|
|
sha512sums="
|
|
a89d7478fc6c8c6a52f3f09ce33b2e8a4964113b2fdaadfd48e31aba1852d3d716e99eb34ec85c155e7a1d0e20ec7bb7cbe553a94b6371721db078d53194738d xiaomi-elish-firmware-cc6099f43db44f70565a419fa4ce5dd8d6d9ec9d.tar.gz
|
|
"
|