media-plugins/kodi-vfs-sftp: SFTP VFS addon for Kodi
authorCraig Andrews <candrews@gentoo.org>
Wed, 20 Jun 2018 13:50:41 +0000 (09:50 -0400)
committerCraig Andrews <candrews@gentoo.org>
Wed, 20 Jun 2018 13:50:41 +0000 (09:50 -0400)
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

media-plugins/kodi-vfs-sftp/kodi-vfs-sftp-9999.ebuild [new file with mode: 0644]
media-plugins/kodi-vfs-sftp/metadata.xml [new file with mode: 0644]

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 (file)
index 0000000..b84c71c
--- /dev/null
@@ -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 (file)
index 0000000..43113e6
--- /dev/null
@@ -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>candrews@gentoo.org</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>