View | Details | Raw Unified | Return to bug 268234 | Differences between
and this patch

Collapse All | Expand All

(-)kodi/Makefile (-16 / +14 lines)
Lines 1-7 Link Here
1
PORTNAME=	kodi
1
PORTNAME=	kodi
2
DISTVERSION=	19.4
2
DISTVERSION=	19.4
3
DISTVERSIONSUFFIX=	-${KODI_CODENAME}
3
PORTREVISION=	6
4
PORTREVISION=	5
5
CATEGORIES=	multimedia java
4
CATEGORIES=	multimedia java
6
5
7
MAINTAINER=	yzrh@noema.org
6
MAINTAINER=	yzrh@noema.org
Lines 24-31 Link Here
24
		libcrossguid.so:devel/libcrossguid \
23
		libcrossguid.so:devel/libcrossguid \
25
		libcurl.so:ftp/curl \
24
		libcurl.so:ftp/curl \
26
		libdav1d.so:multimedia/dav1d \
25
		libdav1d.so:multimedia/dav1d \
27
		libdvdnav.so:multimedia/libdvdnav \
28
		libdvdread.so:multimedia/libdvdread \
29
		libexpat.so:textproc/expat2 \
26
		libexpat.so:textproc/expat2 \
30
		libfmt.so:devel/libfmt \
27
		libfmt.so:devel/libfmt \
31
		libfreetype.so:print/freetype2 \
28
		libfreetype.so:print/freetype2 \
Lines 43-56 Link Here
43
		libtinyxml.so:textproc/tinyxml \
40
		libtinyxml.so:textproc/tinyxml \
44
		libuuid.so:misc/e2fsprogs-libuuid
41
		libuuid.so:misc/e2fsprogs-libuuid
45
42
46
USES=		cpe cmake compiler:c++14-lang gettext \
43
USES=		autoreconf:build cpe cmake:noninja compiler:c++17-lang gettext \
47
		gnome iconv jpeg pkgconfig python:3.5+ sqlite ssl
44
		gmake gnome iconv jpeg libtool pkgconfig python:3.7+ sqlite ssl
48
45
49
KODI_CODENAME=	Matrix
46
KODI_CODENAME=	Matrix
47
LIBDVDCSS_VERSION=	1.4.2-Leia-Beta-5
48
LIBDVDNAV_VERSION=	6.0.0-Leia-Alpha-3
49
LIBDVDREAD_VERSION=	6.0.0-Leia-Alpha-3
50
50
51
USE_GITHUB=	yes
51
USE_GITHUB=	yes
52
GH_ACCOUNT=	xbmc
52
GH_TUPLE=	xbmc:xbmc:${DISTVERSION}-${KODI_CODENAME} \
53
GH_PROJECT=	xbmc
53
		xbmc:libdvdcss:${LIBDVDCSS_VERSION}:libdvdcss/tools/depends/target/libdvdcss/native \
54
		xbmc:libdvdnav:${LIBDVDNAV_VERSION}:libdvdnav/tools/depends/target/libdvdnav/native \
55
		xbmc:libdvdread:${LIBDVDREAD_VERSION}:libdvdread/tools/depends/target/libdvdread/native
54
56
55
KODI_ARCH_aarch64=	aarch64
57
KODI_ARCH_aarch64=	aarch64
56
KODI_ARCH_amd64=	x86_64
58
KODI_ARCH_amd64=	x86_64
Lines 66-75 Link Here
66
USE_JAVA=	yes
68
USE_JAVA=	yes
67
JAVA_BUILD=	jre
69
JAVA_BUILD=	jre
68
USE_GNOME=	libxml2
70
USE_GNOME=	libxml2
69
CMAKE_ARGS=	-DGIT_VERSION="${GH_TAGNAME}" \
71
CMAKE_ARGS=	-DGIT_VERSION="${DISTVERSION}-${KODI_CODENAME}" \
70
		-DDVDNAV_LIBRARY="${LOCALBASE}/lib/libdvdnav.so" \
72
		-DLIBDVDCSS_URL="${DISTDIR}/xbmc-libdvdcss-${LIBDVDCSS_VERSION}_GH0.tar.gz" \
71
		-DDVDREAD_LIBRARY="${LOCALBASE}/lib/libdvdread.so" \
73
		-DLIBDVDNAV_URL="${DISTDIR}/xbmc-libdvdnav-${LIBDVDNAV_VERSION}_GH0.tar.gz" \
72
		-DLIBDVD_INCLUDE_DIRS="${LOCALBASE}/include"
74
		-DLIBDVDREAD_URL="${DISTDIR}/xbmc-libdvdread-${LIBDVDREAD_VERSION}_GH0.tar.gz"
