2023-09-10 14:57:44 +00:00
|
|
|
# Maintainer: Alejandro Tafalla <alikates@dnyon.com>
|
2020-11-09 17:09:05 +00:00
|
|
|
pkgname=firmware-xiaomi-daisy
|
2023-09-10 14:57:44 +00:00
|
|
|
pkgver=2
|
2024-03-27 19:41:24 +00:00
|
|
|
pkgrel=1
|
2020-11-09 17:09:05 +00:00
|
|
|
pkgdesc="Firmware files for Xiaomi Mi A2 Lite"
|
|
|
|
url="https://postmarketos.org"
|
|
|
|
arch="aarch64"
|
|
|
|
license="proprietary"
|
2021-06-05 18:41:07 +00:00
|
|
|
_repository="firmware-xiaomi-daisy"
|
|
|
|
_commit="9ae200b57743088f83a6f2b02a6b7ce4596a77d6"
|
|
|
|
source="$pkgname-$_commit.tar.gz::https://github.com/alikates/firmware-xiaomi-daisy/archive/$_commit.tar.gz"
|
2021-08-28 19:28:14 +00:00
|
|
|
options="!strip !check !archcheck !spdx !tracedeps pmb:cross-native"
|
2023-09-10 14:57:44 +00:00
|
|
|
builddir="$srcdir/firmware-xiaomi-daisy-$_commit/gpu"
|
2020-11-09 17:09:05 +00:00
|
|
|
|
2024-03-27 19:41:24 +00:00
|
|
|
_fwdir="/lib/firmware/postmarketos"
|
2020-11-09 17:09:05 +00:00
|
|
|
|
|
|
|
package() {
|
2023-09-10 14:57:44 +00:00
|
|
|
# GPU firmwares
|
2024-03-27 19:41:24 +00:00
|
|
|
install -Dm644 a506_zap.b02 -t "$pkgdir/$_fwdir"
|
|
|
|
install -Dm644 a506_zap.mdt -t "$pkgdir/$_fwdir"
|
2020-11-09 17:09:05 +00:00
|
|
|
}
|
|
|
|
|
2021-06-05 18:41:07 +00:00
|
|
|
sha512sums="
|
|
|
|
0778b0c4a7e836c9e0cef842dda2fd9d5eba4693cd875a605413267690d48d9b7ea86b1ece0471e55e5c49d1b3645bee1aa735ba164d0120bdfc94ffffa7e16b firmware-xiaomi-daisy-9ae200b57743088f83a6f2b02a6b7ce4596a77d6.tar.gz
|
|
|
|
"
|