diff options
author | Ilya Tumaykin <itumaykin@gmail.com> | 2017-01-25 09:23:29 +0300 |
---|---|---|
committer | Michael Palimaka <kensington@gentoo.org> | 2017-01-25 22:27:43 +1100 |
commit | 49a2342fe8da280b761bcc543335cc51912a8fb0 (patch) | |
tree | d505bf0aca72f7a3b25c1ab682b0e6aa4d122bc4 /x11-misc/qt5ct | |
parent | dev-ml/postgresql-ocaml: remove old (diff) | |
download | gentoo-49a2342fe8da280b761bcc543335cc51912a8fb0.tar.gz gentoo-49a2342fe8da280b761bcc543335cc51912a8fb0.tar.bz2 gentoo-49a2342fe8da280b761bcc543335cc51912a8fb0.zip |
x11-misc/qt5ct: verbump to 0.29
Now with 100% more Qt-5.8 support.
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'x11-misc/qt5ct')
-rw-r--r-- | x11-misc/qt5ct/Manifest | 1 | ||||
-rw-r--r-- | x11-misc/qt5ct/qt5ct-0.29.ebuild | 50 |
2 files changed, 51 insertions, 0 deletions
diff --git a/x11-misc/qt5ct/Manifest b/x11-misc/qt5ct/Manifest index 8e0763ff3bd2..c2e6086fe042 100644 --- a/x11-misc/qt5ct/Manifest +++ b/x11-misc/qt5ct/Manifest @@ -1 +1,2 @@ DIST qt5ct-0.27.tar.bz2 45989 SHA256 d3b92b9d34469cae4f66a43ca59f5f0b548ef6d37984469361329af4348ab1f3 SHA512 7214fbd45c1478255298c60efa2d39a30fac391dde54d2a908042c44c784f6bfc412c97755c8de83d54f6d076441b14a06a8c3bf485b7ad75f4977ec21c21a7e WHIRLPOOL 18e543d8f286933ad7e98ba9c0f0cd28b6d4514599590b94bf955acaf6568fc09a4649fb54e63cf19f6dc6c64e89f77302c849b288216bb3832a144d355db605 +DIST qt5ct-0.29.tar.bz2 49482 SHA256 a016142a04a5edfbdda627fc203622f512fae9e84bcf89ce63a7107f01721adc SHA512 b0417a5c7d736957194d96a44156f2eab2d9eedf7a8fa6a0aeb65ad3d50f0466b31329ef5ae414d036a34a4d675278e737cef3ecefdec61e106e1ff7503dd434 WHIRLPOOL 456414d9d2516b7de2098dda3479d6c0fd686d7f83e7af9261c18b51e82f61b66f77d496d82e25654cbe066221707552e2053d7618676ba7b11e54c22bf16ff1 diff --git a/x11-misc/qt5ct/qt5ct-0.29.ebuild b/x11-misc/qt5ct/qt5ct-0.29.ebuild new file mode 100644 index 000000000000..c449014e4639 --- /dev/null +++ b/x11-misc/qt5ct/qt5ct-0.29.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2017 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="+systray" + +RDEPEND=" + dev-qt/qtcore:5 + dev-qt/qtgui:5= + dev-qt/qtwidgets:5 + systray? ( dev-qt/qtgui:5[dbus] ) +" +DEPEND="${RDEPEND} + dev-qt/linguist-tools:5 +" + +src_configure() { + eqmake5 DEFINES="$(usex systray '' QT_NO_SYSTEMTRAYICON)" ${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 + elog + elog "For SVG icon themes, please install 'dev-qt/qtsvg:5'." + elog + fi +} |