commit:     317b0e752e3054b3c0ecd7cfa0e4045f97ee2654
Author:     Ilya Tumaykin <itumaykin <AT> gmail <DOT> com>
AuthorDate: Thu Oct  4 18:12:58 2018 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Oct 12 20:10:37 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=317b0e75

x11-misc/qt5ct: verbump to 0.36

Signed-off-by: Ilya Tumaykin <itumaykin <AT> gmail.com>
Package-Manager: Portage-2.3.50, Repoman-2.3.11
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
Closes: https://github.com/gentoo/gentoo/pull/10065

 x11-misc/qt5ct/Manifest          |  1 +
 x11-misc/qt5ct/qt5ct-0.36.ebuild | 51 ++++++++++++++++++++++++++++++++++++++++
 2 files changed, 52 insertions(+)

diff --git a/x11-misc/qt5ct/Manifest b/x11-misc/qt5ct/Manifest
index cea98635911..d67dc46ce5f 100644
--- a/x11-misc/qt5ct/Manifest
+++ b/x11-misc/qt5ct/Manifest
@@ -1 +1,2 @@
 DIST qt5ct-0.35.tar.bz2 62547 BLAKE2B 
dd61f151e1c6c58095889b90cb30bb2baaf21fd8f181af37ee43c1d00404655d57c941cee905e737aff29122ae3f588d5c7ba46dc80ca76d749cc2dd66f35d57
 SHA512 
2bd24221d391c420e73488738ff10762d27eb21fb28dc69da27dcbfface0cd0f16049768b55867a059c93da07eddb76da1bc63aefd516e07e5049c847da3970a
+DIST qt5ct-0.36.tar.bz2 68181 BLAKE2B 
b2bf21a1e3f4c6045af5f2e633c2a839bdb49165eb7f3a7d84021faa1c178e4ab84556460c2aa5e2b530fa32fdf29e0f7d3b37c9c839b7bbc7cfc8b77dffbb70
 SHA512 
dfd6f85328fe8f14c8f2349bc0cac698e549350e2c000a73ac26474ca38ec5f44fd4ebed9b6976fc3423dda8322fd80355eafa6ecbec17495d1e2278c3189a88

diff --git a/x11-misc/qt5ct/qt5ct-0.36.ebuild b/x11-misc/qt5ct/qt5ct-0.36.ebuild
new file mode 100644
index 00000000000..ddf6c018a69
--- /dev/null
+++ b/x11-misc/qt5ct/qt5ct-0.36.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2018 Gentoo Authors
+# 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="+dbus"
+
+RDEPEND="
+       dev-qt/qtcore:5
+       dev-qt/qtgui:5=
+       dev-qt/qtwidgets:5
+       dbus? (
+               dev-qt/qtdbus:5
+               dev-qt/qtgui:5[dbus]
+       )
+"
+DEPEND="${RDEPEND}
+       dev-qt/linguist-tools:5
+"
+
+src_configure() {
+       eqmake5 DISABLE_DBUS=$(usex !dbus 1 0)
+}
+
+src_install() {
+       emake INSTALL_ROOT="${D}" install
+       einstalldocs
+
+       newenvd - 98${PN} <<< 'QT_QPA_PLATFORMTHEME=qt5ct'
+}
+
+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
+}

Reply via email to