Merge pull request #3009 from HiassofT/le9-kodi-b3

kodi: update to 18.0b3-Leia
This commit is contained in:
CvH 2018-10-03 08:31:11 +02:00 committed by GitHub
commit b22c3c95aa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 3090 additions and 2951 deletions

View File

@ -15,14 +15,14 @@ PKG_PATCH_DIRS="$KODI_VENDOR"
case $KODI_VENDOR in
raspberrypi)
PKG_VERSION="newclock5_18.0b2-Leia"
PKG_SHA256="28ba41ea6a942f4399b98e300596ea4a85ac043c8358c9eae9f2d0e0bee9aa99"
PKG_VERSION="newclock5_18.0b3-Leia"
PKG_SHA256="fd0e9722a61f6564d3f8b78d7c2f3a9dfd35516cab1d2bc046b98903d73fc105"
PKG_URL="https://github.com/popcornmix/xbmc/archive/$PKG_VERSION.tar.gz"
PKG_SOURCE_NAME="kodi-$KODI_VENDOR-$PKG_VERSION.tar.gz"
;;
*)
PKG_VERSION="18.0b2-Leia"
PKG_SHA256="25fc0aabfb523d4db19e08b1990d4851592ee2adec0424f5fb729bd3672eae69"
PKG_VERSION="18.0b3-Leia"
PKG_SHA256="cc5f1a75287438b2336c49a265019a4cab9626235e05a70345d77e4cecd6dce3"
PKG_URL="https://github.com/xbmc/xbmc/archive/$PKG_VERSION.tar.gz"
PKG_SOURCE_NAME="kodi-$PKG_VERSION.tar.gz"
;;

View File

