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

Tobias Kortkamp tobik at FreeBSD.org
Sun Mar 25 15:36:44 UTC 2018


Author: tobik
Date: Sun Mar 25 15:36:43 2018
New Revision: 465525
URL: https://svnweb.freebsd.org/changeset/ports/465525

Log:
  multimedia/kodi-devel: Unbreak WAYLAND option

Modified:
  head/multimedia/kodi-devel/Makefile
  head/multimedia/kodi-devel/files/patch-rbpi
  head/multimedia/kodi-devel/files/patch-wayland

Modified: head/multimedia/kodi-devel/Makefile
==============================================================================
--- head/multimedia/kodi-devel/Makefile	Sun Mar 25 15:36:32 2018	(r465524)
+++ head/multimedia/kodi-devel/Makefile	Sun Mar 25 15:36:43 2018	(r465525)
@@ -2,6 +2,7 @@
 
 PORTNAME=	kodi
 DISTVERSION=	18.0.g201803211302
+PORTREVISION=	1
 CATEGORIES=	multimedia
 PKGNAMESUFFIX?=	-devel
 
@@ -73,14 +74,13 @@ CONFIGURE_ENV=	OPENSSL_LIBS="-L${OPENSSLLIB}" OPENSSL_
 KODIARCH_i386=	x86
 KODIARCH_amd64=	x86_64
 
-PLIST_SUB=	ARCH=${KODIARCH_${ARCH}:U${ARCH}} OPSYS=${OPSYS:tl} \
-		WAYLAND="@comment "
+PLIST_SUB=	ARCH=${KODIARCH_${ARCH}:U${ARCH}} OPSYS=${OPSYS:tl}
 
 OPTIONS_DEFINE=	AVAHI CEC DBUS LIBBLURAY MYSQL NFS SMB SSH UPNP VAAPI	\
 		VDPAU WEBSERVER
 OPTIONS_DEFAULT=	LIBBLURAY SNDIO SSH UPNP VAAPI VDPAU WEBSERVER X11
 OPTIONS_SINGLE=	PLATFORM
-OPTIONS_SINGLE_PLATFORM=	GBM RPI X11
+OPTIONS_SINGLE_PLATFORM=	GBM RPI WAYLAND X11
 OPTIONS_EXCLUDE_amd64=	RPI
 OPTIONS_EXCLUDE_i386=	RPI
 OPTIONS_SUB=	yes
@@ -95,7 +95,6 @@ CEC_DESC=	CEC adapter support
 GBM_DESC=	GBM support (requires a kernel with evdev support)
 PLATFORM_DESC=	Platform
 RPI_DESC=	Raspberry Pi support
-WAYLAND_DESC=	Wayland support (broken)
 
 AVAHI_LIB_DEPENDS=	libavahi-client.so:net/avahi-app
 AVAHI_CMAKE_BOOL=	ENABLE_AVAHI
@@ -154,7 +153,6 @@ VAAPI_CMAKE_BOOL=	ENABLE_VAAPI
 VDPAU_LIB_DEPENDS=	libvdpau.so:multimedia/libvdpau
 VDPAU_CMAKE_BOOL=	ENABLE_VDPAU
 
-# Not enabled: Requires default WAYLAND in graphics/mesa-libs and missing graphics/waylandpp port
 WAYLAND_BUILD_DEPENDS=	wayland-protocols>=0:graphics/wayland-protocols
 WAYLAND_CMAKE_ON=	-DCORE_PLATFORM_NAME:STRING="wayland" \
 			-DWAYLAND_RENDER_SYSTEM:STRING="gl"

Modified: head/multimedia/kodi-devel/files/patch-rbpi
==============================================================================
--- head/multimedia/kodi-devel/files/patch-rbpi	Sun Mar 25 15:36:32 2018	(r465524)
+++ head/multimedia/kodi-devel/files/patch-rbpi	Sun Mar 25 15:36:43 2018	(r465525)
@@ -24,15 +24,6 @@
    else()
      message(WARNING "unknown CPU: ${CPU}")
    endif()
