public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Florian Schmaus" <flow@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libstrophe/
Date: Fri, 13 May 2022 08:06:13 +0000 (UTC)	[thread overview]
Message-ID: <1652429153.7bb0c333335b9d7c155a4a114ea0a1a0af33b054.flow@gentoo> (raw)

commit:     7bb0c333335b9d7c155a4a114ea0a1a0af33b054
Author:     Adrian Schollmeyer <nex+b-g-o <AT> nexadn <DOT> de>
AuthorDate: Thu May 12 07:11:34 2022 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Fri May 13 08:05:53 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7bb0c333

dev-libs/libstrophe: add 0.12.0

Also introduces subslot 0.1, representing upstream's decision to add
SONAME versioning, starting with SONAME version 0. `.1` was appended to
the subslot to force a different subslot from the default one and can be
removed with the next subslot.

Signed-off-by: Adrian Schollmeyer <nex+b-g-o <AT> nexadn.de>
Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>

 dev-libs/libstrophe/Manifest                 |  1 +
 dev-libs/libstrophe/libstrophe-0.12.0.ebuild | 56 ++++++++++++++++++++++++++++
 2 files changed, 57 insertions(+)

diff --git a/dev-libs/libstrophe/Manifest b/dev-libs/libstrophe/Manifest
index 943d1adc3738..463ae672fee4 100644
--- a/dev-libs/libstrophe/Manifest
+++ b/dev-libs/libstrophe/Manifest
@@ -1,2 +1,3 @@
 DIST libstrophe-0.10.0.tar.xz 357896 BLAKE2B b457c1556b7bd8012fd0b0badb962c0002ca38884e246911b25c8e01fa785a08c316a18c84e8f9e124ebeed636c586097a2dacf56c7c94062ac262e44f9473d0 SHA512 cffd71f3c83f53a4f0681916249842cc17e11fc28afa940e29a786ee02c5294a11115c115b12d200e185a62520623c68e1d4514ab374423e13e26b9438d80ea8
 DIST libstrophe-0.11.0.tar.xz 370740 BLAKE2B 19f240383e81ea2733505b8361ba061ba69b09227eddfb958aa3027d7c3aca2f1739977e003b980ecf5501fde5ffa2bdb0a0618aff70637b11f94dbd70fce3a4 SHA512 3fd3fc395d1c86787cccf9dfb54805a56d650687db17ee28107f4fd610aa250c40cd6052d5c8c48110d69a8bceddb913570efca24874733d3e9a016dd90df65c
+DIST libstrophe-0.12.0.tar.xz 397120 BLAKE2B 6ac32e317e14a8641b1d092026772264682b7b0980158757a82036f3db2643a6429e5553d9173b578111d5b8b503e9a98a4e140f98f8ac03866758624a1cec67 SHA512 dd0fc54840bb5626859f91c7bbe5204ea89332856392a5a33c50cf7f66c8aaa7b0d7c24bd737e8473d63f2c9d7683a75dcb9465a19634d14e54c9f8f20580884

diff --git a/dev-libs/libstrophe/libstrophe-0.12.0.ebuild b/dev-libs/libstrophe/libstrophe-0.12.0.ebuild
new file mode 100644
index 000000000000..31bb9d386052
--- /dev/null
+++ b/dev-libs/libstrophe/libstrophe-0.12.0.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+DESCRIPTION="A simple, lightweight C library for writing XMPP clients"
+HOMEPAGE="http://strophe.im/libstrophe/"
+SRC_URI="https://github.com/strophe/${PN}/releases/download/${PV}/${P}.tar.xz"
+LICENSE="|| ( MIT GPL-3 )"
+# Subslot: ${SONAME}.1 to differentiate from previous versions without SONAME
+SLOT="0/0.1"
+KEYWORDS="~amd64"
+IUSE="doc expat gnutls"
+
+RDEPEND="
+	expat? ( dev-libs/expat )
+	!expat? ( dev-libs/libxml2:2 )
+	gnutls? ( net-libs/gnutls:0= )
+	!gnutls? ( dev-libs/openssl:0= )
+	dev-libs/openssl:0=
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+	virtual/pkgconfig
+	doc? ( app-doc/doxygen )
+"
+
+DOCS=( ChangeLog )
+
+src_configure() {
+	# shellcheck disable=SC2207
+	local myeconf=(
+		--enable-tls
+		$(use_with !expat libxml2)
+		$(use_with gnutls)
+	)
+	econf "${myeconf[@]}"
+}
+src_compile() {
+	default
+	if use doc; then
+		doxygen || die
+		HTML_DOCS=( docs/html/* )
+	fi
+}
+
+src_install() {
+	default
+	use doc && dodoc -r examples
+	find "${D}" -type f \( -name '*.la' -o -name '*.a' \) -delete || die
+}
+
+# Explicit src_test is there to document that the test suite is integrated and
+# is expected to pass. Please do not remove.
+src_test() {
+	emake check
+}


             reply	other threads:[~2022-05-13  8:06 UTC|newest]

Thread overview: 39+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-13  8:06 Florian Schmaus [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-01-15 20:18 [gentoo-commits] repo/gentoo:master commit in: dev-libs/libstrophe/ Sam James
2025-01-15 20:18 Sam James
2024-03-24 16:28 Sam James
2024-03-20 15:26 Sam James
2024-02-19 10:54 Florian Schmaus
2023-09-15  6:58 Sam James
2023-09-14  2:10 Sam James
2023-08-17 13:07 Florian Schmaus
2023-08-17 12:35 Florian Schmaus
2023-05-02 22:53 Sam James
2023-04-25 22:16 Sam James
2022-11-06 11:07 Florian Schmaus
2022-11-06 11:07 Florian Schmaus
2022-11-06 11:07 Florian Schmaus
2022-09-11 19:17 Jakov Smolić
2022-08-10  8:33 Florian Schmaus
2022-08-10  8:33 Florian Schmaus
2022-08-10  7:23 Joonas Niilola
2022-07-09 10:44 Florian Schmaus
2022-06-29  7:11 Florian Schmaus
2022-06-28  7:47 Joonas Niilola
2022-05-13  8:06 Florian Schmaus
2022-04-24  7:24 Joonas Niilola
2022-04-24  7:24 Joonas Niilola
2022-04-24  7:24 Joonas Niilola
2022-04-24  7:24 Joonas Niilola
2022-04-17 19:00 Sam James
2022-04-13 14:46 Sam James
2022-04-12 21:04 Sam James
2021-11-12 22:51 Andrey Utkin
2021-11-12 22:51 Andrey Utkin
2021-05-02 15:38 Mikle Kolyada
2020-12-29 12:53 Andrey Utkin
2020-10-12 10:21 Agostino Sarubbo
2020-09-30  6:49 Andrey Utkin
2020-09-21 14:44 Andrey Utkin
2020-09-21 13:53 Andrey Utkin
2019-10-28 19:03 Andrey Utkin

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=1652429153.7bb0c333335b9d7c155a4a114ea0a1a0af33b054.flow@gentoo \
    --to=flow@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