community/xbmc to 12.3-9

This commit is contained in:
Kevin Mihelich 2014-02-24 13:37:50 +00:00
parent 38c12d9732
commit 013522c473
3 changed files with 7 additions and 6 deletions

View file

@ -16,7 +16,7 @@ _prefix=/usr
pkgname=xbmc
pkgver=12.3
_codename=Frodo
pkgrel=8
pkgrel=9
pkgdesc="A software media player and entertainment hub for digital media"
arch=('i686' 'x86_64')
url="http://xbmc.org"
@ -41,7 +41,7 @@ source=("http://mirrors.xbmc.org/releases/source/xbmc-$pkgver.tar.gz"
"polkit.rules"
"libass.patch::https://bugs.archlinux.org/index.php?getfile=11285")
md5sums=('7ae385ebf8e5cfcb917393235e6efbdb'
'8312d6d4ac5d7c3d9eed40ab08a17d3b'
'4d3cc17703a9a477a32db486c257a305'
'02f7951824ee13103344f36009c0ef2a'
'7fd6399d2ffbdf06b724f0cc2efa0784')
@ -125,6 +125,6 @@ package() {
done
install -Dm0644 $srcdir/xbmc.service $pkgdir/usr/lib/systemd/system/xbmc.service
install -Dm0644 $srcdir/polkit.rules $pkgdir/usr/share/polkit-1/rules.d/10-xbmc.rules
chmod 0700 $pkgdir/usr/share/polkit-1/rules.d/
# install -Dm0644 $srcdir/polkit.rules $pkgdir/usr/share/polkit-1/rules.d/10-xbmc.rules
# chmod 0700 $pkgdir/usr/share/polkit-1/rules.d/
}

View file

@ -3,7 +3,8 @@ post_install() {
[[ $(type -p update-desktop-database) ]] && usr/bin/update-desktop-database -q usr/share/applications
getent group xbmc > /dev/null || groupadd -r xbmc
getent passwd xbmc > /dev/null || useradd -r -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,network,optical xbmc
mkdir -p var/lib/xbmc
chown -R xbmc:xbmc var/lib/xbmc
}

View file

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