summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Utkin <andrey_utkin@gentoo.org>2021-11-12 22:40:28 +0000
committerAndrey Utkin <andrey_utkin@gentoo.org>2021-11-12 22:49:00 +0000
commitc15710fb4ccd1258f228563f46f0c5754bc51fdf (patch)
tree9ee89f7cab3eec023bf80c8e25fa351bc329c96b /dev-libs/libstrophe
parentdev-libs/libstrophe: add new version 0.11.0 (diff)
downloadgentoo-c15710fb4ccd1258f228563f46f0c5754bc51fdf.tar.gz
gentoo-c15710fb4ccd1258f228563f46f0c5754bc51fdf.tar.bz2
gentoo-c15710fb4ccd1258f228563f46f0c5754bc51fdf.zip
dev-libs/libstrophe: 0.11.0: add gnutls USE flag
This release allows to choose gnutls as an alternative to openssl. Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Andrey Utkin <andrey_utkin@gentoo.org>
Diffstat (limited to 'dev-libs/libstrophe')
-rw-r--r--dev-libs/libstrophe/libstrophe-0.11.0.ebuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/dev-libs/libstrophe/libstrophe-0.11.0.ebuild b/dev-libs/libstrophe/libstrophe-0.11.0.ebuild
index bae3fd596e3f..4a33b68fac17 100644
--- a/dev-libs/libstrophe/libstrophe-0.11.0.ebuild
+++ b/dev-libs/libstrophe/libstrophe-0.11.0.ebuild
@@ -8,11 +8,13 @@ SRC_URI="https://github.com/strophe/${PN}/releases/download/${PV}/${P}.tar.gz"
LICENSE="|| ( MIT GPL-3 )"
SLOT="0"
KEYWORDS="~amd64"
-IUSE="doc expat"
+IUSE="doc expat gnutls"
RDEPEND="
expat? ( dev-libs/expat )
!expat? ( dev-libs/libxml2:2 )
+ gnutls? ( net-libs/gnutls:0= )
+ !gnutls? ( dev-libs/openssl:0= )
dev-libs/openssl:0=
"
DEPEND="${RDEPEND}
@@ -26,6 +28,7 @@ src_configure() {
local myeconf=(
--enable-tls
$(use_with !expat libxml2)
+ $(use_with gnutls)
)
econf "${myeconf[@]}"
}