main/postmarketos-ui-kodi: fix startup and missing deps (MR 1176)

fixes the desktop file:
* add -- to make cage ignore kodi's arguments
* add --standalone to kodi's arguments

update the dependencies:
* add upower as kodi tries to communicate with it to read battery status
* add pulseaudio as kodi complains it is missing
* add elogind as it is required for cage to run
* remove xorg-server

Fixes #469
This commit is contained in:
Antoine Fontaine 2020-04-22 00:01:43 +02:00 committed by Alexey Min
parent 0b0f1a8c44
commit dc9160c2af
No known key found for this signature in database
GPG key ID: EBF5ECFFFEE34DED
2 changed files with 5 additions and 4 deletions

View file

@ -1,13 +1,14 @@
# Contributor: Bart Ribbers <bribbers@disroot.org> # Contributor: Bart Ribbers <bribbers@disroot.org>
# Contributor: Antoine Fontaine <antoine.fontaine@epfl.ch>
# Maintainer: Bart Ribbers <bribbers@disroot.org> # Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=postmarketos-ui-kodi pkgname=postmarketos-ui-kodi
pkgver=1 pkgver=1
pkgrel=2 pkgrel=3
pkgdesc="(Wayland) 10-foot UI useful on TV's" pkgdesc="(Wayland) 10-foot UI useful on TV's"
url="https://kodi.tv" url="https://kodi.tv"
arch="noarch" arch="noarch"
license="GPL-3.0-or-later" license="GPL-3.0-or-later"
depends="kodi-wayland kodi cage lightdm lightdm-openrc xorg-server" depends="kodi-wayland kodi cage lightdm lightdm-openrc elogind pulseaudio upower"
install="$pkgname.post-install $pkgname.post-upgrade" install="$pkgname.post-install $pkgname.post-upgrade"
source="60-lightdm-autologin.conf kodi.desktop" source="60-lightdm-autologin.conf kodi.desktop"
options="!check" options="!check"
@ -19,4 +20,4 @@ package() {
"$pkgdir"/usr/share/wayland-sessions/kodi-wayland.desktop "$pkgdir"/usr/share/wayland-sessions/kodi-wayland.desktop
} }
sha512sums="4cbef7ef9b4da927e123ea28c5918f49ec4dc1367774596e1bc192f172e1e09cb9711015e20743a7fbb3bbbc8ca6df2bee66571a28fb530e2e9d24d945eb982a 60-lightdm-autologin.conf sha512sums="4cbef7ef9b4da927e123ea28c5918f49ec4dc1367774596e1bc192f172e1e09cb9711015e20743a7fbb3bbbc8ca6df2bee66571a28fb530e2e9d24d945eb982a 60-lightdm-autologin.conf
e8ab71c6e7d07c0c22f8f85398f33ecc7ed1b4ec865c8bf8e0d0aa589b51fbb16e79601974139990946c163c7008c67c3798bef29d10300365ac720e296729ef kodi.desktop" fc7d545310a77845af88638e95a72f8774be4fb91231554ac91a2dfcd65d11aed5e6cea550548df5e12c49963968a17a89429fc0fb3ebf4a6843d95dccad7eee kodi.desktop"

View file

@ -1,6 +1,6 @@
[Desktop Entry] [Desktop Entry]
Name=Kodi (Wayland) Name=Kodi (Wayland)
Comment=This session will start Kodi media center Comment=This session will start Kodi media center
Exec=cage /usr/bin/kodi --windowing wayland Exec=cage -- /usr/bin/kodi --windowing wayland --standalone
TryExec=/usr/lib/kodi/kodi-wayland TryExec=/usr/lib/kodi/kodi-wayland
Type=Application Type=Application