mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-07 07:33:48 +02:00
kodi: update to 19.4
This commit is contained in:
parent
f7d4db87b3
commit
63a9bd9a21
7 changed files with 25 additions and 52 deletions
|
@ -1,10 +1,10 @@
|
||||||
--- a/xbmc/filesystem/ZipManager.h.orig
|
--- a/xbmc/filesystem/ZipManager.h.orig
|
||||||
+++ b/xbmc/filesystem/ZipManager.h
|
+++ b/xbmc/filesystem/ZipManager.h
|
||||||
@@ -33,6 +33,7 @@
|
@@ -22,6 +22,7 @@
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include <map>
|
#include <map>
|
||||||
+#include <stdint.h>
|
+#include <cstdint>
|
||||||
|
|
||||||
class CURL;
|
class CURL;
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
--- a/tools/depends/native/TexturePacker/Makefile 2016-04-24 08:48:30.000000000 +0200
|
--- a/tools/depends/native/TexturePacker/Makefile 2016-04-24 08:48:30.000000000 +0200
|
||||||
+++ b/tools/depends/native/TexturePacker/Makefile 2016-07-16 15:12:39.875911293 +0200
|
+++ b/tools/depends/native/TexturePacker/Makefile 2016-07-16 15:12:39.875911293 +0200
|
||||||
@@ -36,7 +36,7 @@
|
@@ -38,7 +38,7 @@
|
||||||
-rm -rf $(PLATFORM)/*; mkdir -p $(PLATFORM)
|
-rm -rf $(PLATFORM)/*; mkdir -p $(PLATFORM)
|
||||||
cd $(PLATFORM); cp -a $(SOURCE)/* .
|
cd $(PLATFORM); cp -a $(SOURCE)/* .
|
||||||
cd $(PLATFORM); ./autogen.sh
|
cd $(PLATFORM); ./autogen.sh
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
--- a/xbmc/cores/DllLoader/exports/emu_msvcrt.h 2019-01-30 19:20:09.336910851 +0100
|
--- a/xbmc/cores/DllLoader/exports/emu_msvcrt.h 2019-01-30 19:20:09.336910851 +0100
|
||||||
+++ b/xbmc/cores/DllLoader/exports/emu_msvcrt.h 2019-01-30 19:20:25.423668836 +0100
|
+++ b/xbmc/cores/DllLoader/exports/emu_msvcrt.h 2019-01-30 19:20:25.423668836 +0100
|
||||||
@@ -12,7 +12,7 @@
|
@@ -17,7 +17,7 @@
|
||||||
#define _onexit_t void*
|
#define _onexit_t void*
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -11,8 +11,8 @@
|
||||||
typedef off64_t __off64_t;
|
typedef off64_t __off64_t;
|
||||||
--- a/xbmc/cores/DllLoader/exports/wrapper.c 2019-01-30 19:24:16.396348561 +0100
|
--- a/xbmc/cores/DllLoader/exports/wrapper.c 2019-01-30 19:24:16.396348561 +0100
|
||||||
+++ b/xbmc/cores/DllLoader/exports/wrapper.c 2019-01-30 19:25:38.562176774 +0100
|
+++ b/xbmc/cores/DllLoader/exports/wrapper.c 2019-01-30 19:25:38.562176774 +0100
|
||||||
@@ -27,7 +27,7 @@
|
@@ -23,7 +23,7 @@
|
||||||
#endif
|
#include <dirent.h>
|
||||||
#include <dlfcn.h>
|
#include <dlfcn.h>
|
||||||
|
|
||||||
-#if defined(TARGET_DARWIN) || defined(TARGET_FREEBSD) || defined(TARGET_ANDROID)
|
-#if defined(TARGET_DARWIN) || defined(TARGET_FREEBSD) || defined(TARGET_ANDROID)
|
||||||
|
@ -29,8 +29,8 @@
|
||||||
+#include <paths.h>
|
+#include <paths.h>
|
||||||
#ifdef TARGET_POSIX
|
#ifdef TARGET_POSIX
|
||||||
#include "PlatformDefs.h" // for __stat64
|
#include "PlatformDefs.h" // for __stat64
|
||||||
#include "XFileUtils.h"
|
#endif
|
||||||
@@ -1480,7 +1481,7 @@
|
@@ -1479,7 +1480,7 @@ extern "C"
|
||||||
int ret;
|
int ret;
|
||||||
|
|
||||||
ret = dll_fgetpos64(stream, &tmpPos);
|
ret = dll_fgetpos64(stream, &tmpPos);
|
||||||
|
@ -39,7 +39,7 @@
|
||||||
*pos = (fpos_t)tmpPos;
|
*pos = (fpos_t)tmpPos;
|
||||||
#else
|
#else
|
||||||
pos->__pos = (off_t)tmpPos.__pos;
|
pos->__pos = (off_t)tmpPos.__pos;
|
||||||
@@ -1493,8 +1494,9 @@
|
@@ -1492,8 +1493,9 @@ extern "C"
|
||||||
CFile* pFile = g_emuFileWrapper.GetFileXbmcByStream(stream);
|
CFile* pFile = g_emuFileWrapper.GetFileXbmcByStream(stream);
|
||||||
if (pFile != NULL)
|
if (pFile != NULL)
|
||||||
{
|
{
|
||||||
|
@ -51,7 +51,7 @@
|
||||||
#else
|
#else
|
||||||
pos->__pos = pFile->GetPosition();
|
pos->__pos = pFile->GetPosition();
|
||||||
#endif
|
#endif
|
||||||
@@ -1509,8 +1511,9 @@
|
@@ -1508,8 +1510,9 @@ extern "C"
|
||||||
int fd = g_emuFileWrapper.GetDescriptorByStream(stream);
|
int fd = g_emuFileWrapper.GetDescriptorByStream(stream);
|
||||||
if (fd >= 0)
|
if (fd >= 0)
|
||||||
{
|
{
|
||||||
|
@ -63,7 +63,7 @@
|
||||||
#else
|
#else
|
||||||
if (dll_lseeki64(fd, (__off64_t)pos->__pos, SEEK_SET) >= 0)
|
if (dll_lseeki64(fd, (__off64_t)pos->__pos, SEEK_SET) >= 0)
|
||||||
#endif
|
#endif
|
||||||
@@ -1532,7 +1535,7 @@
|
@@ -1531,7 +1534,7 @@ extern "C"
|
||||||
if (fd >= 0)
|
if (fd >= 0)
|
||||||
{
|
{
|
||||||
fpos64_t tmpPos;
|
fpos64_t tmpPos;
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
--- a/xbmc/cores/DllLoader/ldt_keeper.c 2019-01-30 20:08:15.532823846 +0100
|
--- a/xbmc/cores/DllLoader/ldt_keeper.c 2019-01-30 20:08:15.532823846 +0100
|
||||||
+++ b/xbmc/cores/DllLoader/ldt_keeper.c 2019-01-30 20:08:34.139580225 +0100
|
+++ b/xbmc/cores/DllLoader/ldt_keeper.c 2019-01-30 20:08:34.139580225 +0100
|
||||||
@@ -49,7 +49,7 @@
|
@@ -53,7 +53,7 @@
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -1,7 +0,0 @@
|
||||||
--- a/xbmc/utils/StringUtils.h 2021-02-19 02:17:59.000000000 +0400
|
|
||||||
+++ b/xbmc/utils/StringUtils.h 2021-07-29 01:23:03.569130175 +0400
|
|
||||||
@@ -39,0 +40,4 @@
|
|
||||||
+#if FMT_VERSION >= 80000
|
|
||||||
+#include <fmt/xchar.h>
|
|
||||||
+#endif
|
|
||||||
+
|
|
|
@ -1,9 +1,9 @@
|
||||||
--- a/cmake/scripts/linux/ArchSetup.cmake 2019-01-30 21:03:03.146025973 +0100
|
--- a/cmake/scripts/linux/ArchSetup.cmake 2019-01-30 21:03:03.146025973 +0100
|
||||||
+++ b/cmake/scripts/linux/ArchSetup.cmake 2019-01-30 21:03:47.810441038 +0100
|
+++ b/cmake/scripts/linux/ArchSetup.cmake 2019-01-30 21:03:47.810441038 +0100
|
||||||
@@ -32,6 +32,12 @@
|
@@ -35,6 +35,12 @@
|
||||||
elseif(CPU MATCHES aarch64 OR CPU MATCHES arm64)
|
elseif(CPU MATCHES riscv64)
|
||||||
set(ARCH aarch64)
|
set(ARCH riscv64)
|
||||||
set(NEON True)
|
set(NEON False)
|
||||||
+ elseif(CPU MATCHES ppc64le)
|
+ elseif(CPU MATCHES ppc64le)
|
||||||
+ set(ARCH ppc64le-linux)
|
+ set(ARCH ppc64le-linux)
|
||||||
+ set(NEON False)
|
+ set(NEON False)
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'kodi'
|
# Template file for 'kodi'
|
||||||
pkgname=kodi
|
pkgname=kodi
|
||||||
version=19.0
|
version=19.4
|
||||||
revision=4
|
revision=1
|
||||||
_codename="Matrix"
|
_codename="Matrix"
|
||||||
wrksrc="xbmc-${version}-${_codename}"
|
wrksrc="xbmc-${version}-${_codename}"
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
|
@ -17,7 +17,7 @@ maintainer="Orphaned <orphan@voidlinux.org>"
|
||||||
license="GPL-2.0-or-later"
|
license="GPL-2.0-or-later"
|
||||||
homepage="http://www.kodi.tv"
|
homepage="http://www.kodi.tv"
|
||||||
distfiles="https://github.com/xbmc/xbmc/archive/${version}-${_codename}.tar.gz"
|
distfiles="https://github.com/xbmc/xbmc/archive/${version}-${_codename}.tar.gz"
|
||||||
checksum=f7ef8a6f45862ae3b7ebfce4950d74f534be3cb4a0e67ce640963746b3f668f2
|
checksum=cc026f59fd6e37ae90f3449df50810f1cefa37da9444e1188302d910518710da
|
||||||
# Add CrossGUID dependency
|
# Add CrossGUID dependency
|
||||||
distfiles+=" http://mirrors.kodi.tv/build-deps/sources/crossguid-8f399e8bd4.tar.gz"
|
distfiles+=" http://mirrors.kodi.tv/build-deps/sources/crossguid-8f399e8bd4.tar.gz"
|
||||||
checksum+=" 3d77d09a5df0de510aeeb940df4cb534787ddff3bb1828779753f5dfa1229d10"
|
checksum+=" 3d77d09a5df0de510aeeb940df4cb534787ddff3bb1828779753f5dfa1229d10"
|
||||||
|
@ -94,6 +94,8 @@ if [ -z "$CROSS_BUILD" ]; then
|
||||||
else
|
else
|
||||||
hostmakedepends+=" libmariadbclient-devel SDL2_image-devel lzo-devel
|
hostmakedepends+=" libmariadbclient-devel SDL2_image-devel lzo-devel
|
||||||
libwaylandpp-devel"
|
libwaylandpp-devel"
|
||||||
|
configure_args+=" -DWITH_JSONSCHEMABUILDER:PATH=$XBPS_BUILDDIR/$wrksrc/tools/JsonSchemaBuilder
|
||||||
|
-DWITH_TEXTUREPACKER:PATH=$XBPS_BUILDDIR/$wrksrc/tools/TexturePacker"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
|
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
|
||||||
|
@ -111,35 +113,13 @@ pre_configure() {
|
||||||
|
|
||||||
. /etc/profile.d/10_openjdk11.sh
|
. /etc/profile.d/10_openjdk11.sh
|
||||||
|
|
||||||
if [ "$CROSS_BUILD" ]; then
|
# Build tools needed to run on the host
|
||||||
for i in JsonSchemaBuilder TexturePacker; do
|
|
||||||
cat > cmake/modules/Find$i.cmake <<EOF
|
|
||||||
add_executable($i::$i IMPORTED GLOBAL)
|
|
||||||
set_target_properties($i::$i PROPERTIES
|
|
||||||
IMPORTED_LOCATION "\${CORE_SOURCE_DIR}/tools/depends/native/$i/bin/$i")
|
|
||||||
set_target_properties($i::$i PROPERTIES FOLDER Tools)
|
|
||||||
EOF
|
|
||||||
done
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
pre_build() {
|
|
||||||
if [ "$CROSS_BUILD" ]; then
|
if [ "$CROSS_BUILD" ]; then
|
||||||
for i in JsonSchemaBuilder TexturePacker; do
|
for i in JsonSchemaBuilder TexturePacker; do
|
||||||
CC= LD= CXX= LDFLAGS= CFLAGS= CXXFLAGS= \
|
CC= LD= CXX= LDFLAGS= CFLAGS= CXXFLAGS= \
|
||||||
make -C tools/depends/native/$i
|
make -C tools/depends/native/$i native/$i
|
||||||
done
|
mv tools/depends/native/$i/native/$i tools/$i
|
||||||
fi
|
make -C tools/depends/native/$i distclean
|
||||||
}
|
|
||||||
|
|
||||||
post_build() {
|
|
||||||
# Rebuild for target
|
|
||||||
if [ "$CROSS_BUILD" ]; then
|
|
||||||
for i in JsonSchemaBuilder TexturePacker; do
|
|
||||||
make -C tools/depends/native/$i clean all \
|
|
||||||
CC="$CC" CXX="$CXX" LD="$LD" AR="$AR" RANLIB="$RANLIB" \
|
|
||||||
CPP="$CPP" AS="$AS" OBJDUMP="$OBJDUMP" \
|
|
||||||
CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS"
|
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue