summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'x11-misc')
-rw-r--r--x11-misc/qt5ct/Manifest1
-rw-r--r--x11-misc/qt5ct/qt5ct-0.27.ebuild49
2 files changed, 50 insertions, 0 deletions
diff --git a/x11-misc/qt5ct/Manifest b/x11-misc/qt5ct/Manifest
index a5af4ae4fbbf..143ac05b782c 100644
--- a/x11-misc/qt5ct/Manifest
+++ b/x11-misc/qt5ct/Manifest
@@ -1,2 +1,3 @@
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
+DIST qt5ct-0.27.tar.bz2 45989 SHA256 d3b92b9d34469cae4f66a43ca59f5f0b548ef6d37984469361329af4348ab1f3 SHA512 7214fbd45c1478255298c60efa2d39a30fac391dde54d2a908042c44c784f6bfc412c97755c8de83d54f6d076441b14a06a8c3bf485b7ad75f4977ec21c21a7e WHIRLPOOL 18e543d8f286933ad7e98ba9c0f0cd28b6d4514599590b94bf955acaf6568fc09a4649fb54e63cf19f6dc6c64e89f77302c849b288216bb3832a144d355db605
diff --git a/x11-misc/qt5ct/qt5ct-0.27.ebuild b/x11-misc/qt5ct/qt5ct-0.27.ebuild
new file mode 100644
index 000000000000..92a40e0b818d
--- /dev/null
+++ b/x11-misc/qt5ct/qt5ct-0.27.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=[dbus]
+ 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
+}