2022-01-22 12:44:03 +00:00
|
|
|
# Reference: <https://postmarketos.org/devicepkg>
|
|
|
|
pkgname=device-xiaomi-elish
|
2022-05-16 19:24:38 +00:00
|
|
|
pkgdesc="Xiaomi Mi Pad 5 Pro"
|
2023-03-07 06:03:22 +00:00
|
|
|
pkgver=0.5
|
|
|
|
pkgrel=0
|
2022-01-22 12:44:03 +00:00
|
|
|
url="https://postmarketos.org"
|
|
|
|
license="MIT"
|
|
|
|
arch="aarch64"
|
|
|
|
options="!check !archcheck"
|
|
|
|
depends="
|
|
|
|
linux-postmarketos-qcom-sm8250
|
2022-07-04 11:49:21 +00:00
|
|
|
make-dynpart-mappings
|
2022-01-22 12:44:03 +00:00
|
|
|
mkbootimg
|
|
|
|
postmarketos-base
|
|
|
|
"
|
|
|
|
makedepends="devicepkg-dev"
|
|
|
|
source="deviceinfo"
|
|
|
|
|
2022-05-16 19:24:38 +00:00
|
|
|
subpackages="
|
|
|
|
$pkgname-nonfree-firmware:nonfree_firmware
|
|
|
|
"
|
|
|
|
|
2022-01-22 12:44:03 +00:00
|
|
|
build() {
|
|
|
|
devicepkg_build $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
devicepkg_package $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
2022-05-16 19:24:38 +00:00
|
|
|
nonfree_firmware() {
|
|
|
|
pkgdesc="Firmware for GPU, WiFi, etc."
|
|
|
|
depends="
|
|
|
|
firmware-xiaomi-elish-adreno
|
2023-03-07 06:03:22 +00:00
|
|
|
firmware-xiaomi-elish-adsp
|
|
|
|
firmware-xiaomi-elish-cdsp
|
|
|
|
firmware-xiaomi-elish-slpi
|
2022-08-21 05:36:15 +00:00
|
|
|
firmware-xiaomi-elish-touchscreen
|
2022-07-04 11:49:21 +00:00
|
|
|
firmware-xiaomi-elish-venus
|
|
|
|
linux-firmware-ath11k
|
2023-03-07 06:03:22 +00:00
|
|
|
linux-firmware-qca
|
2022-05-16 19:24:38 +00:00
|
|
|
"
|
|
|
|
mkdir "$subpkgdir"
|
|
|
|
}
|
|
|
|
|
2022-01-22 12:44:03 +00:00
|
|
|
sha512sums="
|
2023-03-07 06:03:22 +00:00
|
|
|
93cbe7765f03f9f52a9b6f09e812e30f6ffa1309d86dc8bf5812dc93cd6c62ec864ec4c95dfaf5de976ebd49148f29ab0d4fd759a68964b36de58d726314a74b deviceinfo
|
2022-01-22 12:44:03 +00:00
|
|
|
"
|