pmaports/device/testing/device-xiaomi-elish/APKBUILD
Newbyte 270e5e28ad
device: drop depend on mesa-dri-gallium (MR 3478)
This is now installed by postmarketos-base when appropriate.
2022-10-11 11:19:43 +02:00

44 lines
901 B
Text

# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-xiaomi-elish
pkgdesc="Xiaomi Mi Pad 5 Pro"
pkgver=0.4
pkgrel=1
url="https://postmarketos.org"
license="MIT"
arch="aarch64"
options="!check !archcheck"
depends="
linux-postmarketos-qcom-sm8250
make-dynpart-mappings
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-touchscreen
firmware-xiaomi-elish-venus
linux-firmware-ath11k
"
mkdir "$subpkgdir"
}
sha512sums="
242ec3dbfed898e1c0cc63edcf49885499c766aa7b38000880867b70605e0f50dbe3c8ac9733e99bd3725fb20d4952f1148416cc1ff5adea3fc576eb21d58260 deviceinfo
"