summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Golubev <[email protected]>2023-12-29 10:14:44 +0300
committerTDE Gitea <[email protected]>2023-12-29 08:43:38 +0000
commit02bfa860aa485fb1b1ae589d3150099f649b8758 (patch)
treefe3418f59cd830856804b4551b897fd3b5339d22
parent2eaf3a41556f0dd1df253163657faf6ee4059926 (diff)
downloadtde-packaging-gentoo-02bfa860aa485fb1b1ae589d3150099f649b8758.tar.gz
tde-packaging-gentoo-02bfa860aa485fb1b1ae589d3150099f649b8758.zip
trinity-base/tdebase-tdeioslaves: add USE=sftp
Support for sftp and dependency upon libssh now optional Signed-off-by: Alexander Golubev <[email protected]>
-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)"