From dc9160c2af5cb664d63d1c6d41205b987711b9b2 Mon Sep 17 00:00:00 2001 From: Antoine Fontaine Date: Wed, 22 Apr 2020 00:01:43 +0200 Subject: [PATCH] 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 --- main/postmarketos-ui-kodi/APKBUILD | 7 ++++--- main/postmarketos-ui-kodi/kodi.desktop | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/main/postmarketos-ui-kodi/APKBUILD b/main/postmarketos-ui-kodi/APKBUILD index 9c9dede17..4a89001e8 100644 --- a/main/postmarketos-ui-kodi/APKBUILD +++ b/main/postmarketos-ui-kodi/APKBUILD @@ -1,13 +1,14 @@ # Contributor: Bart Ribbers +# Contributor: Antoine Fontaine # Maintainer: Bart Ribbers 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" diff --git a/main/postmarketos-ui-kodi/kodi.desktop b/main/postmarketos-ui-kodi/kodi.desktop index b1724a1a1..a7e5834ff 100644 --- a/main/postmarketos-ui-kodi/kodi.desktop +++ b/main/postmarketos-ui-kodi/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