2019-01-19 10:13:50 +00:00
|
|
|
# Reference: <https://postmarketos.org/devicepkg>
|
2020-04-25 09:51:42 +00:00
|
|
|
pkgname=device-xiaomi-tissot
|
2019-01-19 10:13:50 +00:00
|
|
|
pkgdesc="Xiaomi A1"
|
|
|
|
pkgver=0.1
|
2021-04-11 15:59:52 +00:00
|
|
|
pkgrel=6
|
2019-01-19 10:13:50 +00:00
|
|
|
url="https://postmarketos.org"
|
|
|
|
license="MIT"
|
|
|
|
arch="aarch64"
|
|
|
|
options="!check !archcheck"
|
|
|
|
depends="postmarketos-base linux-xiaomi-tissot mkbootimg mesa-dri-swrast msm-fb-refresher"
|
|
|
|
makedepends="devicepkg-dev"
|
2019-02-04 21:45:54 +00:00
|
|
|
source="deviceinfo"
|
|
|
|
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
|
2019-01-19 10:13:50 +00:00
|
|
|
|
|
|
|
build() {
|
|
|
|
devicepkg_build $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
devicepkg_package $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
2019-02-04 21:45:54 +00:00
|
|
|
nonfree_firmware() {
|
|
|
|
pkgdesc="Firmware for xiaomi-tissot"
|
|
|
|
depends="linux-firmware-qcom firmware-xiaomi-tissot"
|
|
|
|
mkdir "$subpkgdir"
|
|
|
|
}
|
|
|
|
|
2021-09-18 17:06:03 +00:00
|
|
|
sha512sums="
|
|
|
|
2b97537e0fc73201678a8056d1c610a8ac60c9d7ac9b34d6aead7090f8bf07c0b5f00641a594505adcdd9de93fbcb029471c3a4a6424d9ed000c8b7333a5e649 deviceinfo
|
|
|
|
"
|