diff options
| author | root <root@alpha.trunkmasters.com> | 2026-06-04 05:48:38 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-06-04 05:48:38 -0500 |
| commit | bfd9c39e4712ebdb442d4ca0673061faed1e70e1 (patch) | |
| tree | 0d7a74b4463ee387f9cf9368ceb1b757f694f72a /dev-libs/mxml | |
| parent | f716a9fe6455d39eef01e718aae68dae61c19704 (diff) | |
| download | baldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.tar.gz baldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.tar.xz baldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.zip | |
Revert "Adding metadata"
This reverts commit f716a9fe6455d39eef01e718aae68dae61c19704.
Diffstat (limited to 'dev-libs/mxml')
| -rw-r--r-- | dev-libs/mxml/Manifest | 2 | ||||
| -rw-r--r-- | dev-libs/mxml/metadata.xml | 26 | ||||
| -rw-r--r-- | dev-libs/mxml/mxml-3.3.1-r1.ebuild | 63 | ||||
| -rw-r--r-- | dev-libs/mxml/mxml-4.0.4.ebuild | 61 |
4 files changed, 152 insertions, 0 deletions
diff --git a/dev-libs/mxml/Manifest b/dev-libs/mxml/Manifest new file mode 100644 index 000000000000..d0e02348849e --- /dev/null +++ b/dev-libs/mxml/Manifest @@ -0,0 +1,2 @@ +DIST mxml-3.3.1.tar.gz 1554784 BLAKE2B e0d599fd947dfef72edae40c1e70ea76c92105128dd46e772a7c71f9293cab3339c980396dffe105246cad64d0474935cc1939005ad9a2bffc8e8107f025a466 SHA512 43e6a92806d9c3f5db39fbf960c15ebfa6d92ef98274b7ce39b57724d6c26ad4362d6d8f3c1023efda92e6a815df068e5038a0cd479562b6be9dbdda8e827a41 +DIST mxml-4.0.4.tar.gz 1576163 BLAKE2B dd7cbaf3c918589afd6c452cf8c279f6efa563a32214478f5bf0896cbe3b11a5b626e7670d17cd7e83f4c20487c40d5717fbfdd62b1ce6ef120780f28903bfb8 SHA512 11ef51b7e8abe8f5b1728ee072217605456e11e56bd0abc5375820c1a0e30ea1a6f0a306e65a40c1cdda3394486b51e2d67cc9081113dbc570b6d9d835f5890f diff --git a/dev-libs/mxml/metadata.xml b/dev-libs/mxml/metadata.xml new file mode 100644 index 000000000000..2220302b0433 --- /dev/null +++ b/dev-libs/mxml/metadata.xml @@ -0,0 +1,26 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>conikost@gentoo.org</email> + <name>Conrad Kostecki</name> + </maintainer> + <longdescription> + Mini-XML is a small XML parsing library that you can use to read XML data files or strings + in your application without requiring large non-standard libraries. + Mini-XML provides the following functionality: + - Reading of UTF-8 and UTF-16 and writing of UTF-8 encoded XML files and strings. + - Data is stored in a linked-list tree structure, preserving the XML data hierarchy. + - SAX (streamed) reading of XML files and strings to minimize memory usage. + - Supports arbitrary element names, attributes, and attribute values with no preset limits, just available memory. + - Supports integer, real, opaque ("cdata"), and text data types in "leaf" nodes. + - Functions for creating and managing trees of data. + - Find" and "walk" functions for easily locating and navigating trees of data. + Mini-XML doesn't do validation or other types of processing on the data based + upon schema files or other sources of definition information. + </longdescription> + <upstream> + <bugs-to>https://github.com/michaelrsweet/mxml/issues</bugs-to> + <remote-id type="github">michaelrsweet/mxml</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-libs/mxml/mxml-3.3.1-r1.ebuild b/dev-libs/mxml/mxml-3.3.1-r1.ebuild new file mode 100644 index 000000000000..838cbb783a9f --- /dev/null +++ b/dev-libs/mxml/mxml-3.3.1-r1.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2023 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 ppc ~ppc64 ~riscv ~sparc x86" +IUSE="static-libs threads" + +BDEPEND="virtual/pkgconfig" + +src_prepare() { + default + + # Don't hardcode FORTIFY_SOURCe + sed -e 's/-D_FORTIFY_SOURCE=2//g' -i configure || die + sed -e 's/-D_FORTIFY_SOURCE=2//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 + + # 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 +} 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..a36bf1241059 --- /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 +} |
