pmaports/device/testing/device-xiaomi-mido/APKBUILD
Pablo Correa Gómez ea93a6d07f
device/*: rebuild all devices to relocate deviceinfo (MR 4283)
[ci:ignore-count]
[ci:skip-build]: already built successfully in CI
2023-09-25 09:21:03 +02:00

32 lines
919 B
Text

pkgname=device-xiaomi-mido
pkgdesc="Xiaomi Redmi Note 4X"
pkgver=3
pkgrel=4
url="https://postmarketos.org"
license="MIT"
arch="aarch64"
options="!check !archcheck"
depends="postmarketos-base mkbootimg soc-qcom-msm8953 linux-postmarketos-qcom-msm8953 lk2nd-msm8953"
makedepends="devicepkg-dev"
source="deviceinfo modules-initfs"
subpackages="
$pkgname-nonfree-firmware:nonfree_firmware
"
build() {
devicepkg_build $startdir $pkgname
}
package() {
devicepkg_package $startdir $pkgname
}
nonfree_firmware() {
pkgdesc="Proprietary firmware"
depends="linux-firmware-qcom firmware-xiaomi-mido"
mkdir "$subpkgdir"
}
sha512sums="
cdca8edd4ccb13c0198493dcf14e43a2acf8eaddc1dcfba6eb895485b172c7315ab389011fdf9bb54b68a4fb82c31d9a7b50caa566d1aa992a347facb49758b4 deviceinfo
261ec93707743390e0db7bdc33099fa145b479a3c5c45b8aa25e555a649ddacb63b1ed2c2524b71b876dc2f2540eca47392d6670c314c858ba6b3266274d4a42 modules-initfs
"