pmaports/device/testing/device-google-hana/APKBUILD

54 lines
1.3 KiB
Text
Raw Normal View History

# Reference: <https://postmarketos.org/devicepkg>
# Maintainer: Jenneron <jenneron@protonmail.com>
pkgname=device-google-hana
pkgdesc="Google Hana Chromebooks"
pkgver=1
pkgrel=0
url="https://postmarketos.org"
license="MIT"
arch="aarch64"
options="!check !archcheck"
depends="
depthcharge-tools
mesa-dri-gallium
postmarketos-base
postmarketos-update-depthcharge-kernel
"
makedepends="devicepkg-dev"
source="deviceinfo"
subpackages="
$pkgname-kernel-hana:kernel_hana
$pkgname-kernel-hana-rev7:kernel_hana_rev7
$pkgname-nonfree-firmware:nonfree_firmware
"
build() {
devicepkg_build $startdir $pkgname
}
package() {
devicepkg_package $startdir $pkgname
}
kernel_hana() {
pkgdesc="Google Hana Rev 1-6"
depends="linux-postmarketos-mediatek-mt8173"
devicepkg_subpackage_kernel $startdir $pkgname $subpkgname
}
kernel_hana_rev7() {
pkgdesc="Google Hana Rev 7"
depends="linux-postmarketos-mediatek-mt8173"
devicepkg_subpackage_kernel $startdir $pkgname $subpkgname
}
nonfree_firmware() {
pkgdesc="WiFi/BT and GPU firmware"
depends="linux-firmware-mrvl linux-firmware-mediatek firmware-powervr-gx6250"
mkdir "$subpkgdir"
}
sha512sums="
a6bcef8552c7b64d966701b774c91c977a432813af217aa72fd2e2b2378dd93e2290becbf6cd38275e92082157b9757eddd7af606caa69036a5aea113ba4789d deviceinfo
"