By default, xbmc is listening on deprecated lirc socket.

Sync xbmc.service with upstream to listen on /run/lirc/lircd.

Add polkit rules to allow xbmc group to manage power and udisks.
This commit is contained in:
Nedim Lisica 2013-12-26 16:41:13 +01:00
parent 6ef9552066
commit a754b1a7e9
2 changed files with 7 additions and 5 deletions

View file

@ -22,8 +22,10 @@ optdepends=(
provides=("xbmc")
conflicts=("xbmc")
install="xbmc.install"
source=('xbmc.service')
md5sums=('36780e43d432c488259d9a899b1bcb28')
source=('xbmc.service'
'polkit.rules')
md5sums=('4fe0ed48de968fe3778fa8765d1647f3'
'db407faa4beb83b6368fc65ba9bc9507')
_gitname="xbmc"
_gitroot="git://github.com/xbmc"
@ -114,5 +116,5 @@ package() {
# systemd stuff
install -Dm0644 $srcdir/xbmc.service $pkgdir/usr/lib/systemd/system/xbmc.service
install -Dm0644 $srcdir/polkit.rules $pkgdir/etc/polkit-1/rules.d/10-xbmc.rules
}

View file

@ -6,8 +6,8 @@ After = remote-fs.target
User = xbmc
Group = xbmc
Type = simple
ExecStart = /usr/bin/xbmc-standalone
Restart = on-failure
ExecStart = /usr/bin/xinit /usr/bin/xbmc-standalone -l /run/lirc/lircd -- :0 -nolisten tcp
Restart = on-abort
[Install]
WantedBy = multi-user.target