2019-01-19 10:13:50 +00:00
|
|
|
# Reference: <https://postmarketos.org/devicepkg>
|
2020-01-10 10:32:58 +00:00
|
|
|
# Contributor: Ion Agorria <ion@agorria.com>
|
2019-01-19 10:13:50 +00:00
|
|
|
pkgname="device-xiaomi-tissot"
|
|
|
|
pkgdesc="Xiaomi A1"
|
|
|
|
pkgver=0.1
|
2020-03-07 18:58:32 +00:00
|
|
|
pkgrel=4
|
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"
|
|
|
|
}
|
|
|
|
|
2020-03-07 16:10:22 +00:00
|
|
|
sha512sums="cf52d61d85448148e025fd9996d5b17e360449bdb20ba1ea3e323acfcb2e35265b88a3f153c2df2700b0ff2dda2d01815c286e8faa5571874dd9fe21ff3eb5e1 deviceinfo"
|