2023-08-15 18:32:31 +00:00
|
|
|
# Maintainer: Barnabas Czeman <trabarni@gmail.com>
|
|
|
|
# Reference: <https://postmarketos.org/devicepkg>
|
|
|
|
|
|
|
|
pkgname=device-xiaomi-onclite
|
|
|
|
pkgdesc="Xiaomi Redmi 7"
|
2023-10-17 17:19:22 +00:00
|
|
|
pkgver=3
|
2024-01-21 22:56:08 +00:00
|
|
|
pkgrel=1
|
2023-08-15 18:32:31 +00:00
|
|
|
url="https://postmarketos.org"
|
|
|
|
license="MIT"
|
|
|
|
arch="aarch64"
|
|
|
|
options="!check !archcheck"
|
|
|
|
depends="
|
|
|
|
linux-postmarketos-qcom-msm8953
|
|
|
|
lk2nd-msm8953
|
|
|
|
mkbootimg
|
|
|
|
postmarketos-base
|
|
|
|
soc-qcom-msm8953
|
|
|
|
"
|
|
|
|
makedepends="devicepkg-dev"
|
|
|
|
source="deviceinfo modules-initfs"
|
2023-10-02 22:30:33 +00:00
|
|
|
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
|
2023-08-15 18:32:31 +00:00
|
|
|
|
|
|
|
build() {
|
|
|
|
devicepkg_build $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
devicepkg_package $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
nonfree_firmware() {
|
2023-10-02 22:30:33 +00:00
|
|
|
pkgdesc="Modem, WiFi, BT, ADSP, Venus and GPU Firmware"
|
|
|
|
depends="
|
|
|
|
firmware-xiaomi-onclite
|
|
|
|
msm-firmware-loader
|
|
|
|
soc-qcom-msm8953-initramfs
|
|
|
|
soc-qcom-msm8953-modem
|
|
|
|
"
|
2023-08-15 18:32:31 +00:00
|
|
|
mkdir "$subpkgdir"
|
|
|
|
}
|
|
|
|
|
|
|
|
sha512sums="
|
|
|
|
f034295150acd176b9e9afe1936778d977cc220a9980e2081df3de7aa6705b2b0e86eaacdc84290b204729d5e3b8c23da71c41fc8a972519a8a0aa4e41d3599d deviceinfo
|
2023-10-17 17:19:22 +00:00
|
|
|
706e76054992dfd03ef240e0de2d7e84a77c97727141fa8d737b02c9d780f60c2df57755e17c44d93136aa6a6d1f8a8d9dbbf51d11674e5fb67197bd313811fd modules-initfs
|
2023-08-15 18:32:31 +00:00
|
|
|
"
|