From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 429541382C5 for ; Sat, 14 Apr 2018 16:01:39 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 44B8CE088B; Sat, 14 Apr 2018 16:01:38 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 22C8EE0802 for ; Sat, 14 Apr 2018 16:01:37 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 9ED67335C2E for ; Sat, 14 Apr 2018 16:01:36 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 28A75284 for ; Sat, 14 Apr 2018 16:01:35 +0000 (UTC) From: "Pacho Ramos" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Pacho Ramos" Message-ID: <1523721543.c707d7fdab665ca3dc524c8f86045e2cb0253cfb.pacho@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/loudmouth/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-libs/loudmouth/loudmouth-1.5.3-r1.ebuild X-VCS-Directories: net-libs/loudmouth/ X-VCS-Committer: pacho X-VCS-Committer-Name: Pacho Ramos X-VCS-Revision: c707d7fdab665ca3dc524c8f86045e2cb0253cfb X-VCS-Branch: master Date: Sat, 14 Apr 2018 16:01:35 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 8d87aac7-6b06-4d42-b9a1-5d56c837d2af X-Archives-Hash: 7167a02a85aaaf21df267696685f18b9 commit: c707d7fdab665ca3dc524c8f86045e2cb0253cfb Author: Peter Levine gmail com> AuthorDate: Mon Mar 26 05:27:01 2018 +0000 Commit: Pacho Ramos gentoo org> CommitDate: Sat Apr 14 15:59:03 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c707d7fd net-libs/loudmouth: Revbump for EAPI-6 Package-Manager: Portage-2.3.16, Repoman-2.3.6 net-libs/loudmouth/loudmouth-1.5.3-r1.ebuild | 59 ++++++++++++++++++++++++++++ 1 file changed, 59 insertions(+) diff --git a/net-libs/loudmouth/loudmouth-1.5.3-r1.ebuild b/net-libs/loudmouth/loudmouth-1.5.3-r1.ebuild new file mode 100644 index 00000000000..ab65db268b9 --- /dev/null +++ b/net-libs/loudmouth/loudmouth-1.5.3-r1.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 ) + openssl? ( dev-libs/openssl:0= ) + ) + asyncns? ( >=net-libs/libasyncns-0.3 ) +" +DEPEND="${RDEPEND} + test? ( dev-libs/check ) + virtual/pkgconfig + >=dev-util/gtk-doc-1 + >=dev-util/gtk-doc-am-1 +" + +PATCHES=( "${FILESDIR}"/${P}-gcc7.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} +}