Gentoo Archives: gentoo-commits

From: Bernard Cafarelli <voyageur@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/tinyxml/
Date: Mon, 26 Apr 2021 20:10:14
Message-Id: 1619467801.e65f6fd2d962538ad354a48a3b0302a7b628a18d.voyageur@gentoo
1 commit: e65f6fd2d962538ad354a48a3b0302a7b628a18d
2 Author: Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
3 AuthorDate: Mon Apr 26 20:10:01 2021 +0000
4 Commit: Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
5 CommitDate: Mon Apr 26 20:10:01 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e65f6fd2
7
8 dev-libs/tinyxml: clean old version
9
10 Closes: https://bugs.gentoo.org/783705
11 Package-Manager: Portage-3.0.18, Repoman-3.0.3
12 Signed-off-by: Bernard Cafarelli <voyageur <AT> gentoo.org>
13
14 dev-libs/tinyxml/tinyxml-2.6.2-r3.ebuild | 61 --------------------------------
15 1 file changed, 61 deletions(-)
16
17 diff --git a/dev-libs/tinyxml/tinyxml-2.6.2-r3.ebuild b/dev-libs/tinyxml/tinyxml-2.6.2-r3.ebuild
18 deleted file mode 100644
19 index 537f31101a2..00000000000
20 --- a/dev-libs/tinyxml/tinyxml-2.6.2-r3.ebuild
21 +++ /dev/null
22 @@ -1,61 +0,0 @@
23 -# Copyright 1999-2021 Gentoo Authors
24 -# Distributed under the terms of the GNU General Public License v2
25 -
26 -EAPI=6
27 -
28 -inherit epatch flag-o-matic toolchain-funcs multilib versionator
29 -
30 -DESCRIPTION="Simple and small C++ XML parser"
31 -HOMEPAGE="http://www.grinninglizard.com/tinyxml/index.html"
32 -SRC_URI="mirror://sourceforge/${PN}/${PN}_${PV//./_}.tar.gz"
33 -
34 -LICENSE="ZLIB"
35 -SLOT="0"
36 -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86 ~x64-macos"
37 -IUSE="debug doc static-libs +stl"
38 -
39 -DEPEND="doc? ( app-doc/doxygen )"
40 -
41 -S="${WORKDIR}/${PN}"
42 -
43 -src_prepare() {
44 - local major_v=$(get_major_version)
45 - local minor_v=$(get_version_component_range 2-3)
46 -
47 - sed -e "s:@MAJOR_V@:$major_v:" \
48 - -e "s:@MINOR_V@:$minor_v:" \
49 - "${FILESDIR}"/Makefile-3 > Makefile || die
50 -
51 - epatch "${FILESDIR}"/${PN}-2.6.1-entity.patch
52 - epatch "${FILESDIR}"/${PN}.pc.patch
53 -
54 - use debug && append-cppflags -DDEBUG
55 - use stl && epatch "${FILESDIR}"/${P}-defineSTL.patch
56 -
57 - if use stl; then
58 - sed -e "s/Cflags: -I\${includedir}/Cflags: -I\${includedir} -DTIXML_USE_STL=YES/g" -i tinyxml.pc || die
59 - fi
60 -
61 - if ! use static-libs; then
62 - sed -e "/^all:/s/\$(name).a //" -i Makefile || die
63 - fi
64 -
65 - tc-export AR CXX RANLIB
66 -
67 - [[ ${CHOST} == *-darwin* ]] && export LIBDIR="${EPREFIX}"/usr/$(get_libdir)
68 - eapply_user
69 -}
70 -
71 -src_install() {
72 - dolib.so *$(get_libname)*
73 -
74 - insinto /usr/include
75 - doins *.h
76 -
77 - insinto /usr/share/pkgconfig
78 - doins tinyxml.pc
79 -
80 - dodoc {changes,readme}.txt
81 -
82 - use doc && dohtml -r docs/*
83 -}