# Reference: <https://postmarketos.org/devicepkg>
# Co-Maintainer: Alexander Martinz <amartinz@shiftphones.com>
maintainer="Casey Connolly <kcxt@postmarketos.org>"
pkgname=device-shift-otter
pkgdesc="SHIFTphone 8"
pkgver=3
pkgrel=0
url="https://postmarketos.org"
license="MIT"
arch="aarch64"
options="!check !archcheck"
depends="
	firmware-qcom-adreno-a660
	firmware-shift-otter
	linux-firmware-ath11k
	linux-postmarketos-qcom-sc7280
	make-dynpart-mappings
	mkbootimg
	postmarketos-base
	soc-qcom
	soc-qcom-modem
	soc-qcom-pd-mapper
	soc-qcom-qbootctl
	unl0kr-fbforcerefresh
"
makedepends="devicepkg-dev"
source="
	deviceinfo
	modules-initfs
"

build() {
	devicepkg_build $startdir $pkgname
}

package() {
	devicepkg_package $startdir $pkgname
}

sha512sums="
79385aeea0ea2d964070ac83effbe2a5531b3023bed2cd9de395a2c34a813b6a7068eea992a16bc11ae16a5dbbc84201a501dbaeca72cb217681dcd2d27228d2  deviceinfo
57316402c428390cb683f03da817308e008e246e01e88c95d60fc14d736156ce6cc7915633d973347a56c721022913192928799310f14839afe8d00de2efa14c  modules-initfs
"
