diff --git a/srcpkgs/kodi/template b/srcpkgs/kodi/template index aae95c237e..2d8bff37c0 100644 --- a/srcpkgs/kodi/template +++ b/srcpkgs/kodi/template @@ -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 " 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