2023-09-30 23:14:47 +00:00
|
|
|
# Maintainer: Barnabas Czeman <trabarni@gmail.com>
|
2018-04-25 09:40:16 +00:00
|
|
|
pkgname=firmware-xiaomi-mido
|
2023-09-30 23:14:47 +00:00
|
|
|
pkgver=3
|
2020-11-13 22:38:56 +00:00
|
|
|
pkgrel=0
|
|
|
|
pkgdesc="Firmware for Xiaomi Redmi Note 4X"
|
|
|
|
url="https://github.com/Kiciuk/proprietary_firmware_mido"
|
2018-11-07 07:43:32 +00:00
|
|
|
arch="aarch64"
|
2018-04-25 09:40:16 +00:00
|
|
|
license="proprietary"
|
2021-08-28 19:28:14 +00:00
|
|
|
options="!check !strip !archcheck !tracedeps pmb:cross-native"
|
2020-11-13 22:38:56 +00:00
|
|
|
_commit="bc001cbb255a0ded2b58af07b93f712cd9322483"
|
|
|
|
source="https://github.com/Kiciuk/proprietary_firmware_mido/archive/$_commit.zip"
|
2023-09-30 23:14:47 +00:00
|
|
|
builddir="$srcdir/proprietary_firmware_mido-$_commit/apnhlos"
|
2018-04-25 09:40:16 +00:00
|
|
|
|
2020-11-13 22:38:56 +00:00
|
|
|
_fwdir="/lib/firmware/postmarketos"
|
2018-04-25 09:40:16 +00:00
|
|
|
|
2020-01-06 17:41:58 +00:00
|
|
|
package() {
|
2020-11-13 22:38:56 +00:00
|
|
|
# GPU firmware
|
2023-09-30 23:14:47 +00:00
|
|
|
install -Dm644 a506_zap.mdt -t "$pkgdir/$_fwdir"
|
|
|
|
install -Dm644 a506_zap.b02 -t "$pkgdir/$_fwdir"
|
2018-04-25 09:40:16 +00:00
|
|
|
}
|
|
|
|
|
2020-11-13 22:38:56 +00:00
|
|
|
sha512sums="09a671286f1bc2389763432b42be30d2a7b52717cc2f2cb1dc0e144d3ade84fadcfd3971b5dec7bbc04750fac93be0ef2bba81bbd6740ce3da396899c03f0a1c bc001cbb255a0ded2b58af07b93f712cd9322483.zip"
|