summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConrad Kostecki <conikost@gentoo.org>2021-10-21 22:35:49 +0200
committerConrad Kostecki <conikost@gentoo.org>2021-10-21 22:35:49 +0200
commit192f80c2a3164d59488ea4082cd86e892a2e03cf (patch)
treeb1f3a5da1832633f1517b1e63c1c0e9d16bceec1 /net-p2p/transmission
parentdev-lua/penlight: drop old version (diff)
downloadgentoo-192f80c2a3164d59488ea4082cd86e892a2e03cf.tar.gz
gentoo-192f80c2a3164d59488ea4082cd86e892a2e03cf.tar.bz2
gentoo-192f80c2a3164d59488ea4082cd86e892a2e03cf.zip
net-p2p/transmission: add cli use flag
This adds the option to enable the command-line client. Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'net-p2p/transmission')
-rw-r--r--net-p2p/transmission/metadata.xml1
-rw-r--r--net-p2p/transmission/transmission-3.00-r1.ebuild3
-rw-r--r--net-p2p/transmission/transmission-9999.ebuild3
3 files changed, 5 insertions, 2 deletions
diff --git a/net-p2p/transmission/metadata.xml b/net-p2p/transmission/metadata.xml
index d88ae8a19a10..6e518af5a187 100644
--- a/net-p2p/transmission/metadata.xml
+++ b/net-p2p/transmission/metadata.xml
@@ -6,6 +6,7 @@
<name>Mike Gilbert</name>
</maintainer>
<use>
+ <flag name="cli">Build command-line client</flag>
<flag name="lightweight">Optimize transmission for low-resource systems (smaller cache size, prefer unencrypted peer connections, etc.)</flag>
<flag name="mbedtls">Use mbed TLS instead of OpenSSL</flag>
</use>
diff --git a/net-p2p/transmission/transmission-3.00-r1.ebuild b/net-p2p/transmission/transmission-3.00-r1.ebuild
index 04d96b8b6ff8..e02291fd6cba 100644
--- a/net-p2p/transmission/transmission-3.00-r1.ebuild
+++ b/net-p2p/transmission/transmission-3.00-r1.ebuild
@@ -21,7 +21,7 @@ HOMEPAGE="https://transmissionbt.com/"
# MIT is in several libtransmission/ headers
LICENSE="|| ( GPL-2 GPL-3 Transmission-OpenSSL-exception ) GPL-2 MIT"
SLOT="0"
-IUSE="appindicator gtk lightweight nls mbedtls qt5 static-libs systemd test"
+IUSE="appindicator cli gtk lightweight nls mbedtls qt5 static-libs systemd test"
RESTRICT="!test? ( test )"
ACCT_DEPEND="
@@ -88,6 +88,7 @@ src_configure() {
local mycmakeargs=(
-DCMAKE_INSTALL_DOCDIR=share/doc/${PF}
+ -DENABLE_CLI=$(usex cli ON OFF)
-DENABLE_GTK=$(usex gtk ON OFF)
-DENABLE_LIGHTWEIGHT=$(usex lightweight ON OFF)
-DENABLE_NLS=$(usex nls ON OFF)
diff --git a/net-p2p/transmission/transmission-9999.ebuild b/net-p2p/transmission/transmission-9999.ebuild
index 328bd3b3d14b..87e1cd8915be 100644
--- a/net-p2p/transmission/transmission-9999.ebuild
+++ b/net-p2p/transmission/transmission-9999.ebuild
@@ -21,7 +21,7 @@ HOMEPAGE="https://transmissionbt.com/"
# MIT is in several libtransmission/ headers
LICENSE="|| ( GPL-2 GPL-3 Transmission-OpenSSL-exception ) GPL-2 MIT"
SLOT="0"
-IUSE="appindicator gtk lightweight nls mbedtls qt5 static-libs systemd test"
+IUSE="appindicator cli gtk lightweight nls mbedtls qt5 static-libs systemd test"
RESTRICT="!test? ( test )"
ACCT_DEPEND="
@@ -84,6 +84,7 @@ src_configure() {
local mycmakeargs=(
-DCMAKE_INSTALL_DOCDIR=share/doc/${PF}
+ -DENABLE_CLI=$(usex cli ON OFF)
-DENABLE_GTK=$(usex gtk ON OFF)
-DENABLE_LIGHTWEIGHT=$(usex lightweight ON OFF)
-DENABLE_NLS=$(usex nls ON OFF)