multimedia/kodi-devel: Update to latest commit

- Appears to build fine on FreeBSD 10 now
This commit is contained in:
Tobias Kortkamp 2018-07-23 08:50:02 +00:00
parent 9990f6b55b
commit 04b78aa55c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=475155
3 changed files with 23 additions and 10 deletions

View file

@ -1,8 +1,7 @@
# $FreeBSD$ # $FreeBSD$
PORTNAME= kodi PORTNAME= kodi
DISTVERSION= 18.0.g201806300625 DISTVERSION= 18.0.g201807222249
PORTREVISION= 1
CATEGORIES= multimedia CATEGORIES= multimedia
PKGNAMESUFFIX?= -devel PKGNAMESUFFIX?= -devel
@ -10,9 +9,8 @@ MAINTAINER= tobik@FreeBSD.org
COMMENT= Award winning media center application COMMENT= Award winning media center application
LICENSE= GPLv2 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 ONLY_FOR_ARCHS= amd64 armv6 armv7 i386
BUILD_DEPENDS= rapidjson>=0:devel/rapidjson \ 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 # leads to dependency problems where libcpluff.a is not yet finished
# building when it's required. # building when it's required.
USES= autoreconf:build cmake:outsource,noninja compiler:c++11-lib \ 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 ssl sqlite
USE_GITHUB= yes USE_GITHUB= yes
GH_ACCOUNT= xbmc GH_ACCOUNT= xbmc
GH_PROJECT= xbmc GH_PROJECT= xbmc
GH_TAGNAME= 8063088ceecc6674763c83a63356fe0296b005a8 GH_TAGNAME= 64a79f3e8c1cc1af0b8dc4f645e60f6c889e3667
USE_GNOME= libxslt libxml2 USE_GNOME= libxslt libxml2
USE_JAVA= yes USE_JAVA= yes
JAVA_BUILD= yes JAVA_BUILD= yes
USE_LDCONFIG= yes USE_LDCONFIG= yes
CONFLICTS_INSTALL= kodi-[0-9]* CONFLICTS_INSTALL= kodi
CMAKE_ARGS= -DLIBDVD_INCLUDE_DIRS="${LOCALBASE}/include" \ CMAKE_ARGS= -DLIBDVD_INCLUDE_DIRS="${LOCALBASE}/include" \
-DDVDREAD_LIBRARY="${LOCALBASE}/lib/libdvdread.so" \ -DDVDREAD_LIBRARY="${LOCALBASE}/lib/libdvdread.so" \

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1530424760 TIMESTAMP = 1532314724
SHA256 (xbmc-xbmc-18.0.g201806300625-8063088ceecc6674763c83a63356fe0296b005a8_GH0.tar.gz) = d233357130bdcee29a7d4e6ad3c29a21cdb8d23cfdec9d80724b3c0a2690cee9 SHA256 (xbmc-xbmc-18.0.g201807222249-64a79f3e8c1cc1af0b8dc4f645e60f6c889e3667_GH0.tar.gz) = 1618606b898bb475e05a3cb84976a1773cb9f44d87fdf9ac6b07d2e36296f206
SIZE (xbmc-xbmc-18.0.g201806300625-8063088ceecc6674763c83a63356fe0296b005a8_GH0.tar.gz) = 41119460 SIZE (xbmc-xbmc-18.0.g201807222249-64a79f3e8c1cc1af0b8dc4f645e60f6c889e3667_GH0.tar.gz) = 50766017

View file

@ -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();