# Reference: <https://postmarketos.org/devicepkg>
maintainer=""
pkgname=device-lynx-r1
pkgdesc="Lynx R1"
pkgver=3
pkgrel=0
url="https://postmarketos.org"
license="MIT"
arch="aarch64"
options="!check !archcheck"
depends="
	firmware-qcom-adreno-a650
	firmware-lynx-r1-adreno
	firmware-lynx-r1-adsp
	firmware-lynx-r1-cdsp
	firmware-lynx-r1-cvpss
	firmware-lynx-r1-slpi
	firmware-lynx-r1-venus
	linux-lynx-r1
	mkbootimg
	postmarketos-base
"
makedepends="devicepkg-dev"
source="deviceinfo kernel-cmdline.conf"

build() {
	devicepkg_build $startdir $pkgname
}

package() {
	devicepkg_package $startdir $pkgname
}

sha512sums="
b668905da35cf26fca3727034f71eba5879e9cec48ee2b26b24a2b0269a0e640ecebd5f25fddfa14df50006bfa4df9a29653f77b0825d68ea7cd6e7af6a38e91  deviceinfo
a0e00bd913b562af6f81b407e3571360356a46d2c7a2fef0f45d1685ba2b2a248600beba97b6324766e58bc6438b22d4b0c0a3aae0f1d347154b86468e785120  kernel-cmdline.conf
"
