summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo Chatzimichos <tampakrap@gentoo.org>2009-08-05 12:12:21 +0000
committerTheo Chatzimichos <tampakrap@gentoo.org>2009-08-05 12:12:21 +0000
commit409e52c57947f265e261c6183b941f25d20402ba (patch)
treef929caaa283723a7049fbae14d990dadb1c22078 /dev-libs
parentFix KDE dependency to allow newer releases (diff)
downloadgentoo-2-409e52c57947f265e261c6183b941f25d20402ba.tar.gz
gentoo-2-409e52c57947f265e261c6183b941f25d20402ba.tar.bz2
gentoo-2-409e52c57947f265e261c6183b941f25d20402ba.zip
Initial commit
(Portage version: 2.2_rc33/cvs/Linux x86_64)
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/qjson/ChangeLog10
-rw-r--r--dev-libs/qjson/metadata.xml12
-rw-r--r--dev-libs/qjson/qjson-0.6.0.ebuild40
3 files changed, 62 insertions, 0 deletions
diff --git a/dev-libs/qjson/ChangeLog b/dev-libs/qjson/ChangeLog
new file mode 100644
index 000000000000..18d063e19e09
--- /dev/null
+++ b/dev-libs/qjson/ChangeLog
@@ -0,0 +1,10 @@
+# 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 $
+
+*qjson-0.6.0 (05 Aug 2009)
+
+ 05 Aug 2009; Theo Chatzimichos <tampakrap@gentoo.org> +qjson-0.6.0.ebuild,
+ +metadata.xml:
+ Initial commit
+
diff --git a/dev-libs/qjson/metadata.xml b/dev-libs/qjson/metadata.xml
new file mode 100644
index 000000000000..156086beeb7b
--- /dev/null
+++ b/dev-libs/qjson/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>qt</herd>
+ <maintainer>
+ <email>d@ayoy.net</email>
+ <name>Dominik Kapusta</name>
+ </maintainer>
+ <longdescription lang="en">
+ </longdescription>
+</pkgmetadata>
+
diff --git a/dev-libs/qjson/qjson-0.6.0.ebuild b/dev-libs/qjson/qjson-0.6.0.ebuild
new file mode 100644
index 000000000000..2c672ffec83f
--- /dev/null
+++ b/dev-libs/qjson/qjson-0.6.0.ebuild
@@ -0,0 +1,40 @@
+# 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.0.ebuild,v 1.1 2009/08/05 12:12:21 tampakrap 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 )"
+
+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
+}