git: 6716c31c2fa5 - main - multimedia/kodi: Update to 20.3

From: Fernando Apesteguía <fernape_at_FreeBSD.org>
Date: Sun, 14 Jan 2024 16:46:45 UTC
The branch main has been updated by fernape:

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

commit 6716c31c2fa5087f77ab66103594fc28968ee190
Author:     Fernando Apesteguía <fernape@FreeBSD.org>
AuthorDate: 2024-01-12 08:33:44 +0000
Commit:     Fernando Apesteguía <fernape@FreeBSD.org>
CommitDate: 2024-01-14 16:45:55 +0000

    multimedia/kodi: Update to 20.3
    
    Add fixup for devel/kodi-platform
    
    ChangeLog: https://kodi.tv/article/kodi-20-3-nexus-release/
    
    PR:             276246
    Reported by:    yzrh@noema.org (maintainer)
    MFH:            2024Q1 (includes bug fixes)
---
 devel/kodi-platform/pkg-plist                           |  2 +-
 multimedia/kodi/Makefile                                |  6 +-----
 multimedia/kodi/distinfo                                |  8 +++-----
 multimedia/kodi/files/patch-cmake_modules_FindEGL.cmake | 15 ---------------
 4 files changed, 5 insertions(+), 26 deletions(-)

diff --git a/devel/kodi-platform/pkg-plist b/devel/kodi-platform/pkg-plist
index c4c9cb4b3a04..f828443ddc4f 100644
--- a/devel/kodi-platform/pkg-plist
+++ b/devel/kodi-platform/pkg-plist
@@ -2,5 +2,5 @@ include/kodi/util/XMLUtils.h
 lib/kodiplatform/kodiplatform-config.cmake
 lib/libkodiplatform.so
 lib/libkodiplatform.so.20.0
-lib/libkodiplatform.so.20.2.0
+lib/libkodiplatform.so.20.3.0
 libdata/pkgconfig/kodiplatform.pc
diff --git a/multimedia/kodi/Makefile b/multimedia/kodi/Makefile
index 3a127124b4d4..58fa552d4af4 100644
--- a/multimedia/kodi/Makefile
+++ b/multimedia/kodi/Makefile
@@ -1,12 +1,8 @@
 PORTNAME=	kodi
-DISTVERSION=	20.2
-PORTREVISION=	5
+DISTVERSION=	20.3
 CATEGORIES=	multimedia java
 # do not forget to fix devel/kodi-platform when updating kodi
 
-PATCH_SITES=	https://github.com/xbmc/xbmc/commit/
-PATCHFILES=	58a24d4e6165e838d102e807a003db0d9c186de7.patch:-p1
-
 MAINTAINER=	yzrh@noema.org
 COMMENT=	Award winning media center application
 WWW=		https://kodi.tv/
diff --git a/multimedia/kodi/distinfo b/multimedia/kodi/distinfo
index 46c4b9c386b9..5fc84d1f2708 100644
--- a/multimedia/kodi/distinfo
+++ b/multimedia/kodi/distinfo
@@ -1,11 +1,9 @@
-TIMESTAMP = 1694939602
-SHA256 (xbmc-xbmc-20.2-20.2-Nexus_GH0.tar.gz) = 4e81abf81172812bc8891f69a7a80a2b846298cecaae7b5009725e28a3040c23
-SIZE (xbmc-xbmc-20.2-20.2-Nexus_GH0.tar.gz) = 54587775
+TIMESTAMP = 1704901258
+SHA256 (xbmc-xbmc-20.3-20.3-Nexus_GH0.tar.gz) = 1dbf1d9f4d5eeeb6aa2593813703343a8a377e88a00c68226354e4d67467f64d
+SIZE (xbmc-xbmc-20.3-20.3-Nexus_GH0.tar.gz) = 54567232
 SHA256 (xbmc-libdvdcss-1.4.3-Next-Nexus-Alpha2-2_GH0.tar.gz) = f38c4a4e7a4f4da6d8e83b8852489aa3bb6588a915dc41f5ee89d9aad305a06e
 SIZE (xbmc-libdvdcss-1.4.3-Next-Nexus-Alpha2-2_GH0.tar.gz) = 102124
 SHA256 (xbmc-libdvdnav-6.1.1-Next-Nexus-Alpha2-2_GH0.tar.gz) = 584f62a3896794408d46368e2ecf2c6217ab9c676ce85921b2d68b8961f49dfc
 SIZE (xbmc-libdvdnav-6.1.1-Next-Nexus-Alpha2-2_GH0.tar.gz) = 128547
 SHA256 (xbmc-libdvdread-6.1.3-Next-Nexus-Alpha2-2_GH0.tar.gz) = 719130091e3adc9725ba72df808f24a14737a009dca5a4c38c601c0c76449b62
 SIZE (xbmc-libdvdread-6.1.3-Next-Nexus-Alpha2-2_GH0.tar.gz) = 110513
-SHA256 (58a24d4e6165e838d102e807a003db0d9c186de7.patch) = 0c7ce50029029a937b970a79cfd468d0c336a6be80dcf048b33380d1ed39a66b
-SIZE (58a24d4e6165e838d102e807a003db0d9c186de7.patch) = 3872
diff --git a/multimedia/kodi/files/patch-cmake_modules_FindEGL.cmake b/multimedia/kodi/files/patch-cmake_modules_FindEGL.cmake
deleted file mode 100644
index 6047f2f4c7e6..000000000000
--- a/multimedia/kodi/files/patch-cmake_modules_FindEGL.cmake
+++ /dev/null
@@ -1,15 +0,0 @@
---- cmake/modules/FindEGL.cmake.orig	2023-01-16 15:23:00 UTC
-+++ cmake/modules/FindEGL.cmake
-@@ -36,11 +36,7 @@ if(EGL_FOUND)
-   set(EGL_LIBRARIES ${EGL_LIBRARY})
-   set(EGL_INCLUDE_DIRS ${EGL_INCLUDE_DIR})
-   set(EGL_DEFINITIONS -DHAS_EGL=1)
--  include(CheckIncludeFiles)
--  check_include_files("EGL/egl.h;EGL/eglext.h;EGL/eglext_angle.h" HAVE_EGLEXTANGLE)
--  if(HAVE_EGLEXTANGLE)
--    list(APPEND EGL_DEFINITIONS "-DHAVE_EGLEXTANGLE=1")
--  endif()
-+  list(APPEND EGL_DEFINITIONS "-DHAVE_EGLEXTANGLE=1")
- 
-   if(NOT TARGET EGL::EGL)
-     add_library(EGL::EGL UNKNOWN IMPORTED)