diff options
author | tobik <tobik@FreeBSD.org> | 2018-10-03 16:34:26 +0800 |
---|---|---|
committer | tobik <tobik@FreeBSD.org> | 2018-10-03 16:34:26 +0800 |
commit | 8097bcc90d77e478d1a61e956bfe22c7a99aee5d (patch) | |
tree | 0a41cea39e832e0e5a5b867ed0e3e146c5bf9873 /multimedia | |
parent | 704397f32dffc0c8b11cff67c6b014b4091112bd (diff) | |
download | freebsd-ports-gnome-8097bcc90d77e478d1a61e956bfe22c7a99aee5d.tar.gz freebsd-ports-gnome-8097bcc90d77e478d1a61e956bfe22c7a99aee5d.tar.zst freebsd-ports-gnome-8097bcc90d77e478d1a61e956bfe22c7a99aee5d.zip |
multimedia/kodi-devel: Update to 18.0b3
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/kodi-devel/Makefile | 11 | ||||
-rw-r--r-- | multimedia/kodi-devel/distinfo | 6 | ||||
-rw-r--r-- | multimedia/kodi-devel/files/patch-rbpi | 68 |
3 files changed, 29 insertions, 56 deletions
diff --git a/multimedia/kodi-devel/Makefile b/multimedia/kodi-devel/Makefile index f0db2f3363be..795fcc7df435 100644 --- a/multimedia/kodi-devel/Makefile +++ b/multimedia/kodi-devel/Makefile @@ -2,8 +2,7 @@ PORTNAME= kodi CATEGORIES= multimedia -DISTVERSION= 18.0.g201809092101 -PORTREVISION= 2 +DISTVERSION= 18.0.g201810021630 PKGNAMESUFFIX?= -devel MAINTAINER= tobik@FreeBSD.org @@ -55,7 +54,7 @@ USES= autoreconf:build cmake:outsource,noninja compiler:c++11-lib \ USE_GITHUB= yes GH_ACCOUNT= xbmc GH_PROJECT= xbmc -GH_TAGNAME= 18.0b2-Leia +GH_TAGNAME= 18.0b3-Leia USE_GNOME= libxslt libxml2 USE_JAVA= yes JAVA_BUILD= yes @@ -109,7 +108,10 @@ DBUS_CMAKE_BOOL= ENABLE_DBUS GBM_BUILD_DEPENDS= v4l_compat>=0:multimedia/v4l_compat GBM_CMAKE_ON= -DCORE_PLATFORM_NAME:STRING="gbm" \ -DGBM_RENDER_SYSTEM:STRING="gl" -GBM_LIB_DEPENDS= libinput.so:x11/libinput \ +GBM_CFLAGS= -I${LOCALBASE}/include/libepoll-shim +GBM_LDFLAGS= -L${LOCALBASE}/lib -lepoll-shim +GBM_LIB_DEPENDS= libepoll-shim.so:devel/libepoll-shim \ + libinput.so:x11/libinput \ libxkbcommon.so:x11/libxkbcommon LIBBLURAY_LIB_DEPENDS= libbluray.so:multimedia/libbluray @@ -131,6 +133,7 @@ RPI_CMAKE_ON= -DCORE_PLATFORM_NAME:STRING="rbpi" RPI_LIB_DEPENDS= libbrcmEGL.so:misc/raspberrypi-userland RPI_LIB_DEPENDS_OFF= libdrm.so:graphics/libdrm RPI_PREVENTS= VAAPI VDPAU +RPI_USES_OFF= gl RPI_USE_OFF= GL=egl,gl,glu SMB_USES= samba:lib diff --git a/multimedia/kodi-devel/distinfo b/multimedia/kodi-devel/distinfo index 387592a8d03e..e3e8938ca3e3 100644 --- a/multimedia/kodi-devel/distinfo +++ b/multimedia/kodi-devel/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1536563272 -SHA256 (xbmc-xbmc-18.0.g201809092101-18.0b2-Leia_GH0.tar.gz) = 25fc0aabfb523d4db19e08b1990d4851592ee2adec0424f5fb729bd3672eae69 -SIZE (xbmc-xbmc-18.0.g201809092101-18.0b2-Leia_GH0.tar.gz) = 50470777 +TIMESTAMP = 1538519280 +SHA256 (xbmc-xbmc-18.0.g201810021630-18.0b3-Leia_GH0.tar.gz) = cc5f1a75287438b2336c49a265019a4cab9626235e05a70345d77e4cecd6dce3 +SIZE (xbmc-xbmc-18.0.g201810021630-18.0b3-Leia_GH0.tar.gz) = 50833569 diff --git a/multimedia/kodi-devel/files/patch-rbpi b/multimedia/kodi-devel/files/patch-rbpi index 725a07fc187b..e26034052fb4 100644 --- a/multimedia/kodi-devel/files/patch-rbpi +++ b/multimedia/kodi-devel/files/patch-rbpi @@ -1,56 +1,26 @@ ---- xbmc/windowing/rpi/WinSystemRpi.cpp.orig 2018-05-22 11:44:17 UTC +--- xbmc/windowing/rpi/WinSystemRpi.cpp.orig 2018-10-02 14:30:37 UTC +++ xbmc/windowing/rpi/WinSystemRpi.cpp -@@ -32,8 +32,15 @@ - #include "settings/DisplaySettings.h" - #include "guilib/DispResource.h" - #include "utils/log.h" -+#include "utils/StringUtils.h" - #include "cores/AudioEngine/AESinkFactory.h" - #include "cores/AudioEngine/Sinks/AESinkPi.h" -+#ifdef HAS_PULSEAUDIO -+#include "cores/AudioEngine/Sinks/AESinkPULSE.h" -+#endif -+#ifdef HAS_SNDIO -+#include "cores/AudioEngine/Sinks/AESinkSNDIO.h" -+#endif - #include "platform/linux/powermanagement/LinuxPowerSyscall.h" - - #include <EGL/egl.h> -@@ -54,7 +61,36 @@ CWinSystemRpi::CWinSystemRpi() : - m_rpi = new CRPIUtils(); - - AE::CAESinkFactory::ClearSinks(); -- CAESinkPi::Register(); -+ -+ std::string envSink; -+ if (getenv("AE_SINK")) -+ envSink = getenv("AE_SINK"); -+ if (StringUtils::EqualsNoCase(envSink, "PULSE")) +@@ -52,9 +52,22 @@ CWinSystemRpi::CWinSystemRpi() : + { + OPTIONALS::PulseAudioRegister(); + } ++ else if (StringUtils::EqualsNoCase(envSink, "OSS")) + { -+#ifdef HAS_PULSEAUDIO -+ CAESinkPulseaudio::Register(); -+#endif ++ OPTIONALS::OSSRegister(); + } + else if (StringUtils::EqualsNoCase(envSink, "SNDIO")) + { -+#ifdef HAS_SNDIO -+ CAESinkSNDIO::Register(); -+#endif -+ } -+ else if (StringUtils::EqualsNoCase(envSink, "PI")) -+ { -+ CAESinkPi::Register(); -+ } -+ else -+ { -+#if defined(HAS_PULSEAUDIO) -+ CAESinkPulseaudio::Register(); -+#elif defined(HAS_SNDIO) -+ CAESinkSNDIO::Register(); -+#else -+ CAESinkPi::Register(); -+#endif ++ OPTIONALS::SndioRegister(); + } + else + { +- OPTIONALS::ALSARegister(); ++ if (!OPTIONALS::SndioRegister()) ++ { ++ if(!OPTIONALS::ALSARegister()) ++ { ++ OPTIONALS::OSSRegister(); ++ } + } + CLinuxPowerSyscall::Register(); - m_lirc.reset(OPTIONALS::LircRegister()); - m_libinput->Start(); |