mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
b1a19281dc
Pi 2/3 cannot use 'leia_pi4' fork for HW decoding on certain video formats such as HEVC it seems. Restore a kodi package based on 'newclock5' fork which does x264 HW decoding via mmal. When v19 gets released, this package will stay frozen at v18 since upstream support for it has been declared nonexistent.
24 lines
822 B
Desktop File
24 lines
822 B
Desktop File
[Unit]
|
|
Description=Kodi standalone
|
|
After=remote-fs.target systemd-user-sessions.service network-online.target nss-lookup.target sound.target bluetooth.target polkit.service upower.service mysqld.service
|
|
Wants=network-online.target polkit.service upower.service
|
|
Conflicts=getty@tty1.service
|
|
|
|
[Service]
|
|
User=kodi
|
|
Group=kodi
|
|
PAMName=login
|
|
TTYPath=/dev/tty1
|
|
EnvironmentFile=/etc/conf.d/kodi-framebuffer
|
|
ExecStartPre=+/bin/sh -c 'echo 0 > /sys/class/vtconsole/vtcon1/bind'
|
|
ExecStartPre=+/usr/bin/fbset -g 8 8 8 8 32
|
|
ExecStart=/usr/bin/kodi-standalone
|
|
ExecStop=/usr/bin/killall --user kodi --exact --wait kodi-rbpi
|
|
ExecStopPost=+/usr/bin/fbset -g $RESTOREMODE
|
|
ExecStopPost=+/bin/sh -c 'echo 1 > /sys/class/vtconsole/vtcon1/bind'
|
|
Restart=on-abort
|
|
StandardInput=tty
|
|
StandardOutput=journal
|
|
|
|
[Install]
|
|
Alias=display-manager.service
|