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 B30F2138334 for ; Mon, 29 Oct 2018 22:27:51 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B21DBE087C; Mon, 29 Oct 2018 22:27:50 +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 90615E087C for ; Mon, 29 Oct 2018 22:27:49 +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 2AF76335CC8 for ; Mon, 29 Oct 2018 22:27:48 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3BD1C42F for ; Mon, 29 Oct 2018 22:27:46 +0000 (UTC) From: "Andrey Utkin" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andrey Utkin" Message-ID: <1540852023.6a63bd47cd2b4bab9db7f36410fd1e0aa0acb8a9.andrey_utkin@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-r2.ebuild X-VCS-Directories: net-libs/loudmouth/ X-VCS-Committer: andrey_utkin X-VCS-Committer-Name: Andrey Utkin X-VCS-Revision: 6a63bd47cd2b4bab9db7f36410fd1e0aa0acb8a9 X-VCS-Branch: master Date: Mon, 29 Oct 2018 22:27:46 +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: 5aeb4a1c-eb1d-4dde-a4a2-c86cefccb54b X-Archives-Hash: 58f5411a31d6d5a9e66fcaea346c5e37 commit: 6a63bd47cd2b4bab9db7f36410fd1e0aa0acb8a9 Author: Andrey Utkin gentoo org> AuthorDate: Sat Oct 20 22:25:41 2018 +0000 Commit: Andrey Utkin gentoo org> CommitDate: Mon Oct 29 22:27:03 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6a63bd47 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 gentoo.org> Package-Manager: Portage-2.3.49, Repoman-2.3.10 net-libs/loudmouth/loudmouth-1.5.3-r2.ebuild | 59 ++++++++++++++++++++++++++++ 1 file changed, 59 insertions(+) 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 00000000000..c00cab2c4e0 --- /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} +}