main/postmarketos-ui-kodi: switch to tinydm (MR 1908)
This commit is contained in:
parent
a6bc3c30eb
commit
0a202c17c2
3 changed files with 6 additions and 15 deletions
|
@ -1,5 +0,0 @@
|
|||
# This file gets removed with postmarketos-ui-kodi, even if modified!
|
||||
[Seat:*]
|
||||
autologin-user=username
|
||||
autologin-user-timeout=0
|
||||
autologin-session=kodi-wayland
|
|
@ -1,21 +1,18 @@
|
|||
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
||||
pkgname=postmarketos-ui-kodi
|
||||
pkgver=1
|
||||
pkgrel=4
|
||||
pkgrel=5
|
||||
pkgdesc="(Wayland) 10-foot UI useful on TV's"
|
||||
url="https://kodi.tv"
|
||||
arch="x86 x86_64 aarch64" # flatbuffers missing on armhf and armv7
|
||||
license="GPL-3.0-or-later"
|
||||
depends="kodi-wayland kodi cage lightdm lightdm-openrc elogind pulseaudio upower"
|
||||
depends="kodi-wayland kodi cage tinydm tinydm-openrc elogind pulseaudio upower"
|
||||
install="$pkgname.post-install $pkgname.post-upgrade"
|
||||
source="63-lightdm-autologin.conf kodi.desktop"
|
||||
source="kodi.desktop"
|
||||
options="!check"
|
||||
|
||||
package() {
|
||||
install -Dm644 "$srcdir"/63-lightdm-autologin.conf \
|
||||
"$pkgdir"/usr/share/lightdm/lightdm.conf.d/63-autologin.conf
|
||||
install -Dm644 "$srcdir"/kodi.desktop \
|
||||
"$pkgdir"/usr/share/wayland-sessions/kodi-wayland.desktop
|
||||
}
|
||||
sha512sums="4cbef7ef9b4da927e123ea28c5918f49ec4dc1367774596e1bc192f172e1e09cb9711015e20743a7fbb3bbbc8ca6df2bee66571a28fb530e2e9d24d945eb982a 63-lightdm-autologin.conf
|
||||
fc7d545310a77845af88638e95a72f8774be4fb91231554ac91a2dfcd65d11aed5e6cea550548df5e12c49963968a17a89429fc0fb3ebf4a6843d95dccad7eee kodi.desktop"
|
||||
sha512sums="fc7d545310a77845af88638e95a72f8774be4fb91231554ac91a2dfcd65d11aed5e6cea550548df5e12c49963968a17a89429fc0fb3ebf4a6843d95dccad7eee kodi.desktop"
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
#!/bin/sh
|
||||
|
||||
sed -i "s/username/$(getent passwd 10000 | cut -d: -f1)/g" /usr/share/lightdm/lightdm.conf.d/63-autologin.conf
|
||||
|
||||
rc-update add lightdm default
|
||||
rc-update add tinydm default
|
||||
tinydm-set-session -s /usr/share/wayland-sessions/kodi-wayland.desktop
|
||||
|
|
Loading…
Reference in a new issue