# Reference: <https://postmarketos.org/devicepkg>
maintainer="Barnabas Czeman <barnabas.czeman@postmarketos.org>"
pkgname=device-qcom-msm89x7
pkgdesc="Generic device package for various Qualcomm MSM8917/MSM8937/MSM8940-based devices"
pkgver=7
pkgrel=0
url="https://postmarketos.org"
license="MIT"
arch="aarch64"
options="!check !archcheck"
depends="
	firmware-qcom-adreno-a300
	firmware-qcom-adreno-a530
	firmware-qcom-msm89x7
	linux-postmarketos-qcom-msm89x7
	lk2nd-msm8952
	mkbootimg
	msm-firmware-loader
	postmarketos-base
	qbootctl
	soc-qcom-msm89x7
"
makedepends="devicepkg-dev"
source="
	deviceinfo
	modules-initfs
"

build() {
	devicepkg_build $startdir $pkgname
}

package() {
	devicepkg_package $startdir $pkgname
}

sha512sums="
6d859b6e25b2d7ab4db4315e05392330b16b356f3c2c2a379fdd97a348ad665ffa9e5b9debdc32894f7f7febe0eb2e23a5981be8f6d1211419d429eaeb2565ec  deviceinfo
7c3b00d1e35b9dfea3faa563bf3194a4f7bdebad24b69675737da0be5025f3d73c4bbdb5c088d487cd558c9ef8a9ed7f6392e904067d2bb31780322fa4e88a74  modules-initfs
"
