# Reference: <https://postmarketos.org/devicepkg>
# Maintainer: Jenneron <jenneron@protonmail.com>
pkgname=device-google-veyron-mickey
pkgdesc="ASUS Chromebit CS10"
pkgver=1
pkgrel=0
url="https://postmarketos.org"
license="MIT"
arch="armv7"
options="!check !archcheck"
depends="
	alsa-ucm-conf
	depthcharge-tools
	linux-google-veyron
	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 firmware"
	depends="firmware-google-veyron-brcm"
	mkdir "$subpkgdir"
}

sha512sums="
31254c8c606dd450db0ea159cd7c3ae13e7be2a8f03f7fb990f03aa5aa9e180d822770766cfdd51429f2cbfc9a98051e598efa80396e8c613513fac71eae98ea  deviceinfo
"
