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-18 20:27:34 +00:00
|
|
|
pkgver=5
|
2023-04-22 14:11:31 +00:00
|
|
|
pkgrel=0
|
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
|
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-07-18 20:27:34 +00:00
|
|
|
790152582c48be0a2b0f1be8b928da679e089abefebfccf771d03cf8dab74b3a7b3e5f2d7f89a1817767265ae7c4c94475c6258cb0ae7b3b0f9cbc04965dfb51 deviceinfo
|
2021-06-05 23:44:54 +00:00
|
|
|
302c0bec754bb79ef561c1a8d4ff34ba52b904c853bce6a15a79ba7b5b7a3d02c1c75bbe86d59be7b608a6dc744dd3e3c638eaa4539c53d20fa55fa5ea397d74 30-gpu-firmware.files
|
|
|
|
"
|