kodi: update to 14.2.
This commit is contained in:
parent
188c4957b3
commit
6acdca986f
1 changed files with 9 additions and 3 deletions
|
@ -1,14 +1,14 @@
|
||||||
# Template file for 'kodi'
|
# Template file for 'kodi'
|
||||||
pkgname=kodi
|
pkgname=kodi
|
||||||
version=14.1
|
version=14.2
|
||||||
revision=6
|
revision=1
|
||||||
wrksrc="xbmc-${version}-Helix"
|
wrksrc="xbmc-${version}-Helix"
|
||||||
short_desc="A software media player and entertainment hub for digital media"
|
short_desc="A software media player and entertainment hub for digital media"
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
homepage="http://www.kodi.tv"
|
homepage="http://www.kodi.tv"
|
||||||
license="GPL-2"
|
license="GPL-2"
|
||||||
distfiles="https://github.com/xbmc/xbmc/archive/${version}-Helix.tar.gz"
|
distfiles="https://github.com/xbmc/xbmc/archive/${version}-Helix.tar.gz"
|
||||||
checksum=a38059e292cf8523918834e49fcc2d688525ceb7951ddf7f5ee535f4147255d6
|
checksum=d9cb8590430a925fb789a5beb4da2695cdcd2d2500dd31126f3b77b31aa267f4
|
||||||
|
|
||||||
lib32disabled=yes
|
lib32disabled=yes
|
||||||
broken_as_needed=yes
|
broken_as_needed=yes
|
||||||
|
@ -41,6 +41,9 @@ depends+=" glxinfo hicolor-icon-theme desktop-file-utils xdpyinfo"
|
||||||
CXXFLAGS="-fpermissive"
|
CXXFLAGS="-fpermissive"
|
||||||
|
|
||||||
pre_configure() {
|
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
|
. /etc/profile.d/10_openjdk.sh
|
||||||
./bootstrap
|
./bootstrap
|
||||||
}
|
}
|
||||||
|
@ -63,6 +66,9 @@ do_build() {
|
||||||
do_install() {
|
do_install() {
|
||||||
make DESTDIR=${DESTDIR} install
|
make DESTDIR=${DESTDIR} install
|
||||||
vinstall tools/TexturePacker/TexturePacker 755 usr/lib/kodi
|
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
|
# remove unused stuff
|
||||||
rm -rf ${DESTDIR}/usr/include
|
rm -rf ${DESTDIR}/usr/include
|
||||||
find ${DESTDIR}/usr/lib -name "*.cmake" -delete
|
find ${DESTDIR}/usr/lib -name "*.cmake" -delete
|
||||||
|
|
Loading…
Reference in a new issue