[06/31] package/kodi-vfs-sftp: new package
diff mbox series

Message ID 20190630140525.6537-7-bernd.kuhls@t-online.de
State RFC
Headers show
Series
  • package/kodi: bump to version 18.3-Leia
Related show

Commit Message

Bernd Kuhls June 30, 2019, 2:05 p.m. UTC
Internal sftp support was removed in Kodi 18.0, see upstream PR 12005.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
 package/kodi-vfs-sftp/Config.in          |  9 +++++++++
 package/kodi-vfs-sftp/kodi-vfs-sftp.hash |  2 ++
 package/kodi-vfs-sftp/kodi-vfs-sftp.mk   | 13 +++++++++++++
 package/kodi/Config.in                   |  1 +
 4 files changed, 25 insertions(+)
 create mode 100644 package/kodi-vfs-sftp/Config.in
 create mode 100644 package/kodi-vfs-sftp/kodi-vfs-sftp.hash
 create mode 100644 package/kodi-vfs-sftp/kodi-vfs-sftp.mk

Patch
diff mbox series

diff --git a/package/kodi-vfs-sftp/Config.in b/package/kodi-vfs-sftp/Config.in
new file mode 100644
index 0000000000..a939bd927d
--- /dev/null
+++ b/package/kodi-vfs-sftp/Config.in
@@ -0,0 +1,9 @@ 
+config BR2_PACKAGE_KODI_VFS_SFTP
+	bool "kodi-vfs-sftp"
+	select BR2_PACKAGE_KODI_PLATFORM
+	select BR2_PACKAGE_LIBPLATFORM
+	select BR2_PACKAGE_LIBSSH
+	help
+	  SFTP VFS addon for Kodi
+
+	  https://github.com/xbmc/vfs.sftp
diff --git a/package/kodi-vfs-sftp/kodi-vfs-sftp.hash b/package/kodi-vfs-sftp/kodi-vfs-sftp.hash
new file mode 100644
index 0000000000..30b4411a7a
--- /dev/null
+++ b/package/kodi-vfs-sftp/kodi-vfs-sftp.hash
@@ -0,0 +1,2 @@ 
+# Locally computed
+sha256 59e4855c9a25937eb892ff952bbf09e2ffd5a10745cb6a177d004b5fd409cd53  kodi-vfs-sftp-398cefa0de122c43edab8a197e68e2e56a8fb729.tar.gz
diff --git a/package/kodi-vfs-sftp/kodi-vfs-sftp.mk b/package/kodi-vfs-sftp/kodi-vfs-sftp.mk
new file mode 100644
index 0000000000..d4afa65dd6
--- /dev/null
+++ b/package/kodi-vfs-sftp/kodi-vfs-sftp.mk
@@ -0,0 +1,13 @@ 
+################################################################################
+#
+# kodi-vfs-sftp
+#
+################################################################################
+
+KODI_VFS_SFTP_VERSION = 398cefa0de122c43edab8a197e68e2e56a8fb729
+KODI_VFS_SFTP_SITE = $(call github,xbmc,vfs.sftp,$(KODI_VFS_SFTP_VERSION))
+KODI_VFS_SFTP_LICENSE = GPL-2.0
+KODI_VFS_SFTP_LICENSE_FILES = src/SFTPFile.cpp
+KODI_VFS_SFTP_DEPENDENCIES = kodi-platform libplatform libssh
+
+$(eval $(cmake-package))
diff --git a/package/kodi/Config.in b/package/kodi/Config.in
index ec163f34ad..a5de8dd115 100644
--- a/package/kodi/Config.in
+++ b/package/kodi/Config.in
@@ -367,6 +367,7 @@  endmenu
 
 menu "Virtual file systems"
 	source "package/kodi-vfs-rar/Config.in"
+	source "package/kodi-vfs-sftp/Config.in"
 endmenu
 
 menu "Visualisations"