diff options
author | Michael Palimaka <kensington@gentoo.org> | 2015-02-26 12:09:23 +0000 |
---|---|---|
committer | Michael Palimaka <kensington@gentoo.org> | 2015-02-26 12:09:23 +0000 |
commit | 330c4fdeaf406ebcdc15e3ece73ccb412082a7a8 (patch) | |
tree | e0f264507d14a0afe48b259389f20b25d4919aaa /dev-libs/qjson | |
parent | Version bump. (diff) | |
download | gentoo-2-330c4fdeaf406ebcdc15e3ece73ccb412082a7a8.tar.gz gentoo-2-330c4fdeaf406ebcdc15e3ece73ccb412082a7a8.tar.bz2 gentoo-2-330c4fdeaf406ebcdc15e3ece73ccb412082a7a8.zip |
Add multilib support by Karol Herbst <gentoo@karolherbst.de>.
(Portage version: 2.2.17/cvs/Linux x86_64, signed Manifest commit with key 0x06B1F38DCA45A1EC!)
Diffstat (limited to 'dev-libs/qjson')
-rw-r--r-- | dev-libs/qjson/ChangeLog | 9 | ||||
-rw-r--r-- | dev-libs/qjson/qjson-0.8.1-r1.ebuild | 47 |
2 files changed, 54 insertions, 2 deletions
diff --git a/dev-libs/qjson/ChangeLog b/dev-libs/qjson/ChangeLog index bb9b9ea04dc6..09a282dd3d5f 100644 --- a/dev-libs/qjson/ChangeLog +++ b/dev-libs/qjson/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-libs/qjson -# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/qjson/ChangeLog,v 1.34 2013/04/02 20:56:14 ago Exp $ +# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/qjson/ChangeLog,v 1.35 2015/02/26 12:09:23 kensington Exp $ + +*qjson-0.8.1-r1 (26 Feb 2015) + + 26 Feb 2015; Michael Palimaka <kensington@gentoo.org> +qjson-0.8.1-r1.ebuild: + Add multilib support by Karol Herbst <gentoo@karolherbst.de>. 02 Apr 2013; Agostino Sarubbo <ago@gentoo.org> qjson-0.8.1.ebuild: Stable for ppc64, wrt bug #462890 diff --git a/dev-libs/qjson/qjson-0.8.1-r1.ebuild b/dev-libs/qjson/qjson-0.8.1-r1.ebuild new file mode 100644 index 000000000000..50cfe1846546 --- /dev/null +++ b/dev-libs/qjson/qjson-0.8.1-r1.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/qjson/qjson-0.8.1-r1.ebuild,v 1.1 2015/02/26 12:09:23 kensington Exp $ + +EAPI=5 + +inherit cmake-multilib multilib + +DESCRIPTION="A library for mapping JSON data to QVariant objects" +HOMEPAGE="http://qjson.sourceforge.net" +SRC_URI="mirror://github/flavio/qjson/${P}.tar.bz2" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86 ~amd64-fbsd ~x86-fbsd" +IUSE="debug doc test" + +RDEPEND="dev-qt/qtcore:4[${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND} + doc? ( app-doc/doxygen ) + test? ( dev-qt/qttest:4[${MULTILIB_USEDEP}] )" + +DOCS=( ChangeLog README.md ) + +multilib_src_configure() { + local mycmakeargs=( + $(cmake-utils_use test QJSON_BUILD_TESTS) + -DQT_QMAKE_EXECUTABLE=/usr/$(get_libdir)/qt4/bin/qmake + ) + + cmake-utils_src_configure +} + +multilib_src_compile() { + cmake-utils_src_compile + use doc && if is_final_abi; then + cd "${S}"/doc || die "Failed to move inside doc directory" + doxygen Doxyfile || die "Generating documentation failed" + fi +} + +multilib_src_install_all() { + if use doc; then + HTML_DOCS=( doc/html/ ) + einstalldocs + fi +} |