summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-05-18 23:11:59 +0000
committerSam James <sam@gentoo.org>2021-05-18 23:13:29 +0000
commitdab0c933c1c8cb795ccc0b406c49bbf6f2f45f1a (patch)
tree46b7e1cab7bd8918b554dbcc830a7334dc361f55 /dev-libs/tinyxml2/tinyxml2-8.1.0.ebuild
parentdev-perl/Pod-LaTeX: Remove old (diff)
downloadgentoo-dab0c933c1c8cb795ccc0b406c49bbf6f2f45f1a.tar.gz
gentoo-dab0c933c1c8cb795ccc0b406c49bbf6f2f45f1a.tar.bz2
gentoo-dab0c933c1c8cb795ccc0b406c49bbf6f2f45f1a.zip
dev-libs/tinyxml2: add 8.1.0
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-libs/tinyxml2/tinyxml2-8.1.0.ebuild')
-rw-r--r--dev-libs/tinyxml2/tinyxml2-8.1.0.ebuild44
1 files changed, 44 insertions, 0 deletions
diff --git a/dev-libs/tinyxml2/tinyxml2-8.1.0.ebuild b/dev-libs/tinyxml2/tinyxml2-8.1.0.ebuild
new file mode 100644
index 000000000000..1ceb8e57aecf
--- /dev/null
+++ b/dev-libs/tinyxml2/tinyxml2-8.1.0.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit meson multilib-minimal
+
+DESCRIPTION="A simple, small, efficient, C++ XML parser"
+HOMEPAGE="http://www.grinninglizard.com/tinyxml2/ https://github.com/leethomason/tinyxml2/"
+SRC_URI="https://github.com/leethomason/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="ZLIB"
+SLOT="0/8"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc64 ~sparc ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+PATCHES=(
+ "${FILESDIR}"/${P}-meson-typo.patch
+)
+
+multilib_src_configure() {
+ local mymesonargs=()
+
+ if multilib_is_native_abi ; then
+ mymesonargs+=(
+ $(meson_use test tests)
+ )
+ fi
+
+ meson_src_configure "${mymesonargs[@]}"
+}
+
+multilib_src_compile() {
+ meson_src_compile
+}
+
+multilib_src_test() {
+ meson_src_test
+}
+
+multilib_src_install() {
+ meson_src_install
+}