2023-09-30 23:14:47 +00:00
|
|
|
# Maintainer: Barnabas Czeman <trabarni@gmail.com>
|
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"
|
2023-10-16 12:49:57 +00:00
|
|
|
pkgver=5
|
2023-09-30 23:14:47 +00:00
|
|
|
pkgrel=0
|
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"
|
2023-09-30 23:14:47 +00:00
|
|
|
depends="
|
|
|
|
linux-postmarketos-qcom-msm8953
|
|
|
|
lk2nd-msm8953
|
|
|
|
mkbootimg
|
|
|
|
postmarketos-base
|
|
|
|
soc-qcom-msm8953
|
|
|
|
"
|
2018-04-25 09:40:16 +00:00
|
|
|
makedepends="devicepkg-dev"
|
2023-08-02 17:06:01 +00:00
|
|
|
source="deviceinfo modules-initfs"
|
2023-09-30 23:14:47 +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"
|
2023-09-30 23:14:47 +00:00
|
|
|
depends="
|
|
|
|
firmware-xiaomi-mido
|
|
|
|
linux-firmware-qcom
|
|
|
|
msm-firmware-loader
|
|
|
|
soc-qcom-msm8953-initramfs
|
|
|
|
soc-qcom-msm8953-modem
|
|
|
|
"
|
2018-04-25 09:40:16 +00:00
|
|
|
mkdir "$subpkgdir"
|
|
|
|
}
|
|
|
|
|
2021-07-07 05:06:17 +00:00
|
|
|
sha512sums="
|
2023-08-02 17:06:01 +00:00
|
|
|
cdca8edd4ccb13c0198493dcf14e43a2acf8eaddc1dcfba6eb895485b172c7315ab389011fdf9bb54b68a4fb82c31d9a7b50caa566d1aa992a347facb49758b4 deviceinfo
|
2023-10-16 12:49:57 +00:00
|
|
|
bfcf463fc08b9331d5266d35f6228c6f37032f5792ca6ca51807c9ca7448d2e15825192f374b99cc649b3dd205b358332a3e837d012aa3089515fd133d7d9cb2 modules-initfs
|
2021-07-07 05:06:17 +00:00
|
|
|
"
|