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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 8F2B2158083 for ; Tue, 17 Sep 2024 07:41:11 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 88C97E29A6; Tue, 17 Sep 2024 07:41:10 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 7436AE29A6 for ; Tue, 17 Sep 2024 07:41:10 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 800F4342F93 for ; Tue, 17 Sep 2024 07:41:09 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E2EE0B6B for ; Tue, 17 Sep 2024 07:41:07 +0000 (UTC) From: "Joonas Niilola" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Joonas Niilola" Message-ID: <1726558837.6bfd470b7f3a5d27cd6e164a3f387c51d938a832.juippis@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/gloox/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-libs/gloox/gloox-1.0.28.ebuild X-VCS-Directories: net-libs/gloox/ X-VCS-Committer: juippis X-VCS-Committer-Name: Joonas Niilola X-VCS-Revision: 6bfd470b7f3a5d27cd6e164a3f387c51d938a832 X-VCS-Branch: master Date: Tue, 17 Sep 2024 07:41:07 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: c9223ced-cdeb-4249-bf1c-10290a8a114e X-Archives-Hash: 067484c6dc3d90e1ad7498be730b5595 commit: 6bfd470b7f3a5d27cd6e164a3f387c51d938a832 Author: Filip Kobierski pm me> AuthorDate: Mon Sep 16 09:15:56 2024 +0000 Commit: Joonas Niilola gentoo org> CommitDate: Tue Sep 17 07:40:37 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6bfd470b net-libs/gloox: add examples USE flag no revbump, as juippis suggested Signed-off-by: Filip Kobierski pm.me> Closes: https://github.com/gentoo/gentoo/pull/38393 Signed-off-by: Joonas Niilola gentoo.org> net-libs/gloox/gloox-1.0.28.ebuild | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/net-libs/gloox/gloox-1.0.28.ebuild b/net-libs/gloox/gloox-1.0.28.ebuild index fe0ed1229eb2..b28ecdb63dcb 100644 --- a/net-libs/gloox/gloox-1.0.28.ebuild +++ b/net-libs/gloox/gloox-1.0.28.ebuild @@ -15,7 +15,7 @@ LICENSE="GPL-3" # Check upstream changelog: https://camaya.net/gloox/changelog/ SLOT="0/18" KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86" -IUSE="debug gnutls idn ssl static-libs test +xhtmlim zlib" +IUSE="debug examples gnutls idn ssl static-libs test +xhtmlim zlib" RESTRICT="!test? ( test )" DEPEND=" @@ -34,12 +34,12 @@ src_prepare() { src_configure() { local myeconfargs=( - --without-examples # not installed anyway so don't build them $(usex debug "--enable-debug" '') $(use_enable static-libs static) $(use_enable xhtmlim) - $(use_with idn libidn) + $(use_with examples) $(use_with gnutls) + $(use_with idn libidn) $(use_with ssl openssl) $(use_with test tests) $(use_with zlib) @@ -50,4 +50,11 @@ src_configure() { src_install() { default find "${ED}" -name "*.la" -delete || die + + if use examples; then + # unhide the libs directory + mv "${S}"/src/examples/.libs "${S}"/src/examples/libs + + dodoc -r src/examples/ + fi }