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