From 62ce7751b46eb609f13582352a6d6f11559819c4 Mon Sep 17 00:00:00 2001 From: Bernd Kuhls Date: Tue, 20 Oct 2015 21:42:26 +0200 Subject: [PATCH] package/kodi: Add support for libssh This patch depends on http://patchwork.ozlabs.org/patch/512480/ and adds sftp support to the virtual filesystems supported by Kodi. Signed-off-by: Bernd Kuhls Signed-off-by: Peter Korsgaard --- package/kodi/Config.in | 6 ++++++ package/kodi/kodi.mk | 8 +++++++- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/package/kodi/Config.in b/package/kodi/Config.in index eede24328d..9d3ea6f591 100644 --- a/package/kodi/Config.in +++ b/package/kodi/Config.in @@ -218,6 +218,12 @@ config BR2_PACKAGE_KODI_LIBSMBCLIENT help Enable Samba support +config BR2_PACKAGE_KODI_LIBSSH + bool "ssh" + select BR2_PACKAGE_LIBSSH + help + Enable sftp virtual filesystem using libssh. + config BR2_PACKAGE_KODI_LIBTHEORA bool "theora" select BR2_PACKAGE_LIBTHEORA diff --git a/package/kodi/kodi.mk b/package/kodi/kodi.mk index 24c5e5a21c..46d8650c9a 100644 --- a/package/kodi/kodi.mk +++ b/package/kodi/kodi.mk @@ -34,7 +34,6 @@ KODI_CONF_OPTS += \ --disable-openmax \ --disable-projectm \ --disable-pulse \ - --disable-ssh \ --disable-vdpau \ --disable-vtbdecoder \ --enable-optimizations @@ -172,6 +171,13 @@ else KODI_CONF_OPTS += --disable-airplay endif +ifeq ($(BR2_PACKAGE_KODI_LIBSSH),y) +KODI_DEPENDENCIES += libssh +KODI_CONF_OPTS += --enable-ssh +else +KODI_CONF_OPTS += --disable-ssh +endif + ifeq ($(BR2_PACKAGE_KODI_AVAHI),y) KODI_DEPENDENCIES += avahi KODI_CONF_OPTS += --enable-avahi -- 2.30.2