2019-01-19 10:13:50 +00:00
|
|
|
# Reference: <https://postmarketos.org/devicepkg>
|
|
|
|
pkgname="device-xiaomi-tissot"
|
|
|
|
pkgdesc="Xiaomi A1"
|
|
|
|
pkgver=0.1
|
2019-02-04 21:45:54 +00:00
|
|
|
pkgrel=1
|
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"
|
|
|
|
}
|
|
|
|
|
2019-01-19 10:13:50 +00:00
|
|
|
sha512sums="176aa6496dd4bc335fec4ba986348390b60233ba303d3b170650dbe3020e2a15438ca8708f2d9e5fc92e9dc8f3301fe7ba0f8840e953e4591a7bd7da22c0b459 deviceinfo"
|