2022-01-01 20:47:54 +00:00
|
|
|
# Maintainer: Alikates <alikates@dnyon.com>
|
2020-11-09 17:09:05 +00:00
|
|
|
# Reference: <https://postmarketos.org/devicepkg>
|
|
|
|
pkgname=device-xiaomi-daisy
|
|
|
|
pkgdesc="Xiaomi Mi A2 Lite"
|
2023-07-29 22:58:56 +00:00
|
|
|
pkgver=6
|
2023-08-02 17:06:01 +00:00
|
|
|
pkgrel=1
|
2020-11-09 17:09:05 +00:00
|
|
|
url="https://postmarketos.org"
|
|
|
|
license="MIT"
|
|
|
|
arch="aarch64"
|
|
|
|
options="!check !archcheck"
|
2023-07-18 20:27:34 +00:00
|
|
|
depends="postmarketos-base mkbootimg linux-postmarketos-qcom-msm8953"
|
2020-11-09 17:09:05 +00:00
|
|
|
makedepends="devicepkg-dev"
|
2021-06-09 17:56:24 +00:00
|
|
|
subpackages="
|
|
|
|
$pkgname-nonfree-firmware:nonfree_firmware
|
2021-09-14 10:05:04 +00:00
|
|
|
$pkgname-modem
|
2021-06-09 17:56:24 +00:00
|
|
|
"
|
|
|
|
source="
|
|
|
|
deviceinfo
|
2023-08-02 17:06:01 +00:00
|
|
|
modules-initfs
|
2021-06-05 23:44:54 +00:00
|
|
|
30-gpu-firmware.files
|
2020-11-09 17:09:05 +00:00
|
|
|
"
|
|
|
|
|
|
|
|
build() {
|
|
|
|
devicepkg_build $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
devicepkg_package $startdir $pkgname
|
2023-02-18 23:11:48 +00:00
|
|
|
install -Dm0644 "$srcdir"/30-gpu-firmware.files "$pkgdir"/usr/share/mkinitfs/files/30-gpu-firmware.files
|
2020-11-09 17:09:05 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
nonfree_firmware() {
|
|
|
|
pkgdesc="Wi-Fi, ADSP Firmware"
|
|
|
|
depends="firmware-xiaomi-daisy"
|
|
|
|
mkdir "$subpkgdir"
|
|
|
|
}
|
|
|
|
|
2021-09-14 10:05:04 +00:00
|
|
|
modem() {
|
|
|
|
depends="qrtr rmtfs rmtfs-openrc msm-modem-uim-selection"
|
|
|
|
install_if="$pkgname=$pkgver-r$pkgrel $pkgname-nonfree-firmware"
|
|
|
|
mkdir "$subpkgdir"
|
|
|
|
}
|
|
|
|
|
2021-06-05 23:44:54 +00:00
|
|
|
sha512sums="
|
2023-08-02 17:06:01 +00:00
|
|
|
8c5980c1da9e5bc91f11bb8056ac9a225cb84a90a42a964dc0dc2966220c105683081055fdcb1caa8c198019d8373d8c5fe27155429c17814d34075d5f961aa4 deviceinfo
|
|
|
|
cb1729cae5703aaf3aee069af5f3440b84d0958f4c3a9c5c027d4e6b62ca0792d2e09cbb9afb86e00e192cc29de41ebdc8365c09a1656867941acff098e07fb8 modules-initfs
|
2021-06-05 23:44:54 +00:00
|
|
|
302c0bec754bb79ef561c1a8d4ff34ba52b904c853bce6a15a79ba7b5b7a3d02c1c75bbe86d59be7b608a6dc744dd3e3c638eaa4539c53d20fa55fa5ea397d74 30-gpu-firmware.files
|
|
|
|
"
|