kodi-rpi: update to 14.2.

Close #1178
This commit is contained in:
Juan RP 2015-03-29 06:20:47 +02:00
parent d8e53f042a
commit 188c4957b3
1 changed files with 9 additions and 9 deletions

View File

@ -1,14 +1,14 @@
# Template file for 'kodi-rpi'
pkgname=kodi-rpi
version=14.1
revision=4
version=14.2
revision=1
wrksrc="xbmc-${version}-Helix"
short_desc="A software media player and entertainment hub for digital media (RPi)"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.kodi.tv"
license="GPL-2"
distfiles="https://github.com/xbmc/xbmc/archive/${version}-Helix.tar.gz"
checksum=a38059e292cf8523918834e49fcc2d688525ceb7951ddf7f5ee535f4147255d6
checksum=d9cb8590430a925fb789a5beb4da2695cdcd2d2500dd31126f3b77b31aa267f4
only_for_archs="armv6l armv7l"
# Due to bootstrap requiring java, it's only possible currently to cross
@ -45,6 +45,9 @@ xbmc_homedir="/var/lib/xbmc"
xbmc_groups="audio,input,video"
pre_configure() {
# remove lsb_release dependency
sed -i -e 's:/usr/bin/lsb_release -d:echo Void:' xbmc/utils/SystemInfo.cpp
. /etc/profile.d/10_openjdk.sh
./bootstrap
@ -97,14 +100,11 @@ do_build() {
do_install() {
make DESTDIR=${DESTDIR} install
# Remove checks that don't apply to the raspberry pi
head -n 171 ${DESTDIR}/usr/share/xbmc/FEH.py > ${DESTDIR}/usr/share/xbmc/FEH.py.new
mv ${DESTDIR}/usr/share/xbmc/FEH.py.new ${DESTDIR}/usr/share/xbmc/FEH.py
# lsb_release fix
sed -i -e 's/which lsb_release > \/dev\/null/\[ -f \/etc\/os-release ]/g' ${DESTDIR}/usr/bin/kodi
sed -i -e "s/lsb_release -a 2> \/dev\/null | sed -e 's\/\^\/ \/'/echo Void/g" ${DESTDIR}/usr/bin/kodi
vinstall media/icon48x48.png 644 usr/share/pixmaps xbmc.png
rm -f ${DESTDIR}/usr/share/icons/hicolor/icon-theme.cache
vinstall ${FILESDIR}/polkit.rules 0644 etc/polkit-1/rules.d 10-xbmc.rules
rm -rf ${DESTDIR}/usr/include
vsv xbmc-standalone