* [gentoo-commits] repo/proj/guru:master commit in: dev-libs/xqilla/
@ 2024-05-16 17:59 Julien Roy
0 siblings, 0 replies; 2+ messages in thread
From: Julien Roy @ 2024-05-16 17:59 UTC (permalink / raw
To: gentoo-commits
commit: a87d437e3c34b8a0fe2bd0a4d61b73085152148b
Author: Quincy Fleming <quincyf467 <AT> protonmail <DOT> com>
AuthorDate: Thu May 16 16:42:59 2024 +0000
Commit: Julien Roy <julien <AT> jroy <DOT> ca>
CommitDate: Thu May 16 16:44:13 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a87d437e
dev-libs/xqilla: respect user LDFLAGS
Closes: https://bugs.gentoo.org/780945
Signed-off-by: Quincy Fleming <quincyf467 <AT> protonmail.com>
...illa-2.3.4-r1.ebuild => xqilla-2.3.4-r2.ebuild} | 15 +++++++++-
dev-libs/xqilla/xqilla-2.3.4.ebuild | 33 ----------------------
2 files changed, 14 insertions(+), 34 deletions(-)
diff --git a/dev-libs/xqilla/xqilla-2.3.4-r1.ebuild b/dev-libs/xqilla/xqilla-2.3.4-r2.ebuild
similarity index 71%
rename from dev-libs/xqilla/xqilla-2.3.4-r1.ebuild
rename to dev-libs/xqilla/xqilla-2.3.4-r2.ebuild
index da57ec1919..d603cb8767 100644
--- a/dev-libs/xqilla/xqilla-2.3.4-r1.ebuild
+++ b/dev-libs/xqilla/xqilla-2.3.4-r2.ebuild
@@ -9,7 +9,7 @@ DESCRIPTION="An XQuery and XPath 2 library and command line utility written in C
HOMEPAGE="https://sourceforge.net/projects/xqilla/"
SRC_URI="https://downloads.sourceforge.net/${PN}/XQilla-${PV}.tar.gz"
-S="${WORKDIR}"/XQilla-${PV}
+S="${WORKDIR}/XQilla-${PV}"
LICENSE="Apache-2.0"
SLOT="0"
@@ -31,3 +31,16 @@ src_configure() {
--with-tidy=$(usex tidy /usr no) \
--with-xerces=/usr
}
+
+src_compile() {
+ emake "LDFLAGS=${LDFLAGS} -lxerces-c -lnsl -lpthread $(usex tidy -ltidy '')"
+}
+
+src_install() {
+ emake prefix="${EPREFIX}/usr" DESTDIR="${D}" install
+ if ! use static-libs; then
+ find "${ED}" -type f -iname '*.la' -delete || die
+ fi
+ einstalldocs
+ dodoc LICENSE
+}
diff --git a/dev-libs/xqilla/xqilla-2.3.4.ebuild b/dev-libs/xqilla/xqilla-2.3.4.ebuild
deleted file mode 100644
index b3e9f6e218..0000000000
--- a/dev-libs/xqilla/xqilla-2.3.4.ebuild
+++ /dev/null
@@ -1,33 +0,0 @@
-# Copyright 1999-2024 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="https://sourceforge.net/projects/xqilla/"
-SRC_URI="https://downloads.sourceforge.net/${PN}/XQilla-${PV}.tar.gz"
-
-S="${WORKDIR}"/XQilla-${PV}
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE="static-libs tidy"
-
-DEPEND=">=dev-libs/xerces-c-3.2.1 tidy? ( app-text/htmltidy )"
-RDEPEND="${DEPEND}"
-
-PATCHES=(
- "${FILESDIR}"/lib_to_lib64.patch
-)
-
-src_prepare() {
- eapply -p1 "${FILESDIR}/lib_to_lib64.patch"
- eapply_user
- sed -i 's/buffio.h/tidybuffio.h/g' src/functions/FunctionParseHTML.cpp || die "sed failed"
-}
-src_configure() {
- econf $(use_enable static-libs static) \
- --with-tidy=$(usex tidy /usr no) \
- --with-xerces=/usr
-}
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [gentoo-commits] repo/proj/guru:master commit in: dev-libs/xqilla/
@ 2024-10-08 14:36 David Roman
0 siblings, 0 replies; 2+ messages in thread
From: David Roman @ 2024-10-08 14:36 UTC (permalink / raw
To: gentoo-commits
commit: 675f603797ca9dfac18d92a015e3c287afb3fd36
Author: Takuya Wakazono <pastalian46 <AT> gmail <DOT> com>
AuthorDate: Tue Oct 8 14:29:22 2024 +0000
Commit: David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Tue Oct 8 14:29:22 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=675f6037
dev-libs/xqilla: fix DEPEND
Closes: https://bugs.gentoo.org/786471
Closes: https://bugs.gentoo.org/839879
Closes: https://bugs.gentoo.org/932400
Signed-off-by: Takuya Wakazono <pastalian46 <AT> gmail.com>
dev-libs/xqilla/{xqilla-2.3.4-r2.ebuild => xqilla-2.3.4-r3.ebuild} | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/dev-libs/xqilla/xqilla-2.3.4-r2.ebuild b/dev-libs/xqilla/xqilla-2.3.4-r3.ebuild
similarity index 92%
rename from dev-libs/xqilla/xqilla-2.3.4-r2.ebuild
rename to dev-libs/xqilla/xqilla-2.3.4-r3.ebuild
index d603cb876..08f7a3067 100644
--- a/dev-libs/xqilla/xqilla-2.3.4-r2.ebuild
+++ b/dev-libs/xqilla/xqilla-2.3.4-r3.ebuild
@@ -16,7 +16,11 @@ SLOT="0"
KEYWORDS="~amd64"
IUSE="static-libs tidy"
-DEPEND=">=dev-libs/xerces-c-3.2.1 tidy? ( app-text/htmltidy )"
+DEPEND="
+ >=dev-libs/xerces-c-3.2.1
+ net-libs/libnsl:=
+ tidy? ( app-text/htmltidy:= )
+"
RDEPEND="${DEPEND}"
PATCHES=( "${FILESDIR}"/lib_to_lib64.patch )
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-10-08 14:36 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-08 14:36 [gentoo-commits] repo/proj/guru:master commit in: dev-libs/xqilla/ David Roman
-- strict thread matches above, loose matches on Subject: below --
2024-05-16 17:59 Julien Roy
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox