2023-08-18 23:03:54 +00:00
|
|
|
# Maintainer: Barnabas Czeman <trabarni@gmail.com>
|
2023-06-26 23:22:50 +00:00
|
|
|
pkgname=firmware-xiaomi-ysl
|
2023-09-30 14:01:58 +00:00
|
|
|
pkgver=3
|
2024-03-27 20:04:08 +00:00
|
|
|
pkgrel=1
|
2023-06-26 23:22:50 +00:00
|
|
|
pkgdesc="Firmware files for Xiaomi Redmi S2/Y2"
|
2023-08-18 23:03:54 +00:00
|
|
|
url="https://gitlab.com/barni2000/$pkgname"
|
2023-06-26 23:22:50 +00:00
|
|
|
arch="aarch64"
|
|
|
|
license="proprietary"
|
|
|
|
options="!strip !check !archcheck !spdx !tracedeps pmb:cross-native"
|
|
|
|
|
2023-08-15 19:51:31 +00:00
|
|
|
_commit="ccfd274b825aec2d80e834b16499a6d9ba96c3f5"
|
2023-06-26 23:22:50 +00:00
|
|
|
|
2023-09-30 14:01:58 +00:00
|
|
|
source="$pkgname-$_commit.tar.gz::$url/-/archive/$_commit/$pkgname-$_commit.tar.gz"
|
|
|
|
builddir="$srcdir/$pkgname-$_commit/lib/firmware/postmarketos"
|
2023-06-26 23:22:50 +00:00
|
|
|
|
2024-03-27 20:04:08 +00:00
|
|
|
_fwdir="/lib/firmware/postmarketos"
|
2023-06-26 23:22:50 +00:00
|
|
|
|
2023-09-30 14:01:58 +00:00
|
|
|
package() {
|
|
|
|
# GPU Firmware files
|
2024-03-27 20:04:08 +00:00
|
|
|
install -Dm644 a506_zap.b02 -t "$pkgdir/$_fwdir"
|
|
|
|
install -Dm644 a506_zap.mdt -t "$pkgdir/$_fwdir"
|
2023-06-26 23:22:50 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
sha512sums="
|
2023-09-30 14:01:58 +00:00
|
|
|
cd2d84dac3660fe554cba6d6d2ac0c6c7468cfd37bc443400ee1c2bc4a2ed3cb3e7120a413d7bed3c0bad2b5acb234599dd5a0f2e42f6696779c07c3e5c3c575 firmware-xiaomi-ysl-ccfd274b825aec2d80e834b16499a6d9ba96c3f5.tar.gz
|
2023-06-26 23:22:50 +00:00
|
|
|
"
|