---- cmake/treedata/freebsd/subdirs.txt.orig	2018-01-05 00:21:32 UTC
-+++ cmake/treedata/freebsd/subdirs.txt
-@@ -9,4 +9,6 @@ xbmc/storage/linux         storage/linux
- xbmc/filesystem/posix      filesystem/posix
- xbmc/utils/posix           utils_posix
- xbmc/platform/posix        posix
-+xbmc/cores/RetroPlayer/process/rbpi cores/RetroPlayer/process/rbpi
-+xbmc/cores/VideoPlayer/Process/rbpi cores/VideoPlayer/Process/rbpi
- xbmc/freebsd               freebsdsupport
 --- xbmc/windowing/rpi/WinSystemRpi.cpp.orig	2018-02-09 09:50:14 UTC
 +++ xbmc/windowing/rpi/WinSystemRpi.cpp
 @@ -32,9 +32,16 @@

Modified: head/multimedia/kodi-devel/files/patch-wayland
==============================================================================
--- head/multimedia/kodi-devel/files/patch-wayland	Sun Mar 25 15:36:32 2018	(r465524)
+++ head/multimedia/kodi-devel/files/patch-wayland	Sun Mar 25 15:36:43 2018	(r465525)
@@ -1,13 +1,34 @@
+--- cmake/modules/FindWaylandpp.cmake.orig	2018-03-21 13:02:45 UTC
++++ cmake/modules/FindWaylandpp.cmake
+@@ -10,7 +10,7 @@
+ # WAYLANDPP_DEFINITIONS  - the waylandpp definitions
+ # WAYLANDPP_SCANNER      - path to wayland-scanner++
+ 
+-pkg_check_modules(WAYLANDPP wayland-client++ wayland-egl++ wayland-cursor++)
++pkg_check_modules(WAYLANDPP wayland-client++ wayland-client-extra++ wayland-egl++ wayland-cursor++)
+ pkg_check_modules(PC_WAYLANDPP_SCANNER wayland-scanner++)
+ if(WAYLANDPP_FOUND)
+   pkg_get_variable(PC_WAYLANDPP_PKGDATADIR wayland-client++ pkgdatadir)
+--- cmake/treedata/freebsd/subdirs.txt.orig	2018-03-21 13:02:45 UTC
++++ cmake/treedata/freebsd/subdirs.txt
+@@ -9,4 +9,7 @@ xbmc/storage/linux         storage/linux
+ xbmc/filesystem/posix      filesystem/posix
+ xbmc/utils/posix           utils_posix
+ xbmc/platform/posix        posix
++xbmc/cores/RetroPlayer/process/rbpi cores/RetroPlayer/process/rbpi
++xbmc/cores/VideoPlayer/Process/rbpi cores/VideoPlayer/Process/rbpi
+ xbmc/freebsd               freebsdsupport
++xbmc/windowing/linux       windowing/linux
 --- xbmc/windowing/wayland/ShellSurfaceXdgShell.h.orig	2018-03-21 13:02:45 UTC
 +++ xbmc/windowing/wayland/ShellSurfaceXdgShell.h
-@@ -22,6 +22,7 @@
- #include "Connection.h"
+@@ -23,6 +23,7 @@
  #include "ShellSurface.h"
  
-+#include <wayland-client-protocol.hpp>
  #include <wayland-extra-protocols.hpp>
++#include <wayland-client-protocol-extra.hpp>
  
  namespace KODI
+ {
 --- xbmc/windowing/wayland/WinSystemWayland.cpp.orig	2018-03-21 13:02:45 UTC
 +++ xbmc/windowing/wayland/WinSystemWayland.cpp
 @@ -1331,7 +1331,7 @@ void CWinSystemWayland::PrepareFramePresentation()
@@ -21,11 +42,11 @@
        m_presentationFeedbackHandlers.Invoke(tv, refresh, m_syncOutputID, m_syncOutputRefreshRate, msc);
 --- xbmc/windowing/wayland/WinSystemWayland.h.orig	2018-03-21 13:02:45 UTC
 +++ xbmc/windowing/wayland/WinSystemWayland.h
-@@ -28,6 +28,7 @@
- #include <set>
- 
+@@ -30,6 +30,7 @@
  #include <wayland-client.hpp>
-+#include <wayland-client-protocol.hpp>
  #include <wayland-cursor.hpp>
  #include <wayland-extra-protocols.hpp>
++#include <wayland-client-protocol-extra.hpp>
  
+ #include "Connection.h"
+ #include "Output.h"


More information about the svn-ports-all mailing list