Gentoo Archives: gentoo-commits

From: Davide Pesavento <pesa@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/qt:master commit in: x11-libs/qt-xml/
Date: Fri, 08 Jun 2012 00:07:49
Message-Id: 1339113858.c103a66a0250a60311ec9f344235612e43b92d3f.pesa@gentoo
commit:     c103a66a0250a60311ec9f344235612e43b92d3f
Author:     Davide Pesavento <davidepesa <AT> gmail <DOT> com>
AuthorDate: Fri Jun  8 00:04:18 2012 +0000
Commit:     Davide Pesavento <pesa <AT> gentoo <DOT> org>
CommitDate: Fri Jun  8 00:04:18 2012 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/qt.git;a=commit;h=c103a66a

[x11-libs/qt-xml] New QtXml module for Qt5.

Splitted from qt-core because it's an addon module since Qt 5.0.

---
 x11-libs/qt-xml/metadata.xml         |    8 ++++++++
 x11-libs/qt-xml/qt-xml-5.9999.ebuild |   34 ++++++++++++++++++++++++++++++++++
 2 files changed, 42 insertions(+), 0 deletions(-)

diff --git a/x11-libs/qt-xml/metadata.xml b/x11-libs/qt-xml/metadata.xml
new file mode 100644
index 0000000..db4a2a9
--- /dev/null
+++ b/x11-libs/qt-xml/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<herd>qt</herd> 
+	<use>
+		<flag name="c++11">Build Qt using the C++11 standard</flag>
+	</use>
+</pkgmetadata>

diff --git a/x11-libs/qt-xml/qt-xml-5.9999.ebuild b/x11-libs/qt-xml/qt-xml-5.9999.ebuild
new file mode 100644
index 0000000..bfb4b89
--- /dev/null
+++ b/x11-libs/qt-xml/qt-xml-5.9999.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=4
+
+inherit qt5-build
+
+DESCRIPTION="The Qt toolkit is a comprehensive C++ application development framework"
+
+if [[ ${QT5_BUILD_TYPE} == live ]]; then
+	KEYWORDS=""
+else
+	KEYWORDS="~amd64"
+fi
+
+IUSE=""
+
+DEPEND="
+	~x11-libs/qt-core-${PV}[debug=]
+"
+RDEPEND="${DEPEND}"
+
+QT5_TARGET_SUBDIRS=(
+	src/xml
+)
+
+src_configure() {
+	local myconf=(
+		-no-accessibility -no-gui -no-cups -no-dbus
+		-no-xcb -no-eglfs -no-directfb -no-opengl
+	)
+	qt5-build_src_configure
+}