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="
|
|
|
|
c5837278b14d42c64c5f50720af3571cf7306e1567489581a2a5d655db586a2eb619939bb7f79719b41454f6489abb71737711b7591ae0e9ed9bac2956e3384f deviceinfo
|
|
|
|
"
|