commit: 855aa405d4065c026d8a080c04bd4beb806a2d58 Author: Ilya Tumaykin <itumaykin <AT> gmail <DOT> com> AuthorDate: Tue Sep 6 12:35:26 2016 +0000 Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org> CommitDate: Sat Sep 10 18:10:45 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=855aa405
x11-misc/qt5ct: verbump to 0.26 Closes: https://github.com/gentoo/gentoo/pull/2256 Package-Manager: portage-2.3.0 x11-misc/qt5ct/Manifest | 1 + x11-misc/qt5ct/qt5ct-0.26.ebuild | 49 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 50 insertions(+) diff --git a/x11-misc/qt5ct/Manifest b/x11-misc/qt5ct/Manifest index 9de5f23..a5af4ae 100644 --- a/x11-misc/qt5ct/Manifest +++ b/x11-misc/qt5ct/Manifest @@ -1 +1,2 @@ DIST qt5ct-0.25.tar.bz2 45094 SHA256 b2669f4317c511895f33d5d11d14a5d9535340c6fb20effe4dd37ab6c152e057 SHA512 7fb50166c83cc15f5ad1bbdc3e6c24e53d33fb34dc2b4c0aadf4bba841f390c5d76f118e4a8cc0674728a92bb5934542ab4c03a51f865a13f378f60064b34fc7 WHIRLPOOL 40c58cb0cc30c34885f544c415e1faffeb10582f18cc9dbe36b6cae417170bf556aafa68b06773854e25b657f4ba404224f8ca16f452829c9afc94f7e0dfe955 +DIST qt5ct-0.26.tar.bz2 45383 SHA256 33883e6a12c5f9392701cc3ecc3a54181e53ce827755e8e2af8530bbc6606c5b SHA512 08d6a96acdba05450221792618808db6b7ae4e578bdc30f91b1e74615592d44b5d1e95ac1c47bcd82d28b08624a0ad0b8748d235c76cc1a7737fce736d371c10 WHIRLPOOL 3d49c8caa86f2ddc5b515add11ac2bcc9e87e7f2d397bf4d270032dc7c1096ba42ad552e9f6a85b44b51fb4f46635d595b1488ad6bfc020743422fcc0c16bc9f diff --git a/x11-misc/qt5ct/qt5ct-0.26.ebuild b/x11-misc/qt5ct/qt5ct-0.26.ebuild new file mode 100644 index 00000000..45ce929 --- /dev/null +++ b/x11-misc/qt5ct/qt5ct-0.26.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +inherit qmake-utils + +DESCRIPTION="Qt5 configuration tool, similar to qtconfig for Qt4" +HOMEPAGE="https://sourceforge.net/projects/qt5ct/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +RDEPEND=" + dev-qt/qtcore:5 + dev-qt/qtgui:5= + dev-qt/qtwidgets:5 +" +DEPEND="${RDEPEND} + dev-qt/linguist-tools:5 +" + +src_configure() { + eqmake5 ${PN}.pro +} + +src_install() { + emake INSTALL_ROOT="${D}" install + einstalldocs + + echo 'QT_QPA_PLATFORMTHEME=qt5ct' > "${T}"/98${PN} || die + doenvd "${T}"/98${PN} +} + +pkg_postinst() { + if [[ -z ${REPLACING_VERSIONS} ]]; then + ewarn "qt5ct configuration won't be applied to the currently running sessions." + ewarn "Please relogin." + fi + if ! has_version 'dev-qt/qtsvg:5'; then + echo + elog "For SVG icon themes, please install 'dev-qt/qtsvg:5'." + echo + fi +}