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,  7 Nov 2021 12:37:28 +0000 (UTC)	[thread overview]
Message-ID: <1636288627.edc6326daec401769f323417268d1567c8817609.conikost@gentoo> (raw)

commit:     edc6326daec401769f323417268d1567c8817609
Author:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Sun Nov  7 11:58:52 2021 +0000
Commit:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Sun Nov  7 12:37:07 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=edc6326d

dev-libs/mxml: bump to version 3.3

Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>

 dev-libs/mxml/Manifest        |  1 +
 dev-libs/mxml/mxml-3.3.ebuild | 59 +++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 60 insertions(+)

diff --git a/dev-libs/mxml/Manifest b/dev-libs/mxml/Manifest
index 6a17f8cd6e2..5e6f1890a14 100644
--- a/dev-libs/mxml/Manifest
+++ b/dev-libs/mxml/Manifest
@@ -1 +1,2 @@
 DIST mxml-3.2.tar.gz 9267930 BLAKE2B f244dab599233b8a26aba5a11526979bf2f4d20b5fce67858f7759abc5bd2f3e2aac19d512c887248839d130cf1314065687cd1ccf91edbf5533ae2d342f286b SHA512 ed3f2b361394ef225a708b0032976a3d191d5eaea3022e190b29e0ee140e8f998f1d65c64e4898872b169516cee44f4f5f18401c6410c3b5aa1e9680b23e8675
+DIST mxml-3.3.tar.gz 1550358 BLAKE2B 2b815cd8c2031099e2767caad93cc389962ec547fadade92b0a7fb48a2352fd0940c9e434c2081b7419e0cfb489266d7116dacefd6fb9d7ce40d6de0f49cb2a6 SHA512 5a8453bec17e46afc9b100df03dba2219353a076152f34a5dc41b7f042fa570723effc3472680a4380674c412c3ab31e017f6704b1e8308227a4d9b3f13cb197

diff --git a/dev-libs/mxml/mxml-3.3.ebuild b/dev-libs/mxml/mxml-3.3.ebuild
new file mode 100644
index 00000000000..a0e3cdb5191
--- /dev/null
+++ b/dev-libs/mxml/mxml-3.3.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools
+
+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="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="static-libs threads"
+
+BDEPEND="virtual/pkgconfig"
+
+src_prepare() {
+	default
+
+	# Don't run always tests
+	# Enable verbose compiling
+	sed -e '/ALLTARGETS/s/testmxml//g' -e '/.SILENT:/d' -i Makefile.in || die
+
+	# Build only static-libs, when requested by user, also build docs without static-libs in that case
+	if ! use static-libs; then
+		local mysedopts=(
+			-e '/^install:/s/install-libmxml.a//g'
+			-e '/^mxml.xml:/s/-static//g'
+			-e '/^mxml.epub:/s/-static//g'
+			-e '/^valgrind/s/-static//g'
+			-e 's/.\/mxmldoc-static/LD_LIBRARY_PATH="." .\/mxmldoc/g'
+		)
+		sed "${mysedopts[@]}" -i Makefile.in || die
+	fi
+
+	eautoconf
+}
+
+src_configure() {
+	local myeconfargs=(
+		$(use_enable threads)
+		--with-docdir=/usr/share/doc/"${PF}"
+	)
+
+	econf "${myeconfargs[@]}"
+}
+
+src_test() {
+	emake testmxml
+}
+
+src_install() {
+	emake DSTROOT="${ED}" install
+}


             reply	other threads:[~2021-11-07 12:37 UTC|newest]

Thread overview: 40+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-07 12:37 Conrad Kostecki [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-05-25  5:05 [gentoo-commits] repo/gentoo:master commit in: dev-libs/mxml/ 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
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=1636288627.edc6326daec401769f323417268d1567c8817609.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