main/postmarketos-ui-weston: launch dbus with weston (!1118)

This commit is contained in:
Antoine Fontaine 2020-04-03 10:56:13 +02:00 committed by Oliver Smith
parent a81946781a
commit dafe96e37e
No known key found for this signature in database
GPG key ID: 5AE7F5513E0885CB
2 changed files with 5 additions and 2 deletions

View file

@ -2,7 +2,7 @@
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=postmarketos-ui-weston
pkgver=4
pkgrel=14
pkgrel=15
pkgdesc="(Wayland) Reference compositor (demo, not a phone interface)"
url="https://postmarketos.org"
arch="noarch"
@ -22,6 +22,6 @@ package() {
install -Dm644 "$srcdir"/weston.ini.default \
"$pkgdir"/etc/xdg/weston/weston.ini.default
}
sha512sums="39166e8128f6fbdceb9b60ac6491bffaa620875ebe807bf2c20e4a837428ee6fbc6a758f31e536df635c1cf5ce2c9b803af5c82c52dc0198247844a1b9a46e5e start_weston.sh
sha512sums="02cb16254fa6bff405bd19448daeb1b4c2ac1fa696b6f7d67ea89795e4480ed1a9b5487dc00fc671d31d175fc8b8e509071b53dba879519a69d54648a076a549 start_weston.sh
b712c9d4c846437656781656ec15e9b7e238a9244e0b77bf84b67f6661d44f68718330706f69ccb8b4d7f6182b8f17f273018ca461c0c40e49b9185f6eec168d weston.ini.default
6800b81055c854ef69c0084341e31841d4b06d1d894542f1e125d0d70b6606f11218bda0d29dab9a48594b4c2f815a540f91bfba6c2c22c3378040c41fe4bbb1 60-lightdm-autologin.conf"

View file

@ -18,6 +18,9 @@ cfg="/etc/xdg/weston/weston.ini"
[ -e "$cfg" ] || cfg="$cfg.default"
WESTON_OPTS="--config=$cfg"
# Start dbus and export its environment variables
eval "$(dbus-launch --sh-syntax --exit-with-session)"
# #633: Weston doesn't support autostarting applications (yet), so
# we try to run postmarketos-demos for 10 seconds, until it succeeds.
(