Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-misc/qt5ct/
Date: Sun, 22 Sep 2019 18:37:36
Message-Id: 1569177442.086e63d710fe12d0e3779666df0249475e605671.mgorny@gentoo
1 commit: 086e63d710fe12d0e3779666df0249475e605671
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sun Sep 22 18:31:31 2019 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sun Sep 22 18:37:22 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=086e63d7
7
8 x11-misc/qt5ct: Bump to 0.41
9
10 Closes: https://bugs.gentoo.org/688386
11 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
12
13 x11-misc/qt5ct/Manifest | 1 +
14 x11-misc/qt5ct/qt5ct-0.41.ebuild | 51 ++++++++++++++++++++++++++++++++++++++++
15 2 files changed, 52 insertions(+)
16
17 diff --git a/x11-misc/qt5ct/Manifest b/x11-misc/qt5ct/Manifest
18 index d67dc46ce5f..c3738b43d33 100644
19 --- a/x11-misc/qt5ct/Manifest
20 +++ b/x11-misc/qt5ct/Manifest
21 @@ -1,2 +1,3 @@
22 DIST qt5ct-0.35.tar.bz2 62547 BLAKE2B dd61f151e1c6c58095889b90cb30bb2baaf21fd8f181af37ee43c1d00404655d57c941cee905e737aff29122ae3f588d5c7ba46dc80ca76d749cc2dd66f35d57 SHA512 2bd24221d391c420e73488738ff10762d27eb21fb28dc69da27dcbfface0cd0f16049768b55867a059c93da07eddb76da1bc63aefd516e07e5049c847da3970a
23 DIST qt5ct-0.36.tar.bz2 68181 BLAKE2B b2bf21a1e3f4c6045af5f2e633c2a839bdb49165eb7f3a7d84021faa1c178e4ab84556460c2aa5e2b530fa32fdf29e0f7d3b37c9c839b7bbc7cfc8b77dffbb70 SHA512 dfd6f85328fe8f14c8f2349bc0cac698e549350e2c000a73ac26474ca38ec5f44fd4ebed9b6976fc3423dda8322fd80355eafa6ecbec17495d1e2278c3189a88
24 +DIST qt5ct-0.41.tar.bz2 73009 BLAKE2B de6360feb16a82b262c13e6a3cbe226b7be7c3e95b1f1262b3802de59fc3bb8820c935b170a15a88e80164e6167f6259777c65fda6a3f8fbf1d115a63ddcc1f2 SHA512 a94f9996dc2198d3c8c9af8610912d12b915b8c547a49c36f7bc083b6f237b318d7903e91fb6fcfe06996a319c361104c1923e6d0c49446b6fb66a1e44fae009
25
26 diff --git a/x11-misc/qt5ct/qt5ct-0.41.ebuild b/x11-misc/qt5ct/qt5ct-0.41.ebuild
27 new file mode 100644
28 index 00000000000..251e64ec19d
29 --- /dev/null
30 +++ b/x11-misc/qt5ct/qt5ct-0.41.ebuild
31 @@ -0,0 +1,51 @@
32 +# Copyright 1999-2019 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=7
36 +
37 +inherit qmake-utils
38 +
39 +DESCRIPTION="Qt5 configuration tool, similar to qtconfig for Qt4"
40 +HOMEPAGE="https://sourceforge.net/projects/qt5ct/"
41 +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
42 +
43 +LICENSE="BSD-2"
44 +SLOT="0"
45 +KEYWORDS="~amd64 ~x86"
46 +IUSE="+dbus"
47 +
48 +RDEPEND="
49 + dev-qt/qtcore:5
50 + dev-qt/qtgui:5=
51 + dev-qt/qtwidgets:5
52 + dbus? (
53 + dev-qt/qtdbus:5
54 + dev-qt/qtgui:5[dbus]
55 + )
56 +"
57 +DEPEND="${RDEPEND}
58 + dev-qt/linguist-tools:5
59 +"
60 +
61 +src_configure() {
62 + eqmake5 DISABLE_DBUS=$(usex dbus 0 1)
63 +}
64 +
65 +src_install() {
66 + emake INSTALL_ROOT="${D}" install
67 + einstalldocs
68 +
69 + newenvd - 98qt5ct <<< 'QT_QPA_PLATFORMTHEME=qt5ct'
70 +}
71 +
72 +pkg_postinst() {
73 + if [[ -z ${REPLACING_VERSIONS} ]]; then
74 + ewarn "qt5ct configuration won't be applied to the currently running sessions."
75 + ewarn "Please relogin."
76 + fi
77 + if ! has_version 'dev-qt/qtsvg:5'; then
78 + elog
79 + elog "For SVG icon themes, please install 'dev-qt/qtsvg:5'."
80 + elog
81 + fi
82 +}