1 |
commit: 57b73db3f2ec317c3d287f89b765ca4a8aec166b |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Apr 21 06:26:35 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Apr 21 06:26:35 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=57b73db3 |
7 |
|
8 |
x11-misc/qt5ct: Bump to 1.2 |
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.2.ebuild | 48 +++++++++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 49 insertions(+) |
15 |
|
16 |
diff --git a/x11-misc/qt5ct/Manifest b/x11-misc/qt5ct/Manifest |
17 |
index 89609c72dde..e8352ff5257 100644 |
18 |
--- a/x11-misc/qt5ct/Manifest |
19 |
+++ b/x11-misc/qt5ct/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST qt5ct-1.1.tar.bz2 79890 BLAKE2B e816d76ea35b2133891ccf63be47a227d95dc9783b6f2ac18ee7a7c67bae545fbdc7109103e63c18f093458942ae0b9bab3d1847c40abea9761ab0c314de6357 SHA512 0df00c0680aefb0eada1ddb70886fd63641c403ab42843f8d209413a56895dce0a88eb88a98d09d23a30df3b15ca1d595237592958769a1be86719f2a16cbdf7 |
22 |
+DIST qt5ct-1.2.tar.bz2 76052 BLAKE2B bff9dcd6176f856f262f908101f51be5bc5fa56cbf221fb6e1b66cf49867d721f4c1d5707bcd71cb20b1d27d53f5352bcaaa32ed7298f9fe349ac8a90b4a4e23 SHA512 044582440fc3ed8424970a30d7e1562396f9a1651f2c50adbdcb6ec73b35fb8dd23de419df29b92d21a45fea9af4e562b1294f5bfc329419f831775954f8ed6f |
23 |
|
24 |
diff --git a/x11-misc/qt5ct/qt5ct-1.2.ebuild b/x11-misc/qt5ct/qt5ct-1.2.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..cadb81998d1 |
27 |
--- /dev/null |
28 |
+++ b/x11-misc/qt5ct/qt5ct-1.2.ebuild |
29 |
@@ -0,0 +1,48 @@ |
30 |
+# Copyright 1999-2021 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=7 |
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 ~x86" |
44 |
+IUSE="+dbus" |
45 |
+ |
46 |
+RDEPEND=" |
47 |
+ dev-qt/qtconcurrent:5 |
48 |
+ dev-qt/qtcore:5 |
49 |
+ dev-qt/qtgui:5= |
50 |
+ dev-qt/qtwidgets:5 |
51 |
+ dbus? ( |
52 |
+ dev-qt/qtdbus:5 |
53 |
+ dev-qt/qtgui:5[dbus] |
54 |
+ ) |
55 |
+" |
56 |
+DEPEND="${RDEPEND} |
57 |
+ dev-qt/linguist-tools:5 |
58 |
+ dev-qt/qtpaths:5 |
59 |
+" |
60 |
+ |
61 |
+src_install() { |
62 |
+ cmake_src_install |
63 |
+ |
64 |
+ newenvd - 98qt5ct <<< 'QT_QPA_PLATFORMTHEME=qt5ct' |
65 |
+} |
66 |
+ |
67 |
+pkg_postinst() { |
68 |
+ if [[ -z ${REPLACING_VERSIONS} ]]; then |
69 |
+ ewarn "qt5ct configuration won't be applied to the currently running sessions." |
70 |
+ ewarn "Please relogin." |
71 |
+ fi |
72 |
+ if ! has_version 'dev-qt/qtsvg:5'; then |
73 |
+ elog |
74 |
+ elog "For SVG icon themes, please install 'dev-qt/qtsvg:5'." |
75 |
+ elog |
76 |
+ fi |
77 |
+} |