Gentoo Archives: gentoo-commits

From: Samuel Bauer <samuel.bauer@×××××.fr>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-libs/xqilla/
Date: Tue, 08 Feb 2022 16:13:02
Message-Id: 1644336766.4f9ef37c95b4b76531cbe3165943c0409914602e.samuel.bauer@gentoo
1 commit: 4f9ef37c95b4b76531cbe3165943c0409914602e
2 Author: Samuel Bauer <samuel.bauer <AT> yahoo <DOT> fr>
3 AuthorDate: Tue Feb 8 16:12:46 2022 +0000
4 Commit: Samuel Bauer <samuel.bauer <AT> yahoo <DOT> fr>
5 CommitDate: Tue Feb 8 16:12:46 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=4f9ef37c
7
8 dev-libs/xqilla: allow to use with gcc-11
9
10 Signed-off-by: Samuel Bauer <samuel.bauer <AT> yahoo.fr>
11
12 dev-libs/xqilla/xqilla-2.3.4-r1.ebuild | 34 ++++++++++++++++++++++++++++++++++
13 1 file changed, 34 insertions(+)
14
15 diff --git a/dev-libs/xqilla/xqilla-2.3.4-r1.ebuild b/dev-libs/xqilla/xqilla-2.3.4-r1.ebuild
16 new file mode 100644
17 index 000000000..2d79fdcb1
18 --- /dev/null
19 +++ b/dev-libs/xqilla/xqilla-2.3.4-r1.ebuild
20 @@ -0,0 +1,34 @@
21 +# Copyright 1999-2022 Gentoo Authors
22 +# Distributed under the terms of the GNU General Public License v2
23 +
24 +EAPI=8
25 +
26 +inherit flag-o-matic
27 +
28 +DESCRIPTION="An XQuery and XPath 2 library and command line utility written in C++"
29 +HOMEPAGE="http://xqilla.sourceforge.net/HomePage"
30 +SRC_URI="mirror://sourceforge/${PN}/XQilla-${PV}.tar.gz"
31 +
32 +LICENSE="Apache-2.0"
33 +SLOT="0"
34 +KEYWORDS="~amd64"
35 +IUSE="static-libs tidy"
36 +
37 +DEPEND=">=dev-libs/xerces-c-3.2.1 tidy? ( app-text/htmltidy )"
38 +RDEPEND="${DEPEND}"
39 +BDEPEND=""
40 +
41 +PATCHES=( "${FILESDIR}"/lib_to_lib64.patch )
42 +
43 +S="${WORKDIR}"/XQilla-${PV}
44 +
45 +src_prepare() {
46 + append-cxxflags -std=c++14
47 + default
48 + sed -i 's/buffio.h/tidybuffio.h/g' src/functions/FunctionParseHTML.cpp || die
49 +}
50 +src_configure() {
51 + econf $(use_enable static-libs static) \
52 + --with-tidy=$(usex tidy /usr no) \
53 + --with-xerces=/usr
54 +}