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
|
2020-05-17 13:33:49 +00:00
|
|
|
pkgrel=5
|
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-05-17 13:33:49 +00:00
|
|
|
sha512sums="54e8f9c481968348bc81621b342027bb5d1db117e021103fc05e782244bc7722a3f64abf95384970db97d42c2bef5c87295ebf2a5a378fc08b3cabb26b56d7f1 deviceinfo"
|