public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Joonas Niilola" <juippis@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/gloox/
Date: Tue, 17 Sep 2024 07:41:07 +0000 (UTC)	[thread overview]
Message-ID: <1726558837.6bfd470b7f3a5d27cd6e164a3f387c51d938a832.juippis@gentoo> (raw)

commit:     6bfd470b7f3a5d27cd6e164a3f387c51d938a832
Author:     Filip Kobierski <fkobi <AT> pm <DOT> me>
AuthorDate: Mon Sep 16 09:15:56 2024 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> 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 <fkobi <AT> pm.me>
Closes: https://github.com/gentoo/gentoo/pull/38393
Signed-off-by: Joonas Niilola <juippis <AT> 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
 }


             reply	other threads:[~2024-09-17  7:41 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-09-17  7:41 Joonas Niilola [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-09-19  5:45 [gentoo-commits] repo/gentoo:master commit in: net-libs/gloox/ Joonas Niilola
2024-08-30  7:25 Joonas Niilola
2024-08-30  7:25 Joonas Niilola
2021-05-02 10:16 Mikle Kolyada
2020-10-10  7:11 Sam James
2020-10-10  7:10 Sam James
2020-09-05  0:35 Sam James
2019-08-28 15:48 Stefan Strogin
2019-03-24  0:59 Lars Wendler
2019-03-24  0:59 Lars Wendler
2018-06-22 11:29 Lars Wendler
2018-05-20 23:26 Aaron Bauman
2018-05-16 19:33 Lars Wendler
2017-10-22  0:03 Andreas Sturmlechner
2017-02-28 14:59 Lars Wendler
2017-02-24 10:35 Lars Wendler
2017-02-24 10:35 Lars Wendler
2016-11-17 18:55 Lars Wendler
2016-11-17 18:55 Lars Wendler
2016-09-03  0:08 Lars Wendler
2016-09-03  0:08 Lars Wendler
2016-07-21  9:51 Lars Wendler
2016-07-21  9:51 Lars Wendler
2016-06-14 12:01 Lars Wendler
2016-06-14 12:01 Lars Wendler
2015-09-30 20:30 Julian Ospald
2015-08-26  0:53 Manuel Rüger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1726558837.6bfd470b7f3a5d27cd6e164a3f387c51d938a832.juippis@gentoo \
    --to=juippis@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox