From 02bfa860aa485fb1b1ae589d3150099f649b8758 Mon Sep 17 00:00:00 2001 From: Alexander Golubev Date: Fri, 29 Dec 2023 10:14:44 +0300 Subject: trinity-base/tdebase-tdeioslaves: add USE=sftp Support for sftp and dependency upon libssh now optional Signed-off-by: Alexander Golubev --- trinity-base/tdebase-tdeioslaves/metadata.xml | 1 + trinity-base/tdebase-tdeioslaves/tdebase-tdeioslaves-9999.ebuild | 9 ++++++--- 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 @@ Use tdehwlib backend for media mount + Enable SFTP protocol support using net-libs/libssh 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)" -- cgit v1.2.1