kodi-rpi: update to 18.5.

This commit is contained in:
Helmut Pozimski 2019-11-17 15:36:50 +01:00
parent 6060b47508
commit 9f20c45d7f
3 changed files with 5 additions and 15 deletions

View File

@ -1 +0,0 @@
../../kodi/files/CMakeCache.txt.nojava

View File

@ -1 +0,0 @@
../../kodi/files/swig.nojava-18.4

View File

@ -1,7 +1,7 @@
# Template file for 'kodi-rpi'
pkgname=kodi-rpi
version=18.4
revision=3
version=18.5
revision=1
_codename="Leia"
wrksrc="xbmc-${version}-${_codename}"
build_style=cmake
@ -10,7 +10,7 @@ maintainer="Helmut Pozimski <helmut@pozimski.eu>"
license="GPL-2.0-or-later"
homepage="http://www.kodi.tv/"
distfiles="https://github.com/xbmc/xbmc/archive/${version}-${_codename}.tar.gz"
checksum=bf2be186d8ae5b5377e43c06a538012bb9f51a0e98f8244b70a401006861d110
checksum=108979df8b41ab4168f5cdc0233f46e38767eda5921f4ccae16584e98d0d6b29
LDFLAGS+=" -Wl,-z,stack-size=1048576"
patch_args="-Np1"
@ -20,7 +20,7 @@ archs="armv6l* armv7l*"
hostmakedepends="
automake libtool pkg-config gperf cmake zip unzip nasm yasm
gettext-devel libltdl-devel python-devel libmysqlclient-devel
SDL2_image-devel lzo-devel flatbuffers"
SDL2_image-devel lzo-devel flatbuffers swig openjdk11"
makedepends="
libatomic-devel eudev-libudev-devel pcre-devel expat-devel libpng-devel
libjpeg-turbo-devel avahi-libs-devel alsa-lib-devel samba-devel tiff-devel
@ -75,15 +75,7 @@ pre_configure() {
grep "configure\.ac\|Makefile\|cmake\|config\.site" | \
xargs sed -i -e "s;-isystem;-I;g"
# Copy generated files to avoid requiring java.
mkdir -p build/build/swig
# THESE FILES MUST BE UPDATED WITH EVERY VERSION BUMP!
# (See kodi template)
cp -r $FILESDIR/swig.nojava-$version/* -t build/build/swig
cp $FILESDIR/CMakeCache.txt.nojava build/CMakeCache.txt
echo "set(FOUND_SWIG Yes)" > cmake/modules/FindSWIG.cmake
. /etc/profile.d/10_openjdk11.sh
if [ "$CROSS_BUILD" ]; then
for i in JsonSchemaBuilder TexturePacker; do