pmaports/device/community/device-google-oak/APKBUILD
2024-06-22 00:14:03 +03:00

45 lines
1.3 KiB
Text

# Reference: <https://postmarketos.org/devicepkg>
# Maintainer: Adam Thiede <me@adamthiede.com>
# Co-Maintainer: Jenneron <jenneron@protonmail.com>
pkgname=device-google-oak
pkgdesc="Google Oak Chromebooks"
pkgver=5
pkgrel=0
url="https://postmarketos.org"
license="MIT"
arch="aarch64"
options="!check !archcheck"
depends="
alsa-utils
depthcharge-tools
linux-postmarketos-mediatek-mt8173
postmarketos-base
postmarketos-cros-common
postmarketos-initramfs-minimal
"
makedepends="devicepkg-dev"
source="deviceinfo modules-initfs"
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
# provides and replaces to switch old installations to this package
provides="google-elm=$pkgver-r$pkgrel google-hana=$pkgver-r$pkgrel"
replaces="google-elm google-hana"
build() {
devicepkg_build $startdir $pkgname
}
package() {
devicepkg_package $startdir $pkgname
}
nonfree_firmware() {
pkgdesc="WiFi/BT and GPU firmware"
depends="linux-firmware-mrvl linux-firmware-mediatek firmware-powervr-gx6250"
mkdir "$subpkgdir"
}
sha512sums="
ebf7ed07ffcfe30c01c717db00c255e2c650339bace70afffcac4566267da8b6d3e22f819601be2ee355d2c1f56b01e37fca5566a2517fc1ffb642e530b674fb deviceinfo
4b0197eacfeeb4b13f5abc26950f570ee762742547674ce10110ccea63eb46630a2e3b5f87e9c9a1f9deda21baf05bec248ab7a65656687ec94d296b5657dafa modules-initfs
"