pmaports/device/testing/device-xiaomi-elish/APKBUILD
Jianhua Lu 3629ac421a
device-xiaomi-elish: enable display and gpu (MR 3138)
Signed-off-by: Jianhua Lu <lujianhua000@gmail.com>

[ci:skip-build] Already built successfuly on CI in MR
2022-05-17 15:37:25 +02:00

41 lines
806 B
Text

# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-xiaomi-elish
pkgdesc="Xiaomi Mi Pad 5 Pro"
pkgver=0.2
pkgrel=0
url="https://postmarketos.org"
license="MIT"
arch="aarch64"
options="!check !archcheck"
depends="
linux-postmarketos-qcom-sm8250
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
"
mkdir "$subpkgdir"
}
sha512sums="
94d4e40d06a8d2e7f652e5db45057f67925f505e4c12091ee931820f5578f7c80ece22aa654cc33b3b7e849f902295a4bd2b002b465fa8350895298a764849fa deviceinfo
"