909df1c8e5
This makes sound working [ci:skip-build]: already built successfully in CI
53 lines
1.3 KiB
Text
53 lines
1.3 KiB
Text
# Reference: <https://postmarketos.org/devicepkg>
|
|
# Maintainer: Jenneron <jenneron@protonmail.com>
|
|
pkgname=device-google-hana
|
|
pkgdesc="Google Hana Chromebooks"
|
|
pkgver=1
|
|
pkgrel=2
|
|
url="https://postmarketos.org"
|
|
license="MIT"
|
|
arch="aarch64"
|
|
options="!check !archcheck"
|
|
depends="
|
|
alsa-utils
|
|
depthcharge-tools
|
|
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
|
|
"
|