pmaports/device/community/device-google-gru/APKBUILD

60 lines
1.5 KiB
Text
Raw Normal View History

2023-07-14 21:53:04 +00:00
# Reference: <https://postmarketos.org/devicepkg>
# Maintainer: Jenneron <jenneron@protonmail.com>
pkgname=device-google-gru
pkgdesc="Google Gru Chromebooks"
pkgver=5
pkgrel=4
2023-07-14 21:53:04 +00:00
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
2023-07-14 21:53:04 +00:00
postmarketos-update-depthcharge-kernel
soc-rockchip-rk3399
2023-07-14 21:53:04 +00:00
"
makedepends="devicepkg-dev"
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
source="deviceinfo modules-initfs"
2023-07-14 21:53:04 +00:00
# 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"
2023-07-14 21:53:04 +00:00
mkdir "$subpkgdir"
}
sha512sums="
bf5d1d687e5dd4231eea758611799bfb2aef8caf3314e9469093bf7158ed85dd3aa2fd7894a1a97542a076ddd2ca8a735e54b012f6bee9522fea85d8556a8b90 deviceinfo
a750a0c41068082e0b82351d5aec91715e1a5215b09b26fec644dfe259cea2d662e878433a732a8c06dab2a9b420baec2bcc6161d8357cf3ed770239c5165090 modules-initfs
2023-07-14 21:53:04 +00:00
"