git: b631bf0940d3 - main - multimedia/kodi: Update to 19.5

From: Nuno Teixeira <eduardo_at_FreeBSD.org>
Date: Thu, 29 Dec 2022 10:47:23 UTC
The branch main has been updated by eduardo:

URL: https://cgit.FreeBSD.org/ports/commit/?id=b631bf0940d314faf4259d888fe84dd686553f75

commit b631bf0940d314faf4259d888fe84dd686553f75
Author:     yzrh <yzrh@noema.org>
AuthorDate: 2022-12-29 10:45:38 +0000
Commit:     Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2022-12-29 10:46:57 +0000

    multimedia/kodi: Update to 19.5
    
    ChangeLog:      https://kodi.tv/article/kodi-matrix-19-5-release/
    PR:             268607
---
 multimedia/kodi/Makefile                           |  3 +-
 multimedia/kodi/distinfo                           |  6 ++--
 multimedia/kodi/files/patch-xbmc_utils_GLUtils.cpp | 35 ----------------------
 .../patch-xbmc_windowing_X11_WinSystemX11.cpp      | 14 ---------
 multimedia/kodi/pkg-plist                          | 14 ++++-----
 5 files changed, 9 insertions(+), 63 deletions(-)

diff --git a/multimedia/kodi/Makefile b/multimedia/kodi/Makefile
index 7905f348af35..dd36b6050a1f 100644
--- a/multimedia/kodi/Makefile
+++ b/multimedia/kodi/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	kodi
-DISTVERSION=	19.4
-PORTREVISION=	8
+DISTVERSION=	19.5
 CATEGORIES=	multimedia java
 
 MAINTAINER=	yzrh@noema.org
diff --git a/multimedia/kodi/distinfo b/multimedia/kodi/distinfo
index 337c0bf2b2af..e34c61dd9ded 100644
--- a/multimedia/kodi/distinfo
+++ b/multimedia/kodi/distinfo
@@ -1,6 +1,6 @@
-TIMESTAMP = 1660871836
-SHA256 (xbmc-xbmc-19.4-19.4-Matrix_GH0.tar.gz) = cc026f59fd6e37ae90f3449df50810f1cefa37da9444e1188302d910518710da
-SIZE (xbmc-xbmc-19.4-19.4-Matrix_GH0.tar.gz) = 53487622
+TIMESTAMP = 1672024779
+SHA256 (xbmc-xbmc-19.5-19.5-Matrix_GH0.tar.gz) = 56e0074f27f08496b2a21af5704a15378a2f0979ae3e9fa9a50a2630d0313d19
+SIZE (xbmc-xbmc-19.5-19.5-Matrix_GH0.tar.gz) = 53496968
 SHA256 (xbmc-libdvdcss-1.4.2-Leia-Beta-5_GH0.tar.gz) = 38816f8373e243bc5950449b4f3b18938c4e1c59348e3411e23f31db4072e40d
 SIZE (xbmc-libdvdcss-1.4.2-Leia-Beta-5_GH0.tar.gz) = 101068
 SHA256 (xbmc-libdvdnav-6.0.0-Leia-Alpha-3_GH0.tar.gz) = 071e414e61b795f2ff9015b21a85fc009dde967f27780d23092643916538a57a
