2020-06-05 11:34:07 +00:00
|
|
|
# Reference: <https://postmarketos.org/devicepkg>
|
|
|
|
pkgname=device-xiaomi-ferrari
|
|
|
|
pkgdesc="Xiaomi Mi 4i"
|
|
|
|
pkgver=0.1
|
2021-07-07 05:06:17 +00:00
|
|
|
pkgrel=3
|
2020-06-05 11:34:07 +00:00
|
|
|
url="https://postmarketos.org"
|
|
|
|
license="MIT"
|
|
|
|
arch="aarch64"
|
|
|
|
options="!check !archcheck"
|
|
|
|
depends="postmarketos-base linux-xiaomi-ferrari mkbootimg mesa-dri-swrast msm-fb-refresher"
|
|
|
|
makedepends="devicepkg-dev"
|
|
|
|
source="deviceinfo"
|
|
|
|
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
|
|
|
|
|
|
|
|
build() {
|
|
|
|
devicepkg_build $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
devicepkg_package $startdir $pkgname
|
|
|
|
|
|
|
|
}
|
|
|
|
nonfree_firmware() {
|
2020-12-25 10:14:30 +00:00
|
|
|
pkgdesc="Proprietary firmware blobs for WIFI, GPU, Touchscreen,etc"
|
2020-06-05 11:34:07 +00:00
|
|
|
depends="firmware-xiaomi-ferrari"
|
|
|
|
mkdir "$subpkgdir"
|
|
|
|
}
|
|
|
|
|
2021-07-07 05:06:17 +00:00
|
|
|
sha512sums="
|
2021-09-18 17:06:03 +00:00
|
|
|
0c844c649397186dcd5d978d24750f705b153d3531aa4370c9385aa068f62f5c4cd5ec5d36e967616d27cf925acd8d748f660addd8e19c45d59c27a425930da1 deviceinfo
|
2021-07-07 05:06:17 +00:00
|
|
|
"
|