kodi: update to 14.2.

This commit is contained in:
Juan RP 2015-03-29 06:23:03 +02:00
parent 188c4957b3
commit 6acdca986f

View file

@ -1,14 +1,14 @@
# Template file for 'kodi'
pkgname=kodi
version=14.1
revision=6
version=14.2
revision=1
wrksrc="xbmc-${version}-Helix"
short_desc="A software media player and entertainment hub for digital media"
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
lib32disabled=yes
broken_as_needed=yes
@ -41,6 +41,9 @@ depends+=" glxinfo hicolor-icon-theme desktop-file-utils xdpyinfo"
CXXFLAGS="-fpermissive"
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
}
@ -63,6 +66,9 @@ do_build() {
do_install() {
make DESTDIR=${DESTDIR} install
vinstall tools/TexturePacker/TexturePacker 755 usr/lib/kodi
# 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
# remove unused stuff
rm -rf ${DESTDIR}/usr/include
find ${DESTDIR}/usr/lib -name "*.cmake" -delete