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: Mon, 27 Feb 2023 05:38:25
Message-Id: 1677476292.9ed1365dfc4541440dd09d8890218d315b90d4ba.mgorny@gentoo
1 commit: 9ed1365dfc4541440dd09d8890218d315b90d4ba
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Mon Feb 27 04:59:08 2023 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Mon Feb 27 05:38:12 2023 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9ed1365d
7
8 x11-misc/qt5ct: Bump to 1.6
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 x11-misc/qt5ct/Manifest | 1 +
13 x11-misc/qt5ct/qt5ct-1.6.ebuild | 45 +++++++++++++++++++++++++++++++++++++++++
14 2 files changed, 46 insertions(+)
15
16 diff --git a/x11-misc/qt5ct/Manifest b/x11-misc/qt5ct/Manifest
17 index 40866f5b141a..2191f1fcae05 100644
18 --- a/x11-misc/qt5ct/Manifest
19 +++ b/x11-misc/qt5ct/Manifest
20 @@ -1 +1,2 @@
21 DIST qt5ct-1.5.tar.bz2 81089 BLAKE2B 8bf02a6c53c68f30e0647ff7c40c9d80044cbf914ee13f9e7f13ad6424e5cf73b9460af70ea484d498bfb693e8f8b018f7e32cac6205ffa2dba05930c6d0610c SHA512 fc16c7849a89aa8ee9480162888294638bc01f83b89d86c978397e58f6da4360cf07b9f558635b8a5b13bd10d18f3ad49663fe8a76183da9ae55aac23230b1e5
22 +DIST qt5ct-1.6.tar.bz2 85354 BLAKE2B 74c8976005cfedb65da25d7229014ab22b97bfc7ad5a0cb1a2263bf272cc4b4c9f9f3542913c16f45af84e27e9e093c86ce7f6bbafc646caeb8b7259dcc3ae3d SHA512 10172c664eaf573aa998a64c654c99a27400a47d52fc4b3691f2d1108d5a4df20d2d5c9a9235c52708759ed2be267d1bec9a792bfedb6e472f3cfe9ee1eced0c
23
24 diff --git a/x11-misc/qt5ct/qt5ct-1.6.ebuild b/x11-misc/qt5ct/qt5ct-1.6.ebuild
25 new file mode 100644
26 index 000000000000..dac5f4a047cf
27 --- /dev/null
28 +++ b/x11-misc/qt5ct/qt5ct-1.6.ebuild
29 @@ -0,0 +1,45 @@
30 +# Copyright 1999-2023 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=8
34 +
35 +inherit cmake
36 +
37 +DESCRIPTION="Qt5 configuration tool, similar to qtconfig for Qt4"
38 +HOMEPAGE="https://sourceforge.net/projects/qt5ct/"
39 +SRC_URI="https://download.sourceforge.net/qt5ct/${P}.tar.bz2"
40 +
41 +LICENSE="BSD-2"
42 +SLOT="0"
43 +KEYWORDS="~amd64 ~arm ~ppc64 ~x86"
44 +
45 +RDEPEND="
46 + dev-qt/qtconcurrent:5
47 + dev-qt/qtcore:5
48 + dev-qt/qtdbus:5
49 + dev-qt/qtgui:5=[dbus]
50 + dev-qt/qtwidgets:5
51 +"
52 +DEPEND="${RDEPEND}"
53 +BDEPEND="
54 + dev-qt/linguist-tools:5
55 + dev-qt/qtpaths:5
56 +"
57 +
58 +src_install() {
59 + cmake_src_install
60 +
61 + newenvd - 98qt5ct <<< 'QT_QPA_PLATFORMTHEME=qt5ct'
62 +}
63 +
64 +pkg_postinst() {
65 + if [[ -z ${REPLACING_VERSIONS} ]]; then
66 + ewarn "qt5ct configuration won't be applied to the currently running sessions."
67 + ewarn "Please relogin."
68 + fi
69 + if ! has_version 'dev-qt/qtsvg:5'; then
70 + elog
71 + elog "For SVG icon themes, please install 'dev-qt/qtsvg:5'."
72 + elog
73 + fi
74 +}