commit:     8c00ffc3d65086931ee4823fddbe90942765b671
Author:     Craig Andrews <candrews <AT> gentoo <DOT> org>
AuthorDate: Wed Jun 20 13:50:41 2018 +0000
Commit:     Craig Andrews <candrews <AT> gentoo <DOT> org>
CommitDate: Wed Jun 20 13:50:41 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8c00ffc3

media-plugins/kodi-vfs-sftp: SFTP VFS addon for Kodi

Adds support for SFTP to Kodi.
This functionality was originally part of Kodi itself, but was removed in Kodi 
18.

See https://github.com/xbmc/xbmc/pull/12005

Package-Manager: Portage-2.3.6, Repoman-2.3.2

 .../kodi-vfs-sftp/kodi-vfs-sftp-9999.ebuild        | 34 ++++++++++++++++++++++
 media-plugins/kodi-vfs-sftp/metadata.xml           | 12 ++++++++
 2 files changed, 46 insertions(+)

diff --git a/media-plugins/kodi-vfs-sftp/kodi-vfs-sftp-9999.ebuild 
b/media-plugins/kodi-vfs-sftp/kodi-vfs-sftp-9999.ebuild
new file mode 100644
index 00000000000..b84c71c0291
--- /dev/null
+++ b/media-plugins/kodi-vfs-sftp/kodi-vfs-sftp-9999.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit cmake-utils kodi-addon
+
+DESCRIPTION="SFTP VFS addon for Kodi"
+HOMEPAGE="https://github.com/notspiff/vfs.sftp";
+SRC_URI=""
+
+case ${PV} in
+9999)
+       SRC_URI=""
+       EGIT_REPO_URI="git://github.com/notspiff/vfs.sftp.git"
+       inherit git-r3
+       ;;
+*)
+       KEYWORDS="~amd64 ~x86"
+       SRC_URI="https://github.com/notspiff/vfs.sftp/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+       S="${WORKDIR}/vfs.sftp-${PV}"
+       ;;
+esac
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE=""
+
+DEPEND="
+       =dev-libs/libplatform-2*
+       net-libs/libssh[sftp]
+       =media-libs/kodi-platform-9999
+       =media-tv/kodi-9999
+       "

diff --git a/media-plugins/kodi-vfs-sftp/metadata.xml 
b/media-plugins/kodi-vfs-sftp/metadata.xml
new file mode 100644
index 00000000000..43113e6d73d
--- /dev/null
+++ b/media-plugins/kodi-vfs-sftp/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+    <maintainer type="person">
+        <email>[email protected]</email>
+        <name>Craig Andrews</name>
+    </maintainer>
+    <longdescription>SFTP VFS addon for Kodi</longdescription>
+    <upstream>
+        <remote-id type="github">notspiff/vfs.sftp</remote-id>
+    </upstream>
+</pkgmetadata>

Reply via email to