main/postmarketos-ui-asteroid: launch mapplauncherd booster (MR 4063)

All Asteroid apps are launched with the "invoker" which needs the
booster running. Make sure this happens when the UI starts.

Alternatively we could use superd to launch it but for a single
executable this is good enough for now.
This commit is contained in:
Luca Weiss 2023-05-08 16:38:46 +02:00 committed by Newbyte
parent 4ded17dc1e
commit 74c7092bbd
No known key found for this signature in database
GPG key ID: 990600ED1DB95E02
2 changed files with 9 additions and 5 deletions

View file

@ -1,8 +1,8 @@
# Reference: https://postmarketos.org/uipkg # Reference: https://postmarketos.org/uipkg
# Maintainer: Bart Ribbers <bribbers@disroot.org> # Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=postmarketos-ui-asteroid pkgname=postmarketos-ui-asteroid
pkgver=0.1 pkgver=0.2
pkgrel=4 pkgrel=0
pkgdesc="(Wayland) Smartwatch UI from AsteroidOS" pkgdesc="(Wayland) Smartwatch UI from AsteroidOS"
url="https://wiki.postmarketos.org/wiki/AsteroidOS" url="https://wiki.postmarketos.org/wiki/AsteroidOS"
# armhf blocked by asteroid-launcher # armhf blocked by asteroid-launcher
@ -49,6 +49,8 @@ package() {
install -Dm755 "$srcdir"/gtk-app-wayland.sh -t "$pkgdir"/etc/profile.d/ install -Dm755 "$srcdir"/gtk-app-wayland.sh -t "$pkgdir"/etc/profile.d/
} }
sha512sums="6dab13e0fb128cce487554871ce4786334b46e0f8f0ffbef0a222607e04f5b49660872ea59b322790e4e35f9b7a53040233823308ba280a8b21c86a412405ec0 asteroid.desktop sha512sums="
3795b5e385bbe37a19879ba1fa6b31c3649f304f8e2a9fc2e83987483d2529c0f74aaba4b097e0c5a7aadd97eafe9f1e2c5c1e44dbf41a04768db27843b9bcbd asteroid-launcher-wrapper.sh 6dab13e0fb128cce487554871ce4786334b46e0f8f0ffbef0a222607e04f5b49660872ea59b322790e4e35f9b7a53040233823308ba280a8b21c86a412405ec0 asteroid.desktop
57793bb079c76ba3bdcfca7880aa887de11fe80e7a05557b78435e57feabab70fbaeedc42da3aec6f914c35bba8e8ee9918367516eb45ee247f63f694624f179 gtk-app-wayland.sh" d6895807af865d89982c65cfda6616a55dfdaca3979ef045188489359462a87c0ffc51afc6779ba2aede614c13787a7499d6e7543c8a27e3210758b87b08f876 asteroid-launcher-wrapper.sh
57793bb079c76ba3bdcfca7880aa887de11fe80e7a05557b78435e57feabab70fbaeedc42da3aec6f914c35bba8e8ee9918367516eb45ee247f63f694624f179 gtk-app-wayland.sh
"

View file

@ -8,4 +8,6 @@ export QT_QPA_EGLFS_INTEGRATION=eglfs_kms
# has chosen their language in the setup screen # has chosen their language in the setup screen
export LANG=en_GB.utf8 export LANG=en_GB.utf8
/usr/libexec/mapplauncherd/booster-qt5 &
/usr/bin/asteroid-launcher /usr/bin/asteroid-launcher