diff --git a/multimedia/kodi/files/patch-xbmc_utils_GLUtils.cpp b/multimedia/kodi/files/patch-xbmc_utils_GLUtils.cpp
deleted file mode 100644
index 20102549bc79..000000000000
--- a/multimedia/kodi/files/patch-xbmc_utils_GLUtils.cpp
+++ /dev/null
@@ -1,35 +0,0 @@
---- xbmc/utils/GLUtils.cpp.orig	2022-12-21 00:14:18 UTC
-+++ xbmc/utils/GLUtils.cpp
-@@ -148,27 +148,27 @@ void _VerifyGLState(const char* szfile, const char* sz
- void LogGraphicsInfo()
- {
- #if defined(HAS_GL) || defined(HAS_GLES)
--  const GLubyte *s;
-+  const char *s;
- 
--  s = glGetString(GL_VENDOR);
-+  s = reinterpret_cast<const char*>(glGetString(GL_VENDOR));
-   if (s)
-     CLog::Log(LOGINFO, "GL_VENDOR = %s", s);
-   else
-     CLog::Log(LOGINFO, "GL_VENDOR = NULL");
- 
--  s = glGetString(GL_RENDERER);
-+  s = reinterpret_cast<const char*>(glGetString(GL_RENDERER));
-   if (s)
-     CLog::Log(LOGINFO, "GL_RENDERER = %s", s);
-   else
-     CLog::Log(LOGINFO, "GL_RENDERER = NULL");
- 
--  s = glGetString(GL_VERSION);
-+  s = reinterpret_cast<const char*>(glGetString(GL_VERSION));
-   if (s)
-     CLog::Log(LOGINFO, "GL_VERSION = %s", s);
-   else
-     CLog::Log(LOGINFO, "GL_VERSION = NULL");
- 
--  s = glGetString(GL_SHADING_LANGUAGE_VERSION);
-+  s = reinterpret_cast<const char*>(glGetString(GL_SHADING_LANGUAGE_VERSION));
-   if (s)
-     CLog::Log(LOGINFO, "GL_SHADING_LANGUAGE_VERSION = %s", s);
-   else
diff --git a/multimedia/kodi/files/patch-xbmc_windowing_X11_WinSystemX11.cpp b/multimedia/kodi/files/patch-xbmc_windowing_X11_WinSystemX11.cpp
deleted file mode 100644
index 1cd0f0b6faf0..000000000000
--- a/multimedia/kodi/files/patch-xbmc_windowing_X11_WinSystemX11.cpp
+++ /dev/null
@@ -1,14 +0,0 @@
---- xbmc/windowing/X11/WinSystemX11.cpp.orig	2022-12-21 00:19:40 UTC
-+++ xbmc/windowing/X11/WinSystemX11.cpp
-@@ -1038,7 +1038,10 @@ bool CWinSystemX11::HasWindowManager()
- 
-   if(status == Success && items_read)
-   {
--    CLog::Log(LOGDEBUG,"Window Manager Name: %s", data);
-+    const char* s;
-+
-+    s = reinterpret_cast<const char*>(data);
-+    CLog::Log(LOGDEBUG,"Window Manager Name: {}", s);
-   }
-   else
-     CLog::Log(LOGDEBUG,"Window Manager Name: ");
diff --git a/multimedia/kodi/pkg-plist b/multimedia/kodi/pkg-plist
index 7a4fad389e81..7c21f4709036 100644
--- a/multimedia/kodi/pkg-plist
+++ b/multimedia/kodi/pkg-plist
@@ -129,6 +129,7 @@ include/kodi/tools/StringUtils.h
 include/kodi/tools/Thread.h
 include/kodi/tools/Timer.h
 include/kodi/versions.h
+lib/kodi/cmake/KodiConfig.cmake
 %%KODIGBM%%lib/kodi/kodi-gbm
 %%KODIWAYLAND%%lib/kodi/kodi-wayland
 %%KODIX11%%lib/kodi/kodi-x11
@@ -136,8 +137,6 @@ include/kodi/versions.h
 %%X11%%lib/kodi/kodi-xrandr
 %%SSE4_1%%lib/kodi/system/libsse4-%%ARCH%%-freebsd.so
 lib/kodi/system/players/VideoPlayer/libdvdnav-%%ARCH%%-freebsd.so
-share/man/man1/kodi.1.gz
-share/man/man1/kodi.bin.1.gz
 share/applications/kodi.desktop
 %%PORTDOCS%%%%DOCSDIR%%/LICENSE.md
 %%PORTDOCS%%%%DOCSDIR%%/README.Linux.md
@@ -162,7 +161,6 @@ share/icons/hicolor/64x64/apps/kodi.png
 %%DATADIR%%/addons/game.controller.default/resources/icon.png
 %%DATADIR%%/addons/game.controller.default/resources/language/resource.language.af_za/strings.po
 %%DATADIR%%/addons/game.controller.default/resources/language/resource.language.am_et/strings.po
-%%DATADIR%%/addons/game.controller.default/resources/language/resource.language.ar_ma/strings.po
 %%DATADIR%%/addons/game.controller.default/resources/language/resource.language.ar_sa/strings.po
 %%DATADIR%%/addons/game.controller.default/resources/language/resource.language.ast_es/strings.po
 %%DATADIR%%/addons/game.controller.default/resources/language/resource.language.az_az/strings.po
@@ -188,6 +186,7 @@ share/icons/hicolor/64x64/apps/kodi.png
 %%DATADIR%%/addons/game.controller.default/resources/language/resource.language.fa_af/strings.po
 %%DATADIR%%/addons/game.controller.default/resources/language/resource.language.fa_ir/strings.po
 %%DATADIR%%/addons/game.controller.default/resources/language/resource.language.fi_fi/strings.po
+%%DATADIR%%/addons/game.controller.default/resources/language/resource.language.fil/strings.po
 %%DATADIR%%/addons/game.controller.default/resources/language/resource.language.fo_fo/strings.po
 %%DATADIR%%/addons/game.controller.default/resources/language/resource.language.fr_ca/strings.po
 %%DATADIR%%/addons/game.controller.default/resources/language/resource.language.fr_fr/strings.po
@@ -219,10 +218,8 @@ share/icons/hicolor/64x64/apps/kodi.png
 %%DATADIR%%/addons/game.controller.default/resources/language/resource.language.pl_pl/strings.po
 %%DATADIR%%/addons/game.controller.default/resources/language/resource.language.pt_br/strings.po
 %%DATADIR%%/addons/game.controller.default/resources/language/resource.language.pt_pt/strings.po
-%%DATADIR%%/addons/game.controller.default/resources/language/resource.language.ro_md/strings.po
 %%DATADIR%%/addons/game.controller.default/resources/language/resource.language.ro_ro/strings.po
 %%DATADIR%%/addons/game.controller.default/resources/language/resource.language.ru_ru/strings.po
-%%DATADIR%%/addons/game.controller.default/resources/language/resource.language.scn/strings.po
 %%DATADIR%%/addons/game.controller.default/resources/language/resource.language.si_lk/strings.po
 %%DATADIR%%/addons/game.controller.default/resources/language/resource.language.sk_sk/strings.po
 %%DATADIR%%/addons/game.controller.default/resources/language/resource.language.sl_si/strings.po
@@ -247,7 +244,6 @@ share/icons/hicolor/64x64/apps/kodi.png
 %%DATADIR%%/addons/game.controller.snes/resources/icon.png
 %%DATADIR%%/addons/game.controller.snes/resources/language/resource.language.af_za/strings.po
 %%DATADIR%%/addons/game.controller.snes/resources/language/resource.language.am_et/strings.po
-%%DATADIR%%/addons/game.controller.snes/resources/language/resource.language.ar_ma/strings.po
 %%DATADIR%%/addons/game.controller.snes/resources/language/resource.language.ar_sa/strings.po
 %%DATADIR%%/addons/game.controller.snes/resources/language/resource.language.ast_es/strings.po
 %%DATADIR%%/addons/game.controller.snes/resources/language/resource.language.az_az/strings.po
@@ -273,6 +269,7 @@ share/icons/hicolor/64x64/apps/kodi.png
 %%DATADIR%%/addons/game.controller.snes/resources/language/resource.language.fa_af/strings.po
 %%DATADIR%%/addons/game.controller.snes/resources/language/resource.language.fa_ir/strings.po
 %%DATADIR%%/addons/game.controller.snes/resources/language/resource.language.fi_fi/strings.po
+%%DATADIR%%/addons/game.controller.snes/resources/language/resource.language.fil/strings.po
 %%DATADIR%%/addons/game.controller.snes/resources/language/resource.language.fo_fo/strings.po
 %%DATADIR%%/addons/game.controller.snes/resources/language/resource.language.fr_ca/strings.po
 %%DATADIR%%/addons/game.controller.snes/resources/language/resource.language.fr_fr/strings.po
@@ -304,10 +301,8 @@ share/icons/hicolor/64x64/apps/kodi.png
 %%DATADIR%%/addons/game.controller.snes/resources/language/resource.language.pl_pl/strings.po
 %%DATADIR%%/addons/game.controller.snes/resources/language/resource.language.pt_br/strings.po
 %%DATADIR%%/addons/game.controller.snes/resources/language/resource.language.pt_pt/strings.po
-%%DATADIR%%/addons/game.controller.snes/resources/language/resource.language.ro_md/strings.po
 %%DATADIR%%/addons/game.controller.snes/resources/language/resource.language.ro_ro/strings.po
 %%DATADIR%%/addons/game.controller.snes/resources/language/resource.language.ru_ru/strings.po
-%%DATADIR%%/addons/game.controller.snes/resources/language/resource.language.scn/strings.po
 %%DATADIR%%/addons/game.controller.snes/resources/language/resource.language.si_lk/strings.po
 %%DATADIR%%/addons/game.controller.snes/resources/language/resource.language.sk_sk/strings.po
 %%DATADIR%%/addons/game.controller.snes/resources/language/resource.language.sl_si/strings.po
@@ -1719,7 +1714,6 @@ share/icons/hicolor/64x64/apps/kodi.png
 %%DATADIR%%/cmake/GenerateVersionedFiles.cmake
 %%DATADIR%%/cmake/GeneratorSetup.cmake
 %%DATADIR%%/cmake/HandleDepends.cmake
-%%DATADIR%%/cmake/KodiConfig.cmake
 %%DATADIR%%/cmake/Macros.cmake
 %%DATADIR%%/cmake/PathSetup.cmake
 %%DATADIR%%/cmake/PrepareEnv.cmake
@@ -1955,5 +1949,7 @@ share/icons/hicolor/64x64/apps/kodi.png
 %%DATADIR%%/userdata/ModeLines_template.xml
 %%DATADIR%%/userdata/RssFeeds.xml
 %%DATADIR%%/userdata/iOS/sources.xml
+share/man/man1/kodi.1.gz
+share/man/man1/kodi.bin.1.gz
 share/metainfo/org.xbmc.kodi.metainfo.xml
 share/xsessions/kodi.desktop