pkgname=device-qemu-amd64 pkgver=1 pkgrel=7 pkgdesc="Simulated device in qemu with an x86 platform" url="https://github.com/postmarketOS" arch="noarch" license="MIT" depends="linux-postmarketos" makedepends="" subpackages="$pkgname-mesa $pkgname-x11 $pkgname-weston" source="deviceinfo interfaces weston.ini" options="!check" package() { install -D -m644 "$srcdir"/deviceinfo \ "$pkgdir"/etc/deviceinfo install -D -m644 "$srcdir"/interfaces \ "$pkgdir"/etc/network/interfaces } mesa() { install_if="$pkgname mesa-glapi" depends="mesa-dri-swrast" mkdir "$subpkgdir" } 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="7b190af151bf7b91eebb10902fc815b591b54d3fda5c917957538660baf72dd522782b5d8eaf8ce708a71130d7a8680e4834a0cd89c6c271f9a8dd76f37e5514 deviceinfo d510ca304066840aa5e6c4fc71ded1b7e83012c93837fa39e37bdb873b3636230030d56f7aa50c93fc688f563cb4cb96c02ad333bbc45a400c1ebee1792a9dd4 interfaces df0fe900693e5f176076c59f5379e56aaa96c3df16a4120448f15b71f530170730b43e5fe32733c40c118a00ca3581043231a062a8a1eb0a930bfbfbb6c52a47 weston.ini"