39 lines
1 KiB
Text
39 lines
1 KiB
Text
# Maintainer: Danila Tikhonov (JIaxyga) <JIaxyga@protonmail.com>
|
|
# Reference: <https://postmarketos.org/devicepkg>
|
|
|
|
pkgname=device-xiaomi-tissot
|
|
pkgdesc="Xiaomi Mi A1"
|
|
pkgver=4
|
|
pkgrel=0
|
|
url="https://postmarketos.org"
|
|
license="MIT"
|
|
arch="aarch64"
|
|
options="!check !archcheck"
|
|
depends="postmarketos-base mkbootimg soc-qcom-msm8916 linux-postmarketos-qcom-msm8953"
|
|
makedepends="devicepkg-dev"
|
|
source="deviceinfo"
|
|
subpackages="$pkgname-nonfree-firmware:nonfree_firmware $pkgname-modem"
|
|
|
|
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="
|
|
c2046a426a7268f777ecaa1add81727170da80bc027ad2a5ab5eec9a134dee91b0f6e64c2f38747f153676e991b7332e8b0c95daed961435c9e8ed8acb1d09d6 deviceinfo
|
|
"
|