mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-23 11:17:21 -08:00
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>
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user