73
CMAKE_OFF=	ENABLE_INTERNAL_CROSSGUID
75
CMAKE_OFF=	ENABLE_INTERNAL_CROSSGUID
74
CONFIGURE_ENV=	_CPU_FEATURE="${CPU_FEATURE}"
76
CONFIGURE_ENV=	_CPU_FEATURE="${CPU_FEATURE}"
75
77
Lines 141-149 Link Here
141
DBUS_LIB_DEPENDS=	libdbus-1.so:devel/dbus
143
DBUS_LIB_DEPENDS=	libdbus-1.so:devel/dbus
142
DBUS_CMAKE_BOOL=	ENABLE_DBUS
144
DBUS_CMAKE_BOOL=	ENABLE_DBUS
143
145
144
DVDCSS_LIB_DEPENDS=	libdvdcss.so:multimedia/libdvdcss
145
DVDCSS_CMAKE_BOOL=	ENABLE_DVDCSS
146
DVDCSS_CMAKE_BOOL=	ENABLE_DVDCSS
146
DVDCSS_CMAKE_ON=	-DDVDCSS_LIBRARY="${LOCALBASE}/lib/libdvdcss.so"
147
147
148
LCMS2_LIB_DEPENDS=	liblcms2.so.2:graphics/lcms2
148
LCMS2_LIB_DEPENDS=	liblcms2.so.2:graphics/lcms2
149
LCMS2_CMAKE_BOOL=	ENABLE_LCMS2
149
LCMS2_CMAKE_BOOL=	ENABLE_LCMS2
Lines 278-285 Link Here
278
.endif
278
.endif
279
279
280
post-patch:
280
post-patch:
281
	${REINPLACE_CMD} 's|KODI_DEPENDSBUILD|true|' \
282
		${WRKSRC}/cmake/modules/FindLibDvd.cmake
283
	${REINPLACE_CMD} 's|/usr/share|${LOCALBASE}/share|' \
281
	${REINPLACE_CMD} 's|/usr/share|${LOCALBASE}/share|' \
284
		${WRKSRC}/xbmc/platform/linux/input/LibInputSettings.cpp
282
		${WRKSRC}/xbmc/platform/linux/input/LibInputSettings.cpp
285
283
(-)kodi/distinfo (-3 / +9 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1646484818
1
TIMESTAMP = 1660871836
2
SHA256 (xbmc-xbmc-19.4-Matrix_GH0.tar.gz) = cc026f59fd6e37ae90f3449df50810f1cefa37da9444e1188302d910518710da
2
SHA256 (xbmc-xbmc-19.4-19.4-Matrix_GH0.tar.gz) = cc026f59fd6e37ae90f3449df50810f1cefa37da9444e1188302d910518710da
3
SIZE (xbmc-xbmc-19.4-Matrix_GH0.tar.gz) = 53487622
3
SIZE (xbmc-xbmc-19.4-19.4-Matrix_GH0.tar.gz) = 53487622
4
SHA256 (xbmc-libdvdcss-1.4.2-Leia-Beta-5_GH0.tar.gz) = 38816f8373e243bc5950449b4f3b18938c4e1c59348e3411e23f31db4072e40d
5
SIZE (xbmc-libdvdcss-1.4.2-Leia-Beta-5_GH0.tar.gz) = 101068
6
SHA256 (xbmc-libdvdnav-6.0.0-Leia-Alpha-3_GH0.tar.gz) = 071e414e61b795f2ff9015b21a85fc009dde967f27780d23092643916538a57a
7
SIZE (xbmc-libdvdnav-6.0.0-Leia-Alpha-3_GH0.tar.gz) = 137942
8
SHA256 (xbmc-libdvdread-6.0.0-Leia-Alpha-3_GH0.tar.gz) = a30b6aa0aad0f2c505bc77948af2d5531a80b6e68112addb4c123fca24d5d3bf
9
SIZE (xbmc-libdvdread-6.0.0-Leia-Alpha-3_GH0.tar.gz) = 130649
(-)kodi/files/patch-xbmc_windowing_X11_GLContextEGL.h (+11 lines)
Line 0 Link Here
1
--- xbmc/windowing/X11/GLContextEGL.h.orig	2022-03-02 18:38:51 UTC
2
+++ xbmc/windowing/X11/GLContextEGL.h
3
@@ -13,7 +13,7 @@
4
 #include "threads/CriticalSection.h"
5
 
6
 #include <EGL/eglext.h>
7
-#include <EGL/eglextchromium.h>
8
+#include <EGL/eglext_angle.h>
9
 #include <X11/Xutil.h>
10
 
11
 class CGLContextEGL : public CGLContext

Return to bug 268234