# Reference: <https://postmarketos.org/devicepkg>
maintainer="User0 <user0thenyancat@proton.me>"
pkgname=device-amazon-checkers
pkgdesc="Amazon Echo Show 5 1st Generation"
pkgver=2
pkgrel=1
url="https://postmarketos.org"
license="MIT"
arch="armv7"
options="!check !archcheck"

# without the firmware package, the kernel seems to look for it for ~2 to ~3 mins,
# therefore putting this in depends and not _pmb_recommends
#
# pulseaudio crashes the kernel
depends="
	firmware-amazon-checkers
	linux-amazon-checkers
	mkbootimg
	postmarketos-base
	postmarketos-base-downstream
	!postmarketos-base-ui-audio-backend-pulseaudio
"
makedepends="devicepkg-dev"

source="
	deviceinfo
	modules-load.conf
"

build() {
	devicepkg_build $startdir $pkgname
}

package() {
	devicepkg_package $startdir $pkgname
}

sha512sums="
6a57608e01fe37118c87fbbc0e4c945661fabee07e50da280944f947d37919e175b6e2161e5c98052ecb9c9553ca20f7884a3bd5fefed37b58e18deba467ba9b  deviceinfo
36298b8b278a3bc09ede09680533a54dc68ba265d79c4d701a54375b2be133bd23d133733187637b5a3d4b364be7a0740a9530f117e575866a49bd3229e8c0ef  modules-load.conf
"
