pmaports/device/testing/device-xiaomi-ferrari/APKBUILD

32 lines
815 B
Text
Raw Normal View History

# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-xiaomi-ferrari
pkgdesc="Xiaomi Mi 4i"
pkgver=0.1
pkgrel=3
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() {
pkgdesc="Proprietary firmware blobs for WIFI, GPU, Touchscreen,etc"
depends="firmware-xiaomi-ferrari"
mkdir "$subpkgdir"
}
sha512sums="
c5837278b14d42c64c5f50720af3571cf7306e1567489581a2a5d655db586a2eb619939bb7f79719b41454f6489abb71737711b7591ae0e9ed9bac2956e3384f deviceinfo
"