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:
parent
0b0f1a8c44
commit
dc9160c2af
2 changed files with 5 additions and 4 deletions
|
@ -1,13 +1,14 @@
|
|||
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
||||
# Contributor: Antoine Fontaine <antoine.fontaine@epfl.ch>
|
||||
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
||||
pkgname=postmarketos-ui-kodi
|
||||
pkgver=1
|
||||
pkgrel=2
|
||||
pkgrel=3
|
||||
pkgdesc="(Wayland) 10-foot UI useful on TV's"
|
||||
url="https://kodi.tv"
|
||||
arch="noarch"
|
||||
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"
|
||||
source="60-lightdm-autologin.conf kodi.desktop"
|
||||
options="!check"
|
||||
|
@ -19,4 +20,4 @@ package() {
|
|||
"$pkgdir"/usr/share/wayland-sessions/kodi-wayland.desktop
|
||||
}
|
||||
sha512sums="4cbef7ef9b4da927e123ea28c5918f49ec4dc1367774596e1bc192f172e1e09cb9711015e20743a7fbb3bbbc8ca6df2bee66571a28fb530e2e9d24d945eb982a 60-lightdm-autologin.conf
|
||||
e8ab71c6e7d07c0c22f8f85398f33ecc7ed1b4ec865c8bf8e0d0aa589b51fbb16e79601974139990946c163c7008c67c3798bef29d10300365ac720e296729ef kodi.desktop"
|
||||
fc7d545310a77845af88638e95a72f8774be4fb91231554ac91a2dfcd65d11aed5e6cea550548df5e12c49963968a17a89429fc0fb3ebf4a6843d95dccad7eee kodi.desktop"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[Desktop Entry]
|
||||
Name=Kodi (Wayland)
|
||||
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
|
||||
Type=Application
|
||||
|
|
Loading…
Reference in a new issue