pkgname=device-qemu-aarch64
pkgver=1
pkgrel=14
pkgdesc="Simulated device in qemu with vexpress soc"
url="https://postmarketos.org"
arch="aarch64"
license="MIT"
# NOTE: 'pmbootstrap init' allows you to choose the mesa-dri-* package
depends="postmarketos-base linux-postmarketos-stable"
makedepends=""
subpackages="$pkgname-weston"
source="deviceinfo weston.ini"
options="!check !archcheck"

package() {
	install -D -m644 "$srcdir"/deviceinfo \
		"$pkgdir"/etc/deviceinfo
}

weston() {
    install_if="$pkgname weston"
    install -Dm644 "$srcdir"/weston.ini \
        "$subpkgdir"/etc/xdg/weston/weston.ini
}


sha512sums="ccf2b5b2867a206af6188eb3d08a840782dda9c0fb88b9052c29a44121a64a3404664c054f056a0d69918f83997f1c94e42c094cf351fe75648f0f4c48a1359e  deviceinfo
de794566118f1744d068a94e6a75b61d43f6749a4b0871a5270fa7a2048164d609c71fcffa61845c2a7dd4cb5fbeb72c0e4f8b73b382f36d6ff0bcc9b8a5ae25  weston.ini"
