package/kodi-vfs-sftp: new package
authorBernd Kuhls <bernd.kuhls@t-online.de>
Sat, 21 Sep 2019 19:28:05 +0000 (21:28 +0200)
committerArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Sat, 21 Sep 2019 20:59:07 +0000 (22:59 +0200)
Internal sftp support was removed in Kodi 18.0, see upstream PR 12005.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
[Arnout: add license file hash]
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
package/kodi-vfs-sftp/Config.in [new file with mode: 0644]
package/kodi-vfs-sftp/kodi-vfs-sftp.hash [new file with mode: 0644]
package/kodi-vfs-sftp/kodi-vfs-sftp.mk [new file with mode: 0644]
package/kodi/Config.in

diff --git a/package/kodi-vfs-sftp/Config.in b/package/kodi-vfs-sftp/Config.in
new file mode 100644 (file)
index 0000000..a939bd9
--- /dev/null
@@ -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 (file)
index 0000000..f90bc6d
--- /dev/null
@@ -0,0 +1,3 @@
+# Locally computed
+sha256 6cfc59f322d1bce2dfc14daad0ae84fbc105f7543216413b9c208af821d92308  kodi-vfs-sftp-4e385ae0f82c062add44bce4a2d6a9058a3e0f48.tar.gz
+sha256 2b1cdc44ec0b52abc2e4b61f827d407388dad49e4fdc25370824b5c21aadeb17  src/SFTPFile.cpp
diff --git a/package/kodi-vfs-sftp/kodi-vfs-sftp.mk b/package/kodi-vfs-sftp/kodi-vfs-sftp.mk
new file mode 100644 (file)
index 0000000..a5ba1ac
--- /dev/null
@@ -0,0 +1,13 @@
+################################################################################
+#
+# kodi-vfs-sftp
+#
+################################################################################
+
+KODI_VFS_SFTP_VERSION = 4e385ae0f82c062add44bce4a2d6a9058a3e0f48
+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))
index f62c2f4c9de52c63d1f0fc611fa3777a2efaae60..5d781dde8dd5ba6693a3d8399adb7b30fbe11cf3 100644 (file)
@@ -356,6 +356,7 @@ endmenu
 
 menu "Virtual file systems"
        source "package/kodi-vfs-rar/Config.in"
+       source "package/kodi-vfs-sftp/Config.in"
 endmenu
 
 menu "Visualisations"