Gentoo Archives: gentoo-commits

From: Andrew Ammerlaan <andrewammerlaan@××××××.net>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:master commit in: dev-libs/xqilla/, dev-libs/xqilla/files/
Date: Tue, 05 May 2020 18:47:10
Message-Id: 1588699761.b9ef3192bb1a6bdbb78d08027a19bd824f0c8906.andrewammerlaan@gentoo
1 commit: b9ef3192bb1a6bdbb78d08027a19bd824f0c8906
2 Author: Michele Santullo <m.santullo <AT> posteo <DOT> net>
3 AuthorDate: Tue May 5 17:27:51 2020 +0000
4 Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
5 CommitDate: Tue May 5 17:29:21 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=b9ef3192
7
8 dev-libs/xqilla: adding package
9
10 Package-Manager: Portage-2.3.89, Repoman-2.3.20
11 Signed-off-by: Michele Santullo <m.santullo <AT> posteo.net>
12
13 dev-libs/xqilla/Manifest | 1 +
14 dev-libs/xqilla/files/lib_to_lib64.patch | 13 +++++++++++++
15 dev-libs/xqilla/metadata.xml | 15 +++++++++++++++
16 dev-libs/xqilla/xqilla-2.3.4.ebuild | 29 +++++++++++++++++++++++++++++
17 4 files changed, 58 insertions(+)
18
19 diff --git a/dev-libs/xqilla/Manifest b/dev-libs/xqilla/Manifest
20 new file mode 100644
21 index 0000000..3cdfbb2
22 --- /dev/null
23 +++ b/dev-libs/xqilla/Manifest
24 @@ -0,0 +1 @@
25 +DIST XQilla-2.3.4.tar.gz 15439591 BLAKE2B 5ebb719823019552dd81f9bba7325e41626afaeca577f19c4b3ace04daf68fd4cfae2feb3bccffaad5fcb21bbce7acb32359613ea93ee33e97171dcdb1b5b53e SHA512 f744ff883675887494780d24ecdc94afa394d3795d1544b1c598016b3f936c340ad7cd84529ac12962e3c5ce2f1be928a0cd4f9b9eb70e6645a38b0728cb1994
26
27 diff --git a/dev-libs/xqilla/files/lib_to_lib64.patch b/dev-libs/xqilla/files/lib_to_lib64.patch
28 new file mode 100644
29 index 0000000..433ec9d
30 --- /dev/null
31 +++ b/dev-libs/xqilla/files/lib_to_lib64.patch
32 @@ -0,0 +1,13 @@
33 +diff --git a/configure b/configure
34 +index 60b02f0..64e967b 100755
35 +--- a/configure
36 ++++ b/configure
37 +@@ -4155,7 +4155,7 @@ $as_echo "$with_tidy" >&6; }
38 + if test "$with_tidy" != "no"; then
39 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the HTML Tidy library is present" >&5
40 + $as_echo_n "checking if the HTML Tidy library is present... " >&6; }
41 +- if test `ls $with_tidy/lib/libtidy.* 2>/dev/null | wc -l` -gt 0 ; then
42 ++ if test `ls $with_tidy/lib64/libtidy.* 2>/dev/null | wc -l` -gt 0 ; then
43 + if test `ls $with_tidy/include/tidy/tidy.h 2>/dev/null | wc -l` -gt 0 ; then
44 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
45 + $as_echo "yes" >&6; }
46
47 diff --git a/dev-libs/xqilla/metadata.xml b/dev-libs/xqilla/metadata.xml
48 new file mode 100644
49 index 0000000..cbb7f5e
50 --- /dev/null
51 +++ b/dev-libs/xqilla/metadata.xml
52 @@ -0,0 +1,15 @@
53 +<?xml version="1.0" encoding="UTF-8"?>
54 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
55 +<pkgmetadata>
56 + <maintainer type="person">
57 + <email>m.santullo@××××××.net</email>
58 + <name>Michele Santullo</name>
59 + </maintainer>
60 + <upstream>
61 + <bugs-to>https://sourceforge.net/p/xqilla/bugs/</bugs-to>
62 + <remote-id type="sourceforge">xqilla</remote-id>
63 + </upstream>
64 + <use>
65 + <flag name="tidy">Add Tidy-HTML5 support</flag>
66 + </use>
67 +</pkgmetadata>
68
69 diff --git a/dev-libs/xqilla/xqilla-2.3.4.ebuild b/dev-libs/xqilla/xqilla-2.3.4.ebuild
70 new file mode 100644
71 index 0000000..8892c7f
72 --- /dev/null
73 +++ b/dev-libs/xqilla/xqilla-2.3.4.ebuild
74 @@ -0,0 +1,29 @@
75 +# Copyright 2020 Gentoo Authors
76 +# Distributed under the terms of the GNU General Public License v2
77 +
78 +EAPI=7
79 +
80 +DESCRIPTION="An XQuery and XPath 2 library and command line utility written in C++"
81 +HOMEPAGE="http://xqilla.sourceforge.net/HomePage"
82 +SRC_URI="mirror://sourceforge/${PN}/XQilla-${PV}.tar.gz"
83 +
84 +LICENSE="Apache-2.0"
85 +SLOT="0"
86 +KEYWORDS="~amd64"
87 +IUSE="static-libs tidy"
88 +
89 +DEPEND=">=dev-libs/xerces-c-3.2.1 tidy? ( app-text/tidy-html5 )"
90 +RDEPEND="${DEPEND}"
91 +BDEPEND=""
92 +
93 +PATCHES=(
94 + "${FILESDIR}"/lib_to_lib64.patch
95 +)
96 +
97 +S="${WORKDIR}"/XQilla-${PV}
98 +
99 +src_configure() {
100 + econf $(use_enable static-libs static) \
101 + --with-tidy=$(usex tidy /usr no) \
102 + --with-xerces=/usr
103 +}