# Reference: <https://postmarketos.org/devicepkg>
# Maintainer: Jenneron <jenneron@protonmail.com>
pkgname=device-google-dumo
pkgdesc="ASUS Chromebook Tablet CT100"
pkgver=2
pkgrel=0
url="https://postmarketos.org"
license="MIT"
arch="aarch64"
options="!check !archcheck"
depends="
	alsa-ucm-conf-google-gru
	depthcharge-tools
	linux-postmarketos-rockchip
	postmarketos-base
	postmarketos-update-depthcharge-kernel
"
makedepends="devicepkg-dev"
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
source="deviceinfo"

build() {
	devicepkg_build $startdir $pkgname
}

package() {
	devicepkg_package $startdir $pkgname
}

nonfree_firmware() {
	pkgdesc="WiFi/BT and DP firmware"
	depends="linux-firmware-ath10k linux-firmware-rockchip"
	mkdir "$subpkgdir"
}

sha512sums="
1547a00470afb8353bc4b961592dd77dc3a82b48970ff187531719449027befd69dd7e95897b02910302d096b076ad559d61f8baf7811b439275558b0b99ab82  deviceinfo
"
