diff options
author | Michael Palimaka <kensington@gentoo.org> | 2014-12-12 14:30:05 +0000 |
---|---|---|
committer | Michael Palimaka <kensington@gentoo.org> | 2014-12-12 14:30:05 +0000 |
commit | 3a699f48ee514c68f307e566e688a38ffb5800e5 (patch) | |
tree | 2fada309e481b43a0c04b1edaf142d4ae9154ae6 /dev-qt/qtwidgets | |
parent | Downgrade overzealous ffmpeg version dependency (diff) | |
download | gentoo-2-3a699f48ee514c68f307e566e688a38ffb5800e5.tar.gz gentoo-2-3a699f48ee514c68f307e566e688a38ffb5800e5.tar.bz2 gentoo-2-3a699f48ee514c68f307e566e688a38ffb5800e5.zip |
Version bump.
(Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key 0x06B1F38DCA45A1EC!)
Diffstat (limited to 'dev-qt/qtwidgets')
-rw-r--r-- | dev-qt/qtwidgets/ChangeLog | 7 | ||||
-rw-r--r-- | dev-qt/qtwidgets/qtwidgets-5.4.0.ebuild | 57 |
2 files changed, 63 insertions, 1 deletions
diff --git a/dev-qt/qtwidgets/ChangeLog b/dev-qt/qtwidgets/ChangeLog index 213112279285..ce742a918f1e 100644 --- a/dev-qt/qtwidgets/ChangeLog +++ b/dev-qt/qtwidgets/ChangeLog @@ -1,6 +1,11 @@ # 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.5 2014/09/16 14:47:50 pesa Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-qt/qtwidgets/ChangeLog,v 1.6 2014/12/12 14:30:05 kensington Exp $ + +*qtwidgets-5.4.0 (12 Dec 2014) + + 12 Dec 2014; Michael Palimaka <kensington@gentoo.org> +qtwidgets-5.4.0.ebuild: + Version bump. *qtwidgets-5.3.2 (16 Sep 2014) diff --git a/dev-qt/qtwidgets/qtwidgets-5.4.0.ebuild b/dev-qt/qtwidgets/qtwidgets-5.4.0.ebuild new file mode 100644 index 000000000000..eb68cfcac748 --- /dev/null +++ b/dev-qt/qtwidgets/qtwidgets-5.4.0.ebuild @@ -0,0 +1,57 @@ +# 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.4.0.ebuild,v 1.1 2014/12/12 14:30:05 kensington 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}" + +QT5_TARGET_SUBDIRS=( + src/tools/uic + src/widgets +) + +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 +} |