bbec7c41ea
For postmarketOS/pmaports#157 [skip ci]
51 lines
1.3 KiB
Text
51 lines
1.3 KiB
Text
pkgname=device-qemu-amd64
|
|
pkgver=1
|
|
pkgrel=19
|
|
pkgdesc="Simulated device in qemu with an x86 platform"
|
|
url="https://postmarketos.org"
|
|
arch="x86_64"
|
|
license="MIT"
|
|
# NOTE: 'pmbootstrap init' allows you to choose the mesa-dri-* package
|
|
depends="postmarketos-base"
|
|
makedepends=""
|
|
subpackages="
|
|
$pkgname-x11
|
|
$pkgname-weston
|
|
$pkgname-kernel-stable:kernel_stable
|
|
$pkgname-kernel-mainline:kernel_mainline
|
|
"
|
|
|
|
source="deviceinfo weston.ini"
|
|
options="!check !archcheck"
|
|
|
|
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
|
|
}
|
|
|
|
kernel_stable() {
|
|
pkgdesc="Stable for everyday usage (recommended)"
|
|
depends="linux-postmarketos-stable"
|
|
mkdir "$subpkgdir"
|
|
}
|
|
|
|
kernel_mainline() {
|
|
pkgdesc="Newest kernel features"
|
|
depends="linux-postmarketos-mainline"
|
|
mkdir "$subpkgdir"
|
|
}
|
|
|
|
sha512sums="12a8f36ae33ccc630b70249ec7d8c637f83b874228f8d6d8678d439ffa589e5d2c57b1f29398ee0bf67cc8f9c51f86715a83ca5ece3ba3cfce19886b1254f6ad deviceinfo
|
|
47b27c7572b8737988488f7eb23b9e68f9a944e22baafe1c78355d2514a2554cf41d99b29fca12238eb13a6f5d53f00ca89b94e534e8461ebab72256dcf0f142 weston.ini"
|