pmaports/device/community/device-google-gru/APKBUILD
Pablo Correa Gómez cf69326222
device/*: rebuild all devices (MR 4551)
[ci:ignore-count]
2024-01-22 19:32:30 +01:00

59 lines
1.5 KiB
Text

# Reference: <https://postmarketos.org/devicepkg>
# Maintainer: Jenneron <jenneron@protonmail.com>
pkgname=device-google-gru
pkgdesc="Google Gru Chromebooks"
pkgver=5
pkgrel=6
url="https://postmarketos.org"
license="MIT"
arch="aarch64"
options="!check !archcheck"
depends="
alsa-ucm-conf-google-gru
depthcharge-tools
eudev-hwids>=3.2.12-r0
linux-postmarketos-rockchip
postmarketos-base
postmarketos-cros-common
postmarketos-update-depthcharge-kernel
soc-rockchip-rk3399
"
makedepends="devicepkg-dev"
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
source="deviceinfo modules-initfs"
# provides and replaces to switch old installations to this package
provides="
device-google-dru=$pkgver-r$pkgrel
device-google-druwl=$pkgver-r$pkgrel
device-google-dumo=$pkgver-r$pkgrel
device-google-kevin=$pkgver-r$pkgrel
device-google-bob=$pkgver-r$pkgrel
"
replaces="
device-google-dru
device-google-druwl
device-google-dumo
device-google-kevin
device-google-bob
"
build() {
devicepkg_build $startdir $pkgname
}
package() {
devicepkg_package $startdir $pkgname
}
nonfree_firmware() {
pkgdesc="WiFi/BT and DP firmware"
depends="linux-firmware-ath10k linux-firmware-qca linux-firmware-mrvl linux-firmware-rockchip"
mkdir "$subpkgdir"
}
sha512sums="
bf5d1d687e5dd4231eea758611799bfb2aef8caf3314e9469093bf7158ed85dd3aa2fd7894a1a97542a076ddd2ca8a735e54b012f6bee9522fea85d8556a8b90 deviceinfo
a750a0c41068082e0b82351d5aec91715e1a5215b09b26fec644dfe259cea2d662e878433a732a8c06dab2a9b420baec2bcc6161d8357cf3ed770239c5165090 modules-initfs
"