2022-01-01 09:00:00 +00:00
|
|
|
# Maintainer: Danila Tikhonov (JIaxyga) <JIaxyga@protonmail.com>
|
|
|
|
# Reference: <https://postmarketos.org/devicepkg>
|
|
|
|
|
|
|
|
pkgname=device-xiaomi-tissot
|
|
|
|
pkgdesc="Xiaomi Mi A1"
|
2023-07-19 19:39:54 +00:00
|
|
|
pkgver=4
|
2023-04-22 14:12:02 +00:00
|
|
|
pkgrel=0
|
2022-01-01 09:00:00 +00:00
|
|
|
url="https://postmarketos.org"
|
|
|
|
license="MIT"
|
|
|
|
arch="aarch64"
|
|
|
|
options="!check !archcheck"
|
2022-10-10 19:33:44 +00:00
|
|
|
depends="postmarketos-base mkbootimg soc-qcom-msm8916 linux-postmarketos-qcom-msm8953"
|
2022-01-01 09:00:00 +00:00
|
|
|
makedepends="devicepkg-dev"
|
2023-07-19 19:39:54 +00:00
|
|
|
source="deviceinfo"
|
|
|
|
subpackages="$pkgname-nonfree-firmware:nonfree_firmware $pkgname-modem"
|
2022-01-01 09:00:00 +00:00
|
|
|
|
|
|
|
build() {
|
|
|
|
devicepkg_build $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
devicepkg_package $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
nonfree_firmware() {
|
|
|
|
pkgdesc="Modem, WiFi, BT, ADSP, Venus and GPU Firmware, also needed for osk-sdl"
|
|
|
|
depends="firmware-xiaomi-tissot"
|
|
|
|
mkdir "$subpkgdir"
|
|
|
|
}
|
|
|
|
|
|
|
|
modem() {
|
|
|
|
depends="qrtr rmtfs rmtfs-openrc msm-modem-uim-selection"
|
|
|
|
install_if="$pkgname=$pkgver-r$pkgrel $pkgname-nonfree-firmware"
|
|
|
|
mkdir "$subpkgdir"
|
|
|
|
}
|
|
|
|
|
|
|
|
sha512sums="
|
2023-05-06 14:20:13 +00:00
|
|
|
c2046a426a7268f777ecaa1add81727170da80bc027ad2a5ab5eec9a134dee91b0f6e64c2f38747f153676e991b7332e8b0c95daed961435c9e8ed8acb1d09d6 deviceinfo
|
2022-01-01 09:00:00 +00:00
|
|
|
"
|