1 # Copyright 1999-2018 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
7 DESCRIPTION="Lightweight C Jabber library"
8 HOMEPAGE="https://github.com/mcabber/loudmouth"
9 SRC_URI="https://github.com/mcabber/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
13 KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~ppc-macos"
15 IUSE="asyncns ssl openssl static-libs test"
17 # Automagic libidn dependency
19 >=dev-libs/glib-2.16:2
22 !openssl? ( >=net-libs/gnutls-1.4.0:0= )
23 openssl? ( dev-libs/openssl:0= )
25 asyncns? ( >=net-libs/libasyncns-0.3 )
28 test? ( dev-libs/check )
33 "${FILESDIR}"/${P}-gcc7.patch
34 "${FILESDIR}"/${P}-skip-gtk-doc.patch
46 if ! use openssl; then
47 myconf="${myconf} --with-ssl=gnutls"
49 myconf="${myconf} --with-ssl=openssl"
52 myconf="${myconf} --with-ssl=no"
56 $(use_enable static-libs static) \