1 |
commit: 4e3a6a3193c4cfb6a0403752cf43a558406c2b92 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Oct 2 06:43:01 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Oct 2 07:50:38 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4e3a6a31 |
7 |
|
8 |
x11-misc/qt5ct: Bump to 1.5 |
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.5.ebuild | 49 +++++++++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 50 insertions(+) |
15 |
|
16 |
diff --git a/x11-misc/qt5ct/Manifest b/x11-misc/qt5ct/Manifest |
17 |
index 7f4077da5a1..83d450ff6a1 100644 |
18 |
--- a/x11-misc/qt5ct/Manifest |
19 |
+++ b/x11-misc/qt5ct/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST qt5ct-1.3.tar.bz2 80506 BLAKE2B eda2d69fcddf80553358d3c9e9bd0ef33355919c5b62912d8e79a84a36ee5a25d1dab553b6413d78e16ce69435861a01b298ae97202a77f1f50ed805f14445dd SHA512 9f4397d5cfc3dec14330759f213ae99b02ae36d3ea48dfdb3015c3b7d3fe12cde619af855d7320566ca32120e8689e4b39f78e4fdf9886e2472aef570beb75bd |
22 |
+DIST qt5ct-1.5.tar.bz2 81089 BLAKE2B 8bf02a6c53c68f30e0647ff7c40c9d80044cbf914ee13f9e7f13ad6424e5cf73b9460af70ea484d498bfb693e8f8b018f7e32cac6205ffa2dba05930c6d0610c SHA512 fc16c7849a89aa8ee9480162888294638bc01f83b89d86c978397e58f6da4360cf07b9f558635b8a5b13bd10d18f3ad49663fe8a76183da9ae55aac23230b1e5 |
23 |
|
24 |
diff --git a/x11-misc/qt5ct/qt5ct-1.5.ebuild b/x11-misc/qt5ct/qt5ct-1.5.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..bcb0e53195b |
27 |
--- /dev/null |
28 |
+++ b/x11-misc/qt5ct/qt5ct-1.5.ebuild |
29 |
@@ -0,0 +1,49 @@ |
30 |
+# Copyright 1999-2021 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 |
+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 |
+BDEPEND=" |
58 |
+ dev-qt/linguist-tools:5 |
59 |
+ dev-qt/qtpaths:5 |
60 |
+" |
61 |
+ |
62 |
+src_install() { |
63 |
+ cmake_src_install |
64 |
+ |
65 |
+ newenvd - 98qt5ct <<< 'QT_QPA_PLATFORMTHEME=qt5ct' |
66 |
+} |
67 |
+ |
68 |
+pkg_postinst() { |
69 |
+ if [[ -z ${REPLACING_VERSIONS} ]]; then |
70 |
+ ewarn "qt5ct configuration won't be applied to the currently running sessions." |
71 |
+ ewarn "Please relogin." |
72 |
+ fi |
73 |
+ if ! has_version 'dev-qt/qtsvg:5'; then |
74 |
+ elog |
75 |
+ elog "For SVG icon themes, please install 'dev-qt/qtsvg:5'." |
76 |
+ elog |
77 |
+ fi |
78 |
+} |