commit: b9ef3192bb1a6bdbb78d08027a19bd824f0c8906 Author: Michele Santullo <m.santullo <AT> posteo <DOT> net> AuthorDate: Tue May 5 17:27:51 2020 +0000 Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net> CommitDate: Tue May 5 17:29:21 2020 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=b9ef3192
dev-libs/xqilla: adding package Package-Manager: Portage-2.3.89, Repoman-2.3.20 Signed-off-by: Michele Santullo <m.santullo <AT> posteo.net> dev-libs/xqilla/Manifest | 1 + dev-libs/xqilla/files/lib_to_lib64.patch | 13 +++++++++++++ dev-libs/xqilla/metadata.xml | 15 +++++++++++++++ dev-libs/xqilla/xqilla-2.3.4.ebuild | 29 +++++++++++++++++++++++++++++ 4 files changed, 58 insertions(+) diff --git a/dev-libs/xqilla/Manifest b/dev-libs/xqilla/Manifest new file mode 100644 index 0000000..3cdfbb2 --- /dev/null +++ b/dev-libs/xqilla/Manifest @@ -0,0 +1 @@ +DIST XQilla-2.3.4.tar.gz 15439591 BLAKE2B 5ebb719823019552dd81f9bba7325e41626afaeca577f19c4b3ace04daf68fd4cfae2feb3bccffaad5fcb21bbce7acb32359613ea93ee33e97171dcdb1b5b53e SHA512 f744ff883675887494780d24ecdc94afa394d3795d1544b1c598016b3f936c340ad7cd84529ac12962e3c5ce2f1be928a0cd4f9b9eb70e6645a38b0728cb1994 diff --git a/dev-libs/xqilla/files/lib_to_lib64.patch b/dev-libs/xqilla/files/lib_to_lib64.patch new file mode 100644 index 0000000..433ec9d --- /dev/null +++ b/dev-libs/xqilla/files/lib_to_lib64.patch @@ -0,0 +1,13 @@ +diff --git a/configure b/configure +index 60b02f0..64e967b 100755 +--- a/configure ++++ b/configure +@@ -4155,7 +4155,7 @@ $as_echo "$with_tidy" >&6; } + if test "$with_tidy" != "no"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the HTML Tidy library is present" >&5 + $as_echo_n "checking if the HTML Tidy library is present... " >&6; } +- if test `ls $with_tidy/lib/libtidy.* 2>/dev/null | wc -l` -gt 0 ; then ++ if test `ls $with_tidy/lib64/libtidy.* 2>/dev/null | wc -l` -gt 0 ; then + if test `ls $with_tidy/include/tidy/tidy.h 2>/dev/null | wc -l` -gt 0 ; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 + $as_echo "yes" >&6; } diff --git a/dev-libs/xqilla/metadata.xml b/dev-libs/xqilla/metadata.xml new file mode 100644 index 0000000..cbb7f5e --- /dev/null +++ b/dev-libs/xqilla/metadata.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>m.santu...@posteo.net</email> + <name>Michele Santullo</name> + </maintainer> + <upstream> + <bugs-to>https://sourceforge.net/p/xqilla/bugs/</bugs-to> + <remote-id type="sourceforge">xqilla</remote-id> + </upstream> + <use> + <flag name="tidy">Add Tidy-HTML5 support</flag> + </use> +</pkgmetadata> diff --git a/dev-libs/xqilla/xqilla-2.3.4.ebuild b/dev-libs/xqilla/xqilla-2.3.4.ebuild new file mode 100644 index 0000000..8892c7f --- /dev/null +++ b/dev-libs/xqilla/xqilla-2.3.4.ebuild @@ -0,0 +1,29 @@ +# Copyright 2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="An XQuery and XPath 2 library and command line utility written in C++" +HOMEPAGE="http://xqilla.sourceforge.net/HomePage" +SRC_URI="mirror://sourceforge/${PN}/XQilla-${PV}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" +IUSE="static-libs tidy" + +DEPEND=">=dev-libs/xerces-c-3.2.1 tidy? ( app-text/tidy-html5 )" +RDEPEND="${DEPEND}" +BDEPEND="" + +PATCHES=( + "${FILESDIR}"/lib_to_lib64.patch +) + +S="${WORKDIR}"/XQilla-${PV} + +src_configure() { + econf $(use_enable static-libs static) \ + --with-tidy=$(usex tidy /usr no) \ + --with-xerces=/usr +}