Gentoo Archives: gentoo-commits

From: "Tiziano Mueller (dev-zero)" <dev-zero@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-libs/xqilla: xqilla-2.3.0.ebuild ChangeLog xqilla-2.2.0.ebuild xqilla-2.2.3.ebuild
Date: Thu, 24 May 2012 20:25:34
Message-Id: 20120524202519.3CBE92004B@flycatcher.gentoo.org
dev-zero    12/05/24 20:25:19

  Modified:             ChangeLog
  Added:                xqilla-2.3.0.ebuild
  Removed:              xqilla-2.2.0.ebuild xqilla-2.2.3.ebuild
  Log:
  Version bump, fix tidy-support, add static-libs USE flag, drop old.
  
  (Portage version: 2.1.10.56/cvs/Linux x86_64)

Revision  Changes    Path
1.13                 dev-libs/xqilla/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/xqilla/ChangeLog?rev=1.13&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/xqilla/ChangeLog?rev=1.13&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/xqilla/ChangeLog?r1=1.12&r2=1.13

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-libs/xqilla/ChangeLog,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- ChangeLog	24 Sep 2011 12:36:27 -0000	1.12
+++ ChangeLog	24 May 2012 20:25:19 -0000	1.13
@@ -1,6 +1,13 @@
 # ChangeLog for dev-libs/xqilla
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/xqilla/ChangeLog,v 1.12 2011/09/24 12:36:27 chainsaw Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/xqilla/ChangeLog,v 1.13 2012/05/24 20:25:19 dev-zero Exp $
+
+*xqilla-2.3.0 (24 May 2012)
+
+  24 May 2012; Tiziano Müller <dev-zero@g.o> +xqilla-2.3.0.ebuild,
+  -files/2.2.3-xerces-c-3.1.0.patch, -files/xqilla-2.2.0-gcc44.patch,
+  -xqilla-2.2.0.ebuild, -xqilla-2.2.3.ebuild:
+  Version bump, fix tidy-support, add static-libs USE flag, drop old.
 
   24 Sep 2011; Tony Vroon <chainsaw@g.o> xqilla-2.2.4.ebuild,
   +files/xqilla-2.2.4-gcc46.patch:



1.1                  dev-libs/xqilla/xqilla-2.3.0.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/xqilla/xqilla-2.3.0.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/xqilla/xqilla-2.3.0.ebuild?rev=1.1&content-type=text/plain

Index: xqilla-2.3.0.ebuild
===================================================================
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/xqilla/xqilla-2.3.0.ebuild,v 1.1 2012/05/24 20:25:19 dev-zero Exp $

EAPI="4"

inherit autotools base

MY_P="XQilla-${PV}"

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}/${MY_P}.tar.gz"
LICENSE="Apache-2.0 BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="debug doc examples faxpp htmltidy static-libs"

# XQilla bundles two libraries:
# - mapm, heavily patched
# - yajl, moderately patched
# There's currently no way to unbundle those

RDEPEND=">=dev-libs/xerces-c-3.1.1
	faxpp? ( dev-libs/faxpp )
	htmltidy? ( app-text/htmltidy )"
DEPEND="${RDEPEND}
	doc? ( app-doc/doxygen )"

PATCHES=(
	"${FILESDIR}/2.2.4-respect-ldflags-no-rpath.patch"
)

S="${WORKDIR}/${MY_P}"

src_prepare() {
	base_src_prepare
	eautoreconf
}

src_configure() {
	econf \
		--with-xerces=/usr \
		$(use_enable debug) \
		$(use_with htmltidy tidy /usr) \
		$(use_with faxpp faxpp /usr) \
		$(use_enable static-libs static)
}

src_compile() {
	default

	if use doc; then
		emake docs || die "emake docs failed"
		emake devdocs || die "emake devdocs failed"
	fi
}

src_install () {
	default

	use static-libs || rm -rf "${D}"/usr/lib*/*.la

	if use doc; then
		cd docs
		dohtml -r dev-api dom3-api simple-api
	fi
	if use examples ; then
		insinto /usr/share/doc/${PF}/examples
		doins -r "${S}"/src/samples/*
	fi
}