2020-04-25 09:51:42 +00:00
|
|
|
pkgname=device-xiaomi-mido
|
2020-11-13 22:38:56 +00:00
|
|
|
pkgdesc="Xiaomi Redmi Note 4X"
|
|
|
|
pkgver=1.0
|
2022-01-20 22:01:52 +00:00
|
|
|
pkgrel=3
|
2018-04-25 09:40:16 +00:00
|
|
|
url="https://postmarketos.org"
|
|
|
|
license="MIT"
|
2018-11-07 06:45:58 +00:00
|
|
|
arch="aarch64"
|
|
|
|
options="!check !archcheck"
|
2020-11-13 22:38:56 +00:00
|
|
|
depends="postmarketos-base mkbootimg soc-qcom-msm8916 linux-postmarketos-qcom-msm8953"
|
2018-04-25 09:40:16 +00:00
|
|
|
makedepends="devicepkg-dev"
|
|
|
|
source="deviceinfo"
|
2020-11-13 22:38:56 +00:00
|
|
|
subpackages="
|
|
|
|
$pkgname-nonfree-firmware:nonfree_firmware
|
|
|
|
"
|
2018-04-25 09:40:16 +00:00
|
|
|
build() {
|
|
|
|
devicepkg_build $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
devicepkg_package $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
nonfree_firmware() {
|
2020-11-13 22:38:56 +00:00
|
|
|
pkgdesc="Proprietary firmware"
|
|
|
|
depends="linux-firmware-qcom firmware-xiaomi-mido"
|
2018-04-25 09:40:16 +00:00
|
|
|
mkdir "$subpkgdir"
|
|
|
|
}
|
|
|
|
|
2021-07-07 05:06:17 +00:00
|
|
|
sha512sums="
|
|
|
|
bb472be955dcfcdec22c4021c05ecdeea1302ff9764e498585efc09219e90dcf5861b9c0ef3aaaa6c5830332474e5fd7dfa0f6acf5d3980928f3655f01993f27 deviceinfo
|
|
|
|
"
|