media-tv/kodi: mesa 22.3.0 compatibility

Closes: https://bugs.gentoo.org/885419
Closes: https://github.com/gentoo/gentoo/pull/28683
Signed-off-by: Craig Andrews <candrews@gentoo.org>
This commit is contained in:
V3n3RiX
2022-12-17 14:38:35 -05:00
committed by Craig Andrews
parent 21fabd65e4
commit ea3f9b515f
3 changed files with 22 additions and 0 deletions
@@ -0,0 +1,12 @@
--- xbmc/xbmc/windowing/X11/GLContextEGL.h
+++ xbmc/xbmc/windowing/X11/GLContextEGL.h
@@ -13,7 +13,7 @@
#include "threads/CriticalSection.h"
#include <EGL/eglext.h>
-#include <EGL/eglextchromium.h>
+#include <EGL/eglext_angle.h>
#include <X11/Xutil.h>
class CGLContextEGL : public CGLContext
+5
View File
@@ -208,6 +208,11 @@ src_unpack() {
}
src_prepare() {
# https://bugs.gentoo.org/885419
if has_version ">=media-libs/mesa-22.3.0"; then
PATCHES+=( "${FILESDIR}/${P}-fix-mesa-22.3.0-build.patch" )
fi
cmake_src_prepare
# avoid long delays when powerkit isn't running #348580
+5
View File
@@ -209,6 +209,11 @@ src_unpack() {
}
src_prepare() {
# https://bugs.gentoo.org/885419
if has_version ">=media-libs/mesa-22.3.0"; then
PATCHES+=( "${FILESDIR}/${P}-fix-mesa-22.3.0-build.patch" )
fi
cmake_src_prepare
# avoid long delays when powerkit isn't running #348580