summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Palimaka <kensington@gentoo.org>2012-12-05 14:02:18 +0000
committerMichael Palimaka <kensington@gentoo.org>2012-12-05 14:02:18 +0000
commitc83446dd629cbbc362ac6b959cc77e85f6f7091b (patch)
tree194a970979a8de94bbd69145fb08ed02a661fd8a /dev-libs/qjson/qjson-0.8.1.ebuild
parentRequire new 1.0 gstreamer and disable 0.10. (diff)
downloadgentoo-2-c83446dd629cbbc362ac6b959cc77e85f6f7091b.tar.gz
gentoo-2-c83446dd629cbbc362ac6b959cc77e85f6f7091b.tar.bz2
gentoo-2-c83446dd629cbbc362ac6b959cc77e85f6f7091b.zip
Version bump wrt bug #444636. Update upstream metadata.
(Portage version: 2.1.11.33/cvs/Linux x86_64, signed Manifest commit with key 675D0D2C)
Diffstat (limited to 'dev-libs/qjson/qjson-0.8.1.ebuild')
-rw-r--r--dev-libs/qjson/qjson-0.8.1.ebuild41
1 files changed, 41 insertions, 0 deletions
diff --git a/dev-libs/qjson/qjson-0.8.1.ebuild b/dev-libs/qjson/qjson-0.8.1.ebuild
new file mode 100644
index 000000000000..9154347da017
--- /dev/null
+++ b/dev-libs/qjson/qjson-0.8.1.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2012 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.ebuild,v 1.1 2012/12/05 14:02:18 kensington Exp $
+
+EAPI=5
+
+inherit cmake-utils
+
+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"
+IUSE="debug doc test"
+
+RDEPEND="x11-libs/qt-core:4"
+DEPEND="${RDEPEND}
+ doc? ( app-doc/doxygen )
+ test? ( x11-libs/qt-test:4 )"
+
+DOCS=( ChangeLog README.md )
+
+src_configure() {
+ local mycmakeargs=(
+ $(cmake-utils_use test QJSON_BUILD_TESTS)
+ )
+
+ cmake-utils_src_configure
+}
+
+src_install() {
+ if use doc; then
+ cd doc
+ doxygen Doxyfile || die "Generating documentation failed"
+ HTML_DOCS=( doc/html/ )
+ fi
+
+ cmake-utils_src_install
+}