pkgname=device-qemu-amd64 pkgver=1 pkgrel=15 pkgdesc="Simulated device in qemu with an x86 platform" url="https://github.com/postmarketOS" arch="noarch" license="MIT" # NOTE: 'pmbootstrap init' allows you to choose the mesa-dri-* package depends="postmarketos-base linux-postmarketos-lts" makedepends="" subpackages="$pkgname-x11 $pkgname-weston" source="deviceinfo weston.ini" options="!check" package() { install -D -m644 "$srcdir"/deviceinfo \ "$pkgdir"/etc/deviceinfo } x11() { install_if="$pkgname xorg-server" depends="xf86-video-qxl" mkdir "$subpkgdir" } weston() { install_if="$pkgname weston" install -Dm644 "$srcdir"/weston.ini \ "$subpkgdir"/etc/xdg/weston/weston.ini } sha512sums="29e2bf334a04ede2cc48095190cfb9d4cc47d8bf2ff68ea06452bfd1ed26765a2dd39cc525953cdf00f2d6919ac914c5d3a7b3f9d7f0ea2af75ef7c466bf2164 deviceinfo df0fe900693e5f176076c59f5379e56aaa96c3df16a4120448f15b71f530170730b43e5fe32733c40c118a00ca3581043231a062a8a1eb0a930bfbfbb6c52a47 weston.ini"