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-09-30 23:14:47 +00:00
|
|
|
pkgver=4
|
|
|
|
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-09-30 23:14:47 +00:00
|
|
|
9654cd063b4698fca513f3bd527bfa5f26c3ac371b67c8efbffc9fdd5b69d2ea2c587646bded4a9dcf091208f034c44cd12bae351597d68026e24335d78b9a1f modules-initfs
|
2021-07-07 05:06:17 +00:00
|
|
|
"
|