diff options
author | Mike Gilbert <floppym@gentoo.org> | 2016-12-18 12:55:42 -0500 |
---|---|---|
committer | Mike Gilbert <floppym@gentoo.org> | 2016-12-18 12:57:00 -0500 |
commit | 7227f36b72ddcbc3c308af06768f367e0b447be2 (patch) | |
tree | 0be6266d83ed8b554b209c17356bd50190cf5838 /net-p2p/transmission/transmission-9999.ebuild | |
parent | app-misc/rl: clean up old. (diff) | |
download | gentoo-7227f36b72ddcbc3c308af06768f367e0b447be2.tar.gz gentoo-7227f36b72ddcbc3c308af06768f367e0b447be2.tar.bz2 gentoo-7227f36b72ddcbc3c308af06768f367e0b447be2.zip |
net-p2p/transmission: add optional PolarSSL support
Package-Manager: Portage-2.3.3_p7, Repoman-2.3.1
Diffstat (limited to 'net-p2p/transmission/transmission-9999.ebuild')
-rw-r--r-- | net-p2p/transmission/transmission-9999.ebuild | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/net-p2p/transmission/transmission-9999.ebuild b/net-p2p/transmission/transmission-9999.ebuild index 90966d2910ab..ade845a55796 100644 --- a/net-p2p/transmission/transmission-9999.ebuild +++ b/net-p2p/transmission/transmission-9999.ebuild @@ -33,13 +33,16 @@ HOMEPAGE="https://transmissionbt.com/" # MIT is in several libtransmission/ headers LICENSE="|| ( GPL-2 GPL-3 Transmission-OpenSSL-exception ) GPL-2 MIT" SLOT="0" -IUSE="ayatana gtk libressl lightweight nls qt5 systemd test" +IUSE="ayatana gtk libressl lightweight nls polarssl qt5 systemd test" RESTRICT="!test? ( test )" RDEPEND=" >=dev-libs/libevent-2.0.10:= - !libressl? ( dev-libs/openssl:0= ) - libressl? ( dev-libs/libressl:0= ) + !polarssl? ( + !libressl? ( dev-libs/openssl:0= ) + libressl? ( dev-libs/libressl:0= ) + ) + polarssl? ( >=net-libs/polarssl-1.2:0= ) net-libs/libnatpmp >=net-libs/miniupnpc-1.7:= >=net-misc/curl-7.16.3[ssl] @@ -99,7 +102,7 @@ src_configure() { -DUSE_SYSTEM_UTP=OFF -DUSE_SYSTEM_B64=OFF - -DWITH_CRYPTO=openssl + -DWITH_CRYPTO=$(usex polarssl polarssl openssl) -DWITH_INOTIFY=ON -DWITH_LIBAPPINDICATOR=$(usex ayatana ON OFF) -DWITH_SYSTEMD=$(usex systemd ON OFF) |