diff options
author | tobik <tobik@FreeBSD.org> | 2018-07-23 16:50:02 +0800 |
---|---|---|
committer | tobik <tobik@FreeBSD.org> | 2018-07-23 16:50:02 +0800 |
commit | 907bdc36fb8b7cae5b2be82f32800ab6d9b86d94 (patch) | |
tree | 285c1ed57fc829330bcb416c6a9214d6e54a68e7 /multimedia | |
parent | 870f2130b4836c9031c4c11ce8750376843cd9a7 (diff) | |
download | freebsd-ports-gnome-907bdc36fb8b7cae5b2be82f32800ab6d9b86d94.tar.gz freebsd-ports-gnome-907bdc36fb8b7cae5b2be82f32800ab6d9b86d94.tar.zst freebsd-ports-gnome-907bdc36fb8b7cae5b2be82f32800ab6d9b86d94.zip |
multimedia/kodi-devel: Update to latest commit
- Appears to build fine on FreeBSD 10 now
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/kodi-devel/Makefile | 12 | ||||
-rw-r--r-- | multimedia/kodi-devel/distinfo | 6 | ||||
-rw-r--r-- | multimedia/kodi-devel/files/patch-xbmc_platform_linux_storage_LinuxStorageProvider.cpp | 15 |
3 files changed, 23 insertions, 10 deletions
diff --git a/multimedia/kodi-devel/Makefile b/multimedia/kodi-devel/Makefile index 2460b7a7bc64..fe0698ba9c97 100644 --- a/multimedia/kodi-devel/Makefile +++ b/multimedia/kodi-devel/Makefile @@ -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@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" \ diff --git a/multimedia/kodi-devel/distinfo b/multimedia/kodi-devel/distinfo index 81743fcbf9a6..56a425844053 100644 --- a/multimedia/kodi-devel/distinfo +++ b/multimedia/kodi-devel/distinfo @@ -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 diff --git a/multimedia/kodi-devel/files/patch-xbmc_platform_linux_storage_LinuxStorageProvider.cpp b/multimedia/kodi-devel/files/patch-xbmc_platform_linux_storage_LinuxStorageProvider.cpp new file mode 100644 index 000000000000..69a78c2003e8 --- /dev/null +++ b/multimedia/kodi-devel/files/patch-xbmc_platform_linux_storage_LinuxStorageProvider.cpp @@ -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(); |