summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--trinity-base/tdebase-tdeioslaves/metadata.xml1
-rw-r--r--trinity-base/tdebase-tdeioslaves/tdebase-tdeioslaves-9999.ebuild9
2 files changed, 7 insertions, 3 deletions
diff --git a/trinity-base/tdebase-tdeioslaves/metadata.xml b/trinity-base/tdebase-tdeioslaves/metadata.xml
index e9fa6c9e..25e16d12 100644
--- a/trinity-base/tdebase-tdeioslaves/metadata.xml
+++ b/trinity-base/tdebase-tdeioslaves/metadata.xml
@@ -7,6 +7,7 @@
</maintainer>
<use>
<flag name="hwlib">Use tdehwlib backend for media mount</flag>
+ <flag name="sftp">Enable SFTP protocol support using <pkg>net-libs/libssh</pkg></flag>
</use>
<longdescription>
kioslaves is the Trinity VFS framework which plugins present a filesystem-like view of arbitrary data.
diff --git a/trinity-base/tdebase-tdeioslaves/tdebase-tdeioslaves-9999.ebuild b/trinity-base/tdebase-tdeioslaves/tdebase-tdeioslaves-9999.ebuild
index 84be1326..c85245f5 100644
--- a/trinity-base/tdebase-tdeioslaves/tdebase-tdeioslaves-9999.ebuild
+++ b/trinity-base/tdebase-tdeioslaves/tdebase-tdeioslaves-9999.ebuild
@@ -14,7 +14,7 @@ DESCRIPTION="Generic Trinity TDEIOslaves"
if [[ ${PV} != *9999* ]] ; then
KEYWORDS="~amd64 ~x86"
fi
-IUSE="+hwlib ldap openexr samba sasl"
+IUSE="+hwlib ldap openexr samba sasl sftp"
DEPEND="
net-libs/rpcsvc-proto
@@ -23,17 +23,20 @@ DEPEND="
ldap? ( net-nds/openldap )
openexr? ( media-libs/openexr )
samba? ( net-fs/samba )
- sasl? ( dev-libs/cyrus-sasl )"
+ sftp? ( net-libs/libssh[sftp] )
+ sasl? ( dev-libs/cyrus-sasl )
+"
RDEPEND="${DEPEND}
~trinity-base/tdeeject-${PV}
- net-libs/libssh"
+"
src_configure() {
local mycmakeargs=(
-DWITH_XCURSOR=ON
-DWITH_SAMBA="$(usex samba)"
-DWITH_LDAP="$(usex ldap)"
+ -DWITH_SFTP="$(usex sftp)"
-DWITH_SASL="$(usex sasl)"
-DWITH_OPENEXR="$(usex openexr)"
-DWITH_TDEHWLIB="$(usex hwlib)"