public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Conrad Kostecki" <conikost@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/mxml/
Date: Sun, 19 Jan 2025 22:38:41 +0000 (UTC)	[thread overview]
Message-ID: <1737326306.7864d0488085ee3f852e77094ac0f7a6bf499e9f.conikost@gentoo> (raw)

commit:     7864d0488085ee3f852e77094ac0f7a6bf499e9f
Author:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 19 22:38:26 2025 +0000
Commit:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Sun Jan 19 22:38:26 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7864d048

dev-libs/mxml: add 4.0.4

Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>

 dev-libs/mxml/Manifest          |  1 +
 dev-libs/mxml/mxml-4.0.4.ebuild | 61 +++++++++++++++++++++++++++++++++++++++++
 2 files changed, 62 insertions(+)

diff --git a/dev-libs/mxml/Manifest b/dev-libs/mxml/Manifest
index f48bdf977e33..440afe91147e 100644
--- a/dev-libs/mxml/Manifest
+++ b/dev-libs/mxml/Manifest
@@ -1,2 +1,3 @@
 DIST mxml-3.3.1.tar.gz 1554784 BLAKE2B e0d599fd947dfef72edae40c1e70ea76c92105128dd46e772a7c71f9293cab3339c980396dffe105246cad64d0474935cc1939005ad9a2bffc8e8107f025a466 SHA512 43e6a92806d9c3f5db39fbf960c15ebfa6d92ef98274b7ce39b57724d6c26ad4362d6d8f3c1023efda92e6a815df068e5038a0cd479562b6be9dbdda8e827a41
 DIST mxml-4.0.3.tar.gz 1576958 BLAKE2B fe65513190bc8c03b8a66fb6711f9dcc846c19cdf67c17908fd5795408fead3e6ae2c11c8d4ca1c10be7b68d54ab87c602ab6ca3e5386d26ff75753d4dbe6476 SHA512 5855ea90c32a250ca0943389c768f1b9d9a231762d9b678d56bcb55c12d90a51b28c66940355e945b3d315bd764001e05ede576de976132768eb1eecb2667bba
+DIST mxml-4.0.4.tar.gz 1576163 BLAKE2B dd7cbaf3c918589afd6c452cf8c279f6efa563a32214478f5bf0896cbe3b11a5b626e7670d17cd7e83f4c20487c40d5717fbfdd62b1ce6ef120780f28903bfb8 SHA512 11ef51b7e8abe8f5b1728ee072217605456e11e56bd0abc5375820c1a0e30ea1a6f0a306e65a40c1cdda3394486b51e2d67cc9081113dbc570b6d9d835f5890f

diff --git a/dev-libs/mxml/mxml-4.0.4.ebuild b/dev-libs/mxml/mxml-4.0.4.ebuild
new file mode 100644
index 000000000000..437234e08b84
--- /dev/null
+++ b/dev-libs/mxml/mxml-4.0.4.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools toolchain-funcs
+
+DESCRIPTION="A small XML parsing library that you can use to read XML data files or strings"
+HOMEPAGE="
+	https://github.com/michaelrsweet/mxml
+	https://www.msweet.org/mxml/
+"
+SRC_URI="https://github.com/michaelrsweet/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="Mini-XML"
+SLOT="4"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86"
+IUSE="static-libs test threads"
+RESTRICT="!test? ( test )"
+
+BDEPEND="virtual/pkgconfig"
+
+src_prepare() {
+	default
+
+	# Don't hardcode FORTIFY_SOURCE
+	sed -e 's/-D_FORTIFY_SOURCE=3//g' -i configure || die
+	sed -e 's/-D_FORTIFY_SOURCE=3//g' -i configure.ac || die
+
+	# Don't run always tests
+	# Enable verbose compiling
+	sed -e '/ALLTARGETS/s/testmxml//g' -e '/.SILENT:/d' -i Makefile.in || die
+	eautoconf
+}
+
+src_configure() {
+	local myeconfargs=(
+		AR="$(tc-getAR)"
+		$(use_enable static-libs static)
+		$(use_enable threads)
+		--with-docdir=/usr/share/doc/"${PF}"
+		--with-dsoflags="${LDFLAGS}"
+		--with-ldflags="${LDFLAGS}"
+
+	)
+
+	econf "${myeconfargs[@]}"
+}
+
+src_compile() {
+	default
+	use test && emake testmxml
+}
+
+src_test() {
+	emake test
+}
+
+src_install() {
+	emake DSTROOT="${ED}" install
+}


             reply	other threads:[~2025-01-19 22:38 UTC|newest]

Thread overview: 44+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-01-19 22:38 Conrad Kostecki [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-02-23 22:19 [gentoo-commits] repo/gentoo:master commit in: dev-libs/mxml/ Conrad Kostecki
2025-02-23  0:04 Sam James
2025-02-23  0:04 Sam James
2024-05-25  5:05 Arthur Zamarin
2024-05-25  2:03 Sam James
2024-05-25  0:49 Sam James
2024-05-25  0:49 Sam James
2023-04-22 23:53 Conrad Kostecki
2022-11-02 20:29 Conrad Kostecki
2022-07-26  4:15 Sam James
2022-07-26  2:05 Sam James
2022-07-25 18:23 Conrad Kostecki
2022-07-25 18:23 Conrad Kostecki
2022-07-25 14:07 Conrad Kostecki
2021-12-08  6:47 Yixun Lan
2021-12-08  6:17 Sam James
2021-12-07 23:50 Sam James
2021-12-07 18:37 Sam James
2021-12-07 18:37 Sam James
2021-11-07 12:37 Conrad Kostecki
2020-11-14 23:39 Conrad Kostecki
2020-11-14 20:32 Sam James
2020-11-12  7:41 Sergei Trofimovich
2020-11-12  0:35 Thomas Deutschmann
2020-11-09 21:48 Sam James
2020-10-11 20:17 Conrad Kostecki
2020-10-10 16:16 Conrad Kostecki
2019-12-25 13:57 Conrad Kostecki
2019-12-24 19:48 Mikle Kolyada
2019-12-16  7:52 Agostino Sarubbo
2019-12-15 18:03 Agostino Sarubbo
2019-12-15 13:43 Agostino Sarubbo
2019-09-25  5:10 Joonas Niilola
2019-07-30 16:38 Joonas Niilola
2019-07-29 14:56 Mikle Kolyada
2019-07-24 21:51 Sergei Trofimovich
2019-07-24  8:19 Agostino Sarubbo
2019-07-23  8:23 Agostino Sarubbo
2019-03-13 14:40 Patrice Clement
2019-03-10 22:38 Patrice Clement
2019-02-22 11:27 Mikle Kolyada
2019-02-20 12:58 Mikle Kolyada
2019-02-15 15:46 Thomas Deutschmann

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=1737326306.7864d0488085ee3f852e77094ac0f7a6bf499e9f.conikost@gentoo \
    --to=conikost@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