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 |
|