@ -1,20 +1,20 @@
From 09ef179755107108722027dcc04ae62795c5d522 Mon Sep 17 00:00:00 2001
From 0bb21ebfe5f26545ccc9f105560c6c0fcbce77b3 Mon Sep 17 00:00:00 2001
From: MilhouseVH <milhouseVH.github@nmacleod.com>
Date: Tue, 22 May 2018 00:28:13 +0100
Date: Wed, 26 Sep 2018 02:47:03 +0100
Subject: [PATCH] allow using alsa and pulse together
---
xbmc/windowing/X11/WinSystemX11GLContext.cpp | 35 ++--------------------------
xbmc/windowing/amlogic/WinSystemAmlogic.cpp | 2 ++
xbmc/windowing/gbm/WinSystemGbm.cpp | 34 ++-------------------------
xbmc/windowing/rpi/WinSystemRpi.cpp | 4 ++++
4 files changed, 10 insertions(+), 65 deletions(-)
xbmc/windowing/rpi/WinSystemRpi.cpp | 17 ++++----------
4 files changed, 10 insertions(+), 78 deletions(-)
diff --git a/xbmc/windowing/X11/WinSystemX11GLContext.cpp b/xbmc/windowing/X11/WinSystemX11GLContext.cpp
index 6e31a80..2e76053 100644
index 1980916..2524716 100644
--- a/xbmc/windowing/X11/WinSystemX11GLContext.cpp
+++ b/xbmc/windowing/X11/WinSystemX11GLContext.cpp
@@ -52,39 +52,8 @@ std::unique_ptr<CWinSystemBase> CWinSystemBase::CreateWinSystem()
@@ -40,39 +40,8 @@ std::unique_ptr<CWinSystemBase> CWinSystemBase::CreateWinSystem()
CWinSystemX11GLContext::CWinSystemX11GLContext()
{
@ -57,10 +57,10 @@ index 6e31a80..2e76053 100644
}
diff --git a/xbmc/windowing/amlogic/WinSystemAmlogic.cpp b/xbmc/windowing/amlogic/WinSystemAmlogic.cpp
index 324d47f..1766308 100644
index 9df83a6..5d41c1f 100644
--- a/xbmc/windowing/amlogic/WinSystemAmlogic.cpp
+++ b/xbmc/windowing/amlogic/WinSystemAmlogic.cpp
@@ -32,6 +32,7 @@
@@ -20,6 +20,7 @@
// AESink Factory
#include "cores/AudioEngine/AESinkFactory.h"
#include "cores/AudioEngine/Sinks/AESinkALSA.h"
@ -68,7 +68,7 @@ index 324d47f..1766308 100644
#include "windowing/GraphicContext.h"
#include "windowing/Resolution.h"
#include "platform/linux/powermanagement/LinuxPowerSyscall.h"
@@ -78,6 +79,7 @@ CWinSystemAmlogic::CWinSystemAmlogic() :
@@ -66,6 +67,7 @@ CWinSystemAmlogic::CWinSystemAmlogic() :
// Register sink
AE::CAESinkFactory::ClearSinks();
CAESinkALSA::Register();
@ -77,11 +77,11 @@ index 324d47f..1766308 100644
m_lirc.reset(OPTIONALS::LircRegister());
m_libinput->Start();
diff --git a/xbmc/windowing/gbm/WinSystemGbm.cpp b/xbmc/windowing/gbm/WinSystemGbm.cpp
index 72ddf6a..79e81d5 100644
index 12f2da6..c2bdd0e 100644
--- a/xbmc/windowing/gbm/WinSystemGbm.cpp
+++ b/xbmc/windowing/gbm/WinSystemGbm.cpp
@@ -43,38 +43,8 @@ CWinSystemGbm::CWinSystemGbm() :
m_delayDispReset(false),
@@ -31,38 +31,8 @@ CWinSystemGbm::CWinSystemGbm() :
m_GBM(new CGBMUtils),
m_libinput(new CLibInputHandler)
{
- std::string envSink;
@ -122,10 +122,10 @@ index 72ddf6a..79e81d5 100644
CLinuxPowerSyscall::Register();
m_lirc.reset(OPTIONALS::LircRegister());
diff --git a/xbmc/windowing/rpi/WinSystemRpi.cpp b/xbmc/windowing/rpi/WinSystemRpi.cpp
index fac5cc4..f90e46d 100644
index a403464..6a68d9f 100644
--- a/xbmc/windowing/rpi/WinSystemRpi.cpp
+++ b/xbmc/windowing/rpi/WinSystemRpi.cpp
@@ -33,7 +33,9 @@
@@ -21,7 +21,9 @@
#include "guilib/DispResource.h"
#include "utils/log.h"
#include "cores/AudioEngine/AESinkFactory.h"
@ -135,10 +135,23 @@ index fac5cc4..f90e46d 100644
#include "platform/linux/powermanagement/LinuxPowerSyscall.h"
#include <EGL/egl.h>
@@ -55,6 +57,8 @@ CWinSystemRpi::CWinSystemRpi() :
@@ -44,19 +46,8 @@ CWinSystemRpi::CWinSystemRpi() :
AE::CAESinkFactory::ClearSinks();
CAESinkPi::Register();
- std::string envSink;
- if (getenv("KODI_AE_SINK"))
- envSink = getenv("KODI_AE_SINK");
-
- if (StringUtils::EqualsNoCase(envSink, "PULSE"))
- {
- OPTIONALS::PulseAudioRegister();
- }
- else
- {
- OPTIONALS::ALSARegister();
- }
-
+ CAESinkALSA::Register();
+ CAESinkPULSE::Register();
CLinuxPowerSyscall::Register();

View File

@ -1,7 +1,8 @@
diff -Naur kodi-15.0-2f34a0c/system/Lircmap.xml kodi-15.0-2f34a0c.patch/system/Lircmap.xml
--- kodi-15.0-2f34a0c/system/Lircmap.xml 2015-07-22 10:07:05.000000000 +0200
+++ kodi-15.0-2f34a0c.patch/system/Lircmap.xml 2015-07-28 10:47:41.202213181 +0200
@@ -493,6 +493,7 @@
diff --git a/system/Lircmap.xml b/system/Lircmap.xml
index ec7c6e0..a8a7a8a 100644
--- a/system/Lircmap.xml
+++ b/system/Lircmap.xml
@@ -497,6 +497,7 @@
<teletext>KEY_TEXT</teletext>
<clear>KEY_DELETE</clear>
</remote>
@ -9,7 +10,7 @@ diff -Naur kodi-15.0-2f34a0c/system/Lircmap.xml kodi-15.0-2f34a0c.patch/system/L
<remote device="mediacenter">
<pause>pause</pause>
<stop>stop</stop>
@@ -544,50 +545,93 @@
@@ -548,51 +549,94 @@
<up>KEY_UP</up>
<down>KEY_DOWN</down>
<select>KEY_OK</select>
@ -50,7 +51,8 @@ diff -Naur kodi-15.0-2f34a0c/system/Lircmap.xml kodi-15.0-2f34a0c.patch/system/L
+ <skipplus>KEY_NEXTSONG</skipplus>
<skipminus>KEY_PREVIOUS</skipminus>
+ <skipminus>KEY_PREVIOUSSONG</skipminus>
<title>KEY_EPG</title>
<guide>KEY_EPG</guide>
<title>KEY_TITLE</title>
+ <title>KEY_TV2</title>
+ <title>KEY_CONTEXT_MENU</title>
<subtitle>KEY_SUBTITLE</subtitle>