From a857ef1c50dfedd966264d5b791e1b2258b39ded Mon Sep 17 00:00:00 2001 From: Davide Pesavento Date: Thu, 11 Sep 2014 01:47:22 +0000 Subject: Import Qt5 from qt overlay. (Portage version: 2.2.12/cvs/Linux x86_64, signed Manifest commit with key 0xDADED6B2671CB57D!) --- dev-qt/qtwidgets/ChangeLog | 9 +++++ dev-qt/qtwidgets/metadata.xml | 12 ++++++ dev-qt/qtwidgets/qtwidgets-5.3.1-r3.ebuild | 63 ++++++++++++++++++++++++++++++ 3 files changed, 84 insertions(+) create mode 100644 dev-qt/qtwidgets/ChangeLog create mode 100644 dev-qt/qtwidgets/metadata.xml create mode 100644 dev-qt/qtwidgets/qtwidgets-5.3.1-r3.ebuild (limited to 'dev-qt/qtwidgets') diff --git a/dev-qt/qtwidgets/ChangeLog b/dev-qt/qtwidgets/ChangeLog new file mode 100644 index 000000000000..59836e16911b --- /dev/null +++ b/dev-qt/qtwidgets/ChangeLog @@ -0,0 +1,9 @@ +# ChangeLog for dev-qt/qtwidgets +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-qt/qtwidgets/ChangeLog,v 1.3 2014/09/11 01:47:22 pesa Exp $ + +*qtwidgets-5.3.1-r3 (11 Sep 2014) + + 11 Sep 2014; Davide Pesavento +metadata.xml, + +qtwidgets-5.3.1-r3.ebuild: + Import Qt5 from qt overlay. diff --git a/dev-qt/qtwidgets/metadata.xml b/dev-qt/qtwidgets/metadata.xml new file mode 100644 index 000000000000..10bfda005176 --- /dev/null +++ b/dev-qt/qtwidgets/metadata.xml @@ -0,0 +1,12 @@ + + + + qt + + Use OpenGL ES 2.0 instead of desktop OpenGL + + + https://bugreports.qt-project.org/ + http://qt-project.org/doc/ + + diff --git a/dev-qt/qtwidgets/qtwidgets-5.3.1-r3.ebuild b/dev-qt/qtwidgets/qtwidgets-5.3.1-r3.ebuild new file mode 100644 index 000000000000..b0f3680c3647 --- /dev/null +++ b/dev-qt/qtwidgets/qtwidgets-5.3.1-r3.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-qt/qtwidgets/qtwidgets-5.3.1-r3.ebuild,v 1.1 2014/09/11 01:47:22 pesa Exp $ + +EAPI=5 + +QT5_MODULE="qtbase" + +inherit qt5-build + +DESCRIPTION="Set of UI elements for creating classic desktop-style user interfaces for the Qt5 framework" + +if [[ ${QT5_BUILD_TYPE} == live ]]; then + KEYWORDS="" +else + KEYWORDS="~amd64 ~x86" +fi + +# keep IUSE defaults in sync with qtgui +IUSE="gles2 +opengl +png +xcb" +REQUIRED_USE=" + gles2? ( opengl ) +" + +DEPEND=" + ~dev-qt/qtcore-${PV}[debug=] + ~dev-qt/qtgui-${PV}[debug=,gles2=,opengl=,png=,xcb?] +" +RDEPEND="${DEPEND}" + +PATCHES=( + # http://blog.martin-graesslin.com/blog/2014/06/where-are-my-systray-icons/ + "${FILESDIR}/${PN}-5.3.1-prefer-qpa.patch" +) + +QT5_TARGET_SUBDIRS=( + src/tools/uic + src/widgets + src/plugins/accessible +) + +QT5_GENTOO_CONFIG=( + !:no-widgets: +) + +src_configure() { + local gl="-no-opengl" + if use gles2; then + gl="-opengl es2" + elif use opengl; then + gl="-opengl desktop" + fi + + local myconf=( + # copied from qtgui + ${gl} + $(qt_use png libpng system) + $(qt_use xcb xcb system) + $(qt_use xcb xkbcommon system) + $(use xcb && echo -xcb-xlib -xinput2 -xkb -xrender) + ) + qt5-build_src_configure +} -- cgit v1.2.3-65-gdbad