Note: Due to technical difficulties, the Archives are currently not up to date.
GMANE provides an alternative service for most mailing lists. c.f. bug 424647
List Archive: gentoo-commits
commit: 14884ae1aa26eb941ca4b2ddbe67f3326d1ed06d
Author: Davide Pesavento <davidepesa <AT> gmail <DOT> com>
AuthorDate: Wed Jun 6 17:52:43 2012 +0000
Commit: Davide Pesavento <pesa <AT> gentoo <DOT> org>
CommitDate: Wed Jun 6 17:52:43 2012 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/qt.git;a=commit;h=14884ae1
[x11-libs/qt-core] Add preliminary live ebuild for Qt5 core modules.
Includes libQt{Core,Network,Concurrent}, qmake, moc, rcc and qdoc.
(Portage version: 2.2.0_alpha110/git/Linux x86_64, unsigned Manifest commit)
---
x11-libs/qt-core/metadata.xml | 1 +
x11-libs/qt-core/qt-core-5.9999.ebuild | 57 ++++++++++++++++++++++++++++++++
2 files changed, 58 insertions(+), 0 deletions(-)
diff --git a/x11-libs/qt-core/metadata.xml b/x11-libs/qt-core/metadata.xml
index 476b591..a81a5bd 100644
--- a/x11-libs/qt-core/metadata.xml
+++ b/x11-libs/qt-core/metadata.xml
@@ -4,6 +4,7 @@
<herd>qt</herd>
<use>
<flag name="c++0x">Build Qt using the C++11 standard</flag>
+ <flag name="c++11">Build Qt using the C++11 standard</flag>
<flag name="exceptions">Add support for exceptions - like catching them
inside the event loop (recommended by Nokia)</flag>
<flag name="glib">Enable <pkg>dev-libs/glib</pkg> eventloop support</flag>
diff --git a/x11-libs/qt-core/qt-core-5.9999.ebuild b/x11-libs/qt-core/qt-core-5.9999.ebuild
new file mode 100644
index 0000000..0c9b04f
--- /dev/null
+++ b/x11-libs/qt-core/qt-core-5.9999.ebuild
@@ -0,0 +1,57 @@
+# 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="glib icu ssl"
+
+DEPEND="
+ >=dev-libs/libpcre-8.30[pcre16]
+ sys-libs/zlib
+ virtual/libiconv
+ glib? ( dev-libs/glib:2 )
+ icu? ( >=dev-libs/icu-49 )
+ ssl? ( dev-libs/openssl:0 )
+"
+RDEPEND="${DEPEND}"
+
+QT5_TARGET_SUBDIRS=(
+ src/tools/bootstrap
+ src/tools/moc
+ src/tools/rcc
+ src/tools/qdoc
+ src/corelib
+ src/network
+ src/concurrent
+)
+
+src_configure() {
+ local myconf=(
+ $(qt_use glib)
+ -iconv
+ $(qt_use icu)
+ $(use ssl && echo -openssl-linked || echo -no-openssl)
+ -no-accessibility -no-gui -no-cups -no-dbus
+ -no-xcb -no-eglfs -no-directfb -no-opengl
+ )
+ qt5-build_src_configure
+}
+
+src_install() {
+ qt5-build_src_install
+
+ pushd "${QT5_BUILD_DIR}" >/dev/null || die
+ emake INSTALL_ROOT="${D}" install_{qmake,mkspecs}
+ popd >/dev/null || die
+}
|
|