diff options
Diffstat (limited to 'dev-libs/qjson')
-rw-r--r-- | dev-libs/qjson/ChangeLog | 7 | ||||
-rw-r--r-- | dev-libs/qjson/qjson-0.6.1.ebuild | 41 |
2 files changed, 47 insertions, 1 deletions
diff --git a/dev-libs/qjson/ChangeLog b/dev-libs/qjson/ChangeLog index 18d063e19e09..b6d7c3b664b1 100644 --- a/dev-libs/qjson/ChangeLog +++ b/dev-libs/qjson/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-libs/qjson # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/qjson/ChangeLog,v 1.1 2009/08/05 12:12:21 tampakrap Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/qjson/ChangeLog,v 1.2 2009/09/09 20:33:56 wired Exp $ + +*qjson-0.6.1 (09 Sep 2009) + + 09 Sep 2009; Alex Alexander <wired@gentoo.org> +qjson-0.6.1.ebuild: + version bump *qjson-0.6.0 (05 Aug 2009) diff --git a/dev-libs/qjson/qjson-0.6.1.ebuild b/dev-libs/qjson/qjson-0.6.1.ebuild new file mode 100644 index 000000000000..0ab14af3ac8d --- /dev/null +++ b/dev-libs/qjson/qjson-0.6.1.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/qjson/qjson-0.6.1.ebuild,v 1.1 2009/09/09 20:33:56 wired Exp $ + +EAPI="2" + +inherit cmake-utils + +DESCRIPTION="A library for mapping JSON data to QVariant objects" +HOMEPAGE="http://qjson.sourceforge.net" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="debug doc test" + +RDEPEND="x11-libs/qt-core:4" +DEPEND="${RDEPEND} + doc? ( app-doc/doxygen ) + test? ( x11-libs/qt-test:4 )" + +S="${WORKDIR}/${PN}" +DOCS=( "${S}/README" ) + +src_configure() { + mycmakeargs="${mycmakeargs} + $(cmake-utils_use test QJSON_BUILD_TESTS)" + + cmake-utils_src_configure +} + +src_install() { + if use doc; then + cd "${S}/doc" + doxygen Doxyfile || die "Generating documentation failed" + HTML_DOCS=( "${S}/doc/html/*" ) + fi + + cmake-utils_src_install +} |