qemu-amd64: use postmarketos-ui-sway-logo-key-alt (MR 2162)

This commit is contained in:
Oliver Smith 2021-07-03 10:11:53 +02:00
parent 66752818bf
commit 4c0b0d80db
No known key found for this signature in database
GPG key ID: 5AE7F5513E0885CB

View file

@ -2,8 +2,8 @@
# Maintainer: Minecrell <minecrell@minecrell.net>
# Co-Maintainer: Daniele Debernardi <drebrez@gmail.com>
pkgname=device-qemu-amd64
pkgver=2.2
pkgrel=2
pkgver=2.3
pkgrel=0
pkgdesc="Simulated device in QEMU (x86_64)"
url="https://postmarketos.org"
arch="x86_64"
@ -14,6 +14,7 @@ subpackages="
$pkgname-kernel-lts:kernel_lts
$pkgname-kernel-virt:kernel_virt
$pkgname-mce
$pkgname-sway
$pkgname-weston
$pkgname-xfce4
"
@ -34,19 +35,25 @@ package() {
mce() {
pkgdesc="Prevents screen blanking for UI's using mce (Glacier, Asteroid)"
install_if="$pkgname mce"
install_if="$pkgname=$pkgver-r$pkgrel mce"
install -Dm644 "$srcdir"/mce-display-blanking.conf \
"$subpkgdir"/etc/mce/50display-blanking.conf
}
sway() {
install_if="$pkgname=$pkgver-r$pkgrel sway"
depends="postmarketos-ui-sway-logo-key-alt"
mkdir "$subpkgdir"
}
weston() {
install_if="$pkgname weston"
install_if="$pkgname=$pkgver-r$pkgrel weston"
install -Dm644 "$srcdir"/weston.ini \
"$subpkgdir"/etc/xdg/weston/weston.ini
}
xfce4() {
install_if="$pkgname postmarketos-ui-xfce4"
install_if="$pkgname=$pkgver-r$pkgrel postmarketos-ui-xfce4"
install="$subpkgname.post-install"
mkdir "$subpkgdir"
}