f27ec087f8
[ci:skip-build] already built successfully in CI
44 lines
883 B
Text
44 lines
883 B
Text
# Reference: <https://postmarketos.org/devicepkg>
|
|
pkgname=device-xiaomi-elish
|
|
pkgdesc="Xiaomi Mi Pad 5 Pro"
|
|
pkgver=0.3
|
|
pkgrel=0
|
|
url="https://postmarketos.org"
|
|
license="MIT"
|
|
arch="aarch64"
|
|
options="!check !archcheck"
|
|
depends="
|
|
linux-postmarketos-qcom-sm8250
|
|
make-dynpart-mappings
|
|
mesa-dri-gallium
|
|
mkbootimg
|
|
postmarketos-base
|
|
"
|
|
makedepends="devicepkg-dev"
|
|
source="deviceinfo"
|
|
|
|
subpackages="
|
|
$pkgname-nonfree-firmware:nonfree_firmware
|
|
"
|
|
|
|
build() {
|
|
devicepkg_build $startdir $pkgname
|
|
}
|
|
|
|
package() {
|
|
devicepkg_package $startdir $pkgname
|
|
}
|
|
|
|
nonfree_firmware() {
|
|
pkgdesc="Firmware for GPU, WiFi, etc."
|
|
depends="
|
|
firmware-xiaomi-elish-adreno
|
|
firmware-xiaomi-elish-venus
|
|
linux-firmware-ath11k
|
|
"
|
|
mkdir "$subpkgdir"
|
|
}
|
|
|
|
sha512sums="
|
|
6d8d5611237cf282d8099a128a8fae2d6dcb149126a6774747e3008a5da92c67600bce7353fd9216c91f916cf06b89649fad151509171cf20fce4e195aa49d7c deviceinfo
|
|
"
|