summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIlya Tumaykin <itumaykin@gmail.com>2017-03-30 06:14:25 +0300
committerMichael Palimaka <kensington@gentoo.org>2017-03-30 18:41:39 +1100
commit0db0293a3cacfad594da057e90d990efb64fc638 (patch)
tree35d6666869726cdbf32595af8c6d3746d4540dc5 /x11-misc/qt5ct
parentx11-drivers/nvidia-drivers: Stable for AMD64 x86 too. (diff)
downloadgentoo-0db0293a3cacfad594da057e90d990efb64fc638.tar.gz
gentoo-0db0293a3cacfad594da057e90d990efb64fc638.tar.bz2
gentoo-0db0293a3cacfad594da057e90d990efb64fc638.zip
x11-misc/qt5ct: verbump to 0.31
Package-Manager: Portage-2.3.5, Repoman-2.3.2
Diffstat (limited to 'x11-misc/qt5ct')
-rw-r--r--x11-misc/qt5ct/Manifest1
-rw-r--r--x11-misc/qt5ct/qt5ct-0.31.ebuild49
2 files changed, 50 insertions, 0 deletions
diff --git a/x11-misc/qt5ct/Manifest b/x11-misc/qt5ct/Manifest
index 8a0c3f1184bd..103a0ea12d39 100644
--- a/x11-misc/qt5ct/Manifest
+++ b/x11-misc/qt5ct/Manifest
@@ -1 +1,2 @@
DIST qt5ct-0.30.tar.bz2 49665 SHA256 e6d94d756ea928f330376a30660a75b3213bad234b360519416e634048e31ecc SHA512 3ea7ce731fcef2c665c9b92c5afe505bad9a119957c268a9705bb1c9ea8534547281133d51932d68933de93c78c7fd3be5a5511cf748644047acb8f716605a18 WHIRLPOOL 1af094cdd839cb46c44f051eb37b9403dad6fb60d757fddd69c98e3d9f8def65b9f7a9899ad278a6bcef6a7bdd1009ea16c24dfca28f639f7c2befea981236c9
+DIST qt5ct-0.31.tar.bz2 55724 SHA256 d5357768832a81e39aa9cd0a45d8144de9bd59302d8d122d8c2d1a231be2aba9 SHA512 9162106febf93b94b8ba847157d20386568bc898d15c6123636ef9d9c50bce3ca4706fbfbfd82053dccf545f91ca40d387d1e9a5bbb6773810a1d931417eaa4e WHIRLPOOL e63d91ea06956859abebef8990c3b697fddbda9656dcb092231fece95ed9f5ce8fe1597ca6b28468e63b76adcd311637b3591e7650ad0a1adb8a0f1958eafef4
diff --git a/x11-misc/qt5ct/qt5ct-0.31.ebuild b/x11-misc/qt5ct/qt5ct-0.31.ebuild
new file mode 100644
index 000000000000..c37e2dffc558
--- /dev/null
+++ b/x11-misc/qt5ct/qt5ct-0.31.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+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
+}