2022-01-01 09:00:00 +00:00
|
|
|
# Unmaintained: Downstream port, only for testing. Use mainline port (xiaomi-tissot)!
|
2019-01-19 10:13:50 +00:00
|
|
|
# Reference: <https://postmarketos.org/devicepkg>
|
2022-01-01 09:00:00 +00:00
|
|
|
pkgname=device-xiaomi-tissot-downstream
|
|
|
|
pkgdesc="Xiaomi Mi A1"
|
2019-01-19 10:13:50 +00:00
|
|
|
pkgver=0.1
|
2022-10-10 19:33:44 +00:00
|
|
|
pkgrel=2
|
2019-01-19 10:13:50 +00:00
|
|
|
url="https://postmarketos.org"
|
|
|
|
license="MIT"
|
|
|
|
arch="aarch64"
|
|
|
|
options="!check !archcheck"
|
2022-10-10 19:33:44 +00:00
|
|
|
depends="postmarketos-base linux-xiaomi-tissot-downstream mkbootimg msm-fb-refresher"
|
2019-01-19 10:13:50 +00:00
|
|
|
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="
|
2022-01-01 09:00:00 +00:00
|
|
|
e4d20e1dfbafcbc0faf8e4456124f2d152b206685430a61ddbcbf61cbc668a30bd9db3f7a18eb62777c08c575d5b91a34e765ba70d3468267d5d090008885199 deviceinfo
|
2021-09-18 17:06:03 +00:00
|
|
|
"
|