summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Utkin <andrey_utkin@gentoo.org>2018-10-20 23:25:41 +0100
committerAndrey Utkin <andrey_utkin@gentoo.org>2018-10-29 22:27:03 +0000
commit6a63bd47cd2b4bab9db7f36410fd1e0aa0acb8a9 (patch)
treef1d4a31ed35266b14bd1bae86aae6431a12f3314 /net-libs/loudmouth
parentsys-cluster/openmpi: bump 3.0.3 (diff)
downloadgentoo-6a63bd47cd2b4bab9db7f36410fd1e0aa0acb8a9.tar.gz
gentoo-6a63bd47cd2b4bab9db7f36410fd1e0aa0acb8a9.tar.bz2
gentoo-6a63bd47cd2b4bab9db7f36410fd1e0aa0acb8a9.zip
net-libs/loudmouth: add 1.5.3-r2
Clone new revision from -r1 (with keywords dropped to unstable) in order to commit improvements here. Signed-off-by: Andrey Utkin <andrey_utkin@gentoo.org> Package-Manager: Portage-2.3.49, Repoman-2.3.10
Diffstat (limited to 'net-libs/loudmouth')
-rw-r--r--net-libs/loudmouth/loudmouth-1.5.3-r2.ebuild59
1 files changed, 59 insertions, 0 deletions
diff --git a/net-libs/loudmouth/loudmouth-1.5.3-r2.ebuild b/net-libs/loudmouth/loudmouth-1.5.3-r2.ebuild
new file mode 100644
index 000000000000..c00cab2c4e0a
--- /dev/null
+++ b/net-libs/loudmouth/loudmouth-1.5.3-r2.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit autotools
+
+DESCRIPTION="Lightweight C Jabber library"
+HOMEPAGE="https://github.com/mcabber/loudmouth"
+SRC_URI="https://github.com/mcabber/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~ppc-macos"
+
+IUSE="asyncns ssl openssl static-libs test"
+
+# Automagic libidn dependency
+RDEPEND="
+ >=dev-libs/glib-2.16:2
+ net-dns/libidn
+ ssl? (
+ !openssl? ( >=net-libs/gnutls-1.4.0:0= )
+ openssl? ( dev-libs/openssl:0= )
+ )
+ asyncns? ( >=net-libs/libasyncns-0.3 )
+"
+DEPEND="${RDEPEND}
+ test? ( dev-libs/check )
+ virtual/pkgconfig
+"
+
+PATCHES=(
+ "${FILESDIR}"/${P}-gcc7.patch
+ "${FILESDIR}"/${P}-skip-gtk-doc.patch
+)
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+src_configure() {
+ local myconf
+
+ if use ssl; then
+ if ! use openssl; then
+ myconf="${myconf} --with-ssl=gnutls"
+ else
+ myconf="${myconf} --with-ssl=openssl"
+ fi
+ else
+ myconf="${myconf} --with-ssl=no"
+ fi
+
+ econf \
+ $(use_enable static-libs static) \
+ $(use_with asyncns) \
+ ${myconf}
+}