mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-01-17 23:34:07 +00:00
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:
parent
6ef9552066
commit
a754b1a7e9
2 changed files with 7 additions and 5 deletions
|
@ -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
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue