svn commit: r475155 - in head/multimedia/kodi-devel: . files

Tobias Kortkamp tobik at FreeBSD.org
Mon Jul 23 08:50:04 UTC 2018


Author: tobik
Date: Mon Jul 23 08:50:02 2018
New Revision: 475155
URL: https://svnweb.freebsd.org/changeset/ports/475155

Log:
  multimedia/kodi-devel: Update to latest commit
  
  - Appears to build fine on FreeBSD 10 now

Added:
  head/multimedia/kodi-devel/files/patch-xbmc_platform_linux_storage_LinuxStorageProvider.cpp   (contents, props changed)
Modified:
  head/multimedia/kodi-devel/Makefile
  head/multimedia/kodi-devel/distinfo

Modified: head/multimedia/kodi-devel/Makefile
==============================================================================
--- head/multimedia/kodi-devel/Makefile	Mon Jul 23 08:14:18 2018	(r475154)
+++ head/multimedia/kodi-devel/Makefile	Mon Jul 23 08:50:02 2018	(r475155)
@@ -1,8 +1,7 @@
 # $FreeBSD$
 
 PORTNAME=	kodi
-DISTVERSION=	18.0.g201806300625
-PORTREVISION=	1
+DISTVERSION=	18.0.g201807222249
 CATEGORIES=	multimedia
 PKGNAMESUFFIX?=	-devel
 
@@ -10,9 +9,8 @@ MAINTAINER=	tobik at FreeBSD.org
 COMMENT=	Award winning media center application
 
 LICENSE=	GPLv2
-LICENSE_FILE=	${WRKSRC}/LICENSE.GPL
+LICENSE_FILE=	${WRKSRC}/copying.txt
 
-BROKEN_FreeBSD_10=	does not build
 ONLY_FOR_ARCHS=	amd64 armv6 armv7 i386
 
 BUILD_DEPENDS=	rapidjson>=0:devel/rapidjson \
@@ -50,18 +48,18 @@ LIB_DEPENDS=	libass.so:multimedia/libass \
 # leads to dependency problems where libcpluff.a is not yet finished
 # building when it's required.
 USES=		autoreconf:build cmake:outsource,noninja compiler:c++11-lib \
-		gettext gmake iconv:wchar_t jpeg libtool pkgconfig python:-2.7 \
+		gettext gmake iconv:wchar_t jpeg libtool pkgconfig python:2.7 \
 		ssl sqlite
 USE_GITHUB=	yes
 GH_ACCOUNT=	xbmc
 GH_PROJECT=	xbmc
-GH_TAGNAME=	8063088ceecc6674763c83a63356fe0296b005a8
+GH_TAGNAME=	64a79f3e8c1cc1af0b8dc4f645e60f6c889e3667
 USE_GNOME=	libxslt libxml2
 USE_JAVA=	yes
 JAVA_BUILD=	yes
 USE_LDCONFIG=	yes
 
-CONFLICTS_INSTALL=	kodi-[0-9]*
+CONFLICTS_INSTALL=	kodi
 
 CMAKE_ARGS=	-DLIBDVD_INCLUDE_DIRS="${LOCALBASE}/include" \
 		-DDVDREAD_LIBRARY="${LOCALBASE}/lib/libdvdread.so" \

Modified: head/multimedia/kodi-devel/distinfo
==============================================================================
--- head/multimedia/kodi-devel/distinfo	Mon Jul 23 08:14:18 2018	(r475154)
+++ head/multimedia/kodi-devel/distinfo	Mon Jul 23 08:50:02 2018	(r475155)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1530424760
-SHA256 (xbmc-xbmc-18.0.g201806300625-8063088ceecc6674763c83a63356fe0296b005a8_GH0.tar.gz) = d233357130bdcee29a7d4e6ad3c29a21cdb8d23cfdec9d80724b3c0a2690cee9
-SIZE (xbmc-xbmc-18.0.g201806300625-8063088ceecc6674763c83a63356fe0296b005a8_GH0.tar.gz) = 41119460
+TIMESTAMP = 1532314724
+SHA256 (xbmc-xbmc-18.0.g201807222249-64a79f3e8c1cc1af0b8dc4f645e60f6c889e3667_GH0.tar.gz) = 1618606b898bb475e05a3cb84976a1773cb9f44d87fdf9ac6b07d2e36296f206
+SIZE (xbmc-xbmc-18.0.g201807222249-64a79f3e8c1cc1af0b8dc4f645e60f6c889e3667_GH0.tar.gz) = 50766017

Added: head/multimedia/kodi-devel/files/patch-xbmc_platform_linux_storage_LinuxStorageProvider.cpp
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/multimedia/kodi-devel/files/patch-xbmc_platform_linux_storage_LinuxStorageProvider.cpp	Mon Jul 23 08:50:02 2018	(r475155)
@@ -0,0 +1,15 @@
+xbmc/platform/linux/storage/LinuxStorageProvider.cpp:73:19: error: use of undeclared identifier 'getenv'
+  share.strPath = getenv("HOME");
+                    ^
+
+--- xbmc/platform/linux/storage/LinuxStorageProvider.cpp.orig	2018-07-23 03:59:13 UTC
++++ xbmc/platform/linux/storage/LinuxStorageProvider.cpp
+@@ -27,6 +27,8 @@
+ #endif
+ #include "PosixMountProvider.h"
+ 
++#include <cstdlib>
++
+ IStorageProvider* IStorageProvider::CreateInstance()
+ {
+   return new CLinuxStorageProvider();


More information about the svn-ports-all mailing list