mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-01-27 23:44:04 +00:00
alarm/xbmc-rbp-git update .service and .install
This commit is contained in:
parent
b01ba5999d
commit
74674db01a
3 changed files with 6 additions and 5 deletions
|
@ -5,7 +5,7 @@
|
||||||
buildarch=16
|
buildarch=16
|
||||||
|
|
||||||
pkgname=xbmc-rbp-git
|
pkgname=xbmc-rbp-git
|
||||||
pkgver=13.20131124
|
pkgver=13.20131126
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc="A software media player and entertainment hub for digital media for the Raspberry Pi"
|
pkgdesc="A software media player and entertainment hub for digital media for the Raspberry Pi"
|
||||||
arch=('armv6h')
|
arch=('armv6h')
|
||||||
|
@ -17,9 +17,7 @@ optdepends=(
|
||||||
'lirc: remote controller support'
|
'lirc: remote controller support'
|
||||||
'udisks: automount external drives'
|
'udisks: automount external drives'
|
||||||
'upower: used to trigger suspend functionality'
|
'upower: used to trigger suspend functionality'
|
||||||
'unrar: access compressed files without unpacking them'
|
'unrar: access compressed files without unpacking them')
|
||||||
'xorg-server: use systemd to start xbmc'
|
|
||||||
'xf86-video-fbdev: use systemd to start xbmc')
|
|
||||||
|
|
||||||
provides=("xbmc")
|
provides=("xbmc")
|
||||||
conflicts=("xbmc")
|
conflicts=("xbmc")
|
||||||
|
|
|
@ -4,6 +4,9 @@ post_install() {
|
||||||
getent group xbmc > /dev/null || groupadd xbmc
|
getent group xbmc > /dev/null || groupadd xbmc
|
||||||
getent passwd xbmc > /dev/null || useradd -m -d /var/lib/xbmc -g xbmc xbmc
|
getent passwd xbmc > /dev/null || useradd -m -d /var/lib/xbmc -g xbmc xbmc
|
||||||
usermod -a -G xbmc,audio,video,power,network,optical,storage,disk xbmc
|
usermod -a -G xbmc,audio,video,power,network,optical,storage,disk xbmc
|
||||||
|
echo ""
|
||||||
|
echo "If xbmc systemd service does not start, try adding a udev rule:"
|
||||||
|
echo "echo 'SUBSYSTEM==\"vchiq\",GROUP=\"video\",MODE=\"0660\"' > /etc/udev/rules.d/10-vchiq-permissions.rules"
|
||||||
}
|
}
|
||||||
|
|
||||||
post_upgrade() {
|
post_upgrade() {
|
||||||
|
|
|
@ -6,7 +6,7 @@ After = remote-fs.target
|
||||||
User = xbmc
|
User = xbmc
|
||||||
Group = xbmc
|
Group = xbmc
|
||||||
Type = simple
|
Type = simple
|
||||||
ExecStart = /usr/bin/xinit /usr/bin/xbmc-standalone -- :0 -nolisten tcp
|
ExecStart = /usr/bin/xbmc-standalone
|
||||||
Restart = on-failure
|
Restart = on-failure
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
|
|
Loading…
Reference in a new issue