Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: kde-frameworks/plasma/files/, kde-frameworks/plasma/
Date: Tue, 29 Sep 2020 12:49:36
Message-Id: 1601383568.fb205328f7ecd5b4dea6b635eba82a07f1736399.asturm@gentoo
1 commit: fb205328f7ecd5b4dea6b635eba82a07f1736399
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Mon Sep 28 22:26:16 2020 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Tue Sep 29 12:46:08 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fb205328
7
8 kde-frameworks/plasma: Fix PC3/ToolButton icons color set
9
10 Upstream commit 3167717797d07a8645391e093fa91526c4645f4
11
12 KDE-Bug: https://bugs.kde.org/show_bug.cgi?id=426556
13 Package-Manager: Portage-3.0.8, Repoman-3.0.1
14 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
15
16 ...sma-5.74.0-fix-pc3-button-icons-color-set.patch | 28 ++++++++
17 kde-frameworks/plasma/plasma-5.74.0-r1.ebuild | 76 ++++++++++++++++++++++
18 2 files changed, 104 insertions(+)
19
20 diff --git a/kde-frameworks/plasma/files/plasma-5.74.0-fix-pc3-button-icons-color-set.patch b/kde-frameworks/plasma/files/plasma-5.74.0-fix-pc3-button-icons-color-set.patch
21 new file mode 100644
22 index 00000000000..8f938b00b89
23 --- /dev/null
24 +++ b/kde-frameworks/plasma/files/plasma-5.74.0-fix-pc3-button-icons-color-set.patch
25 @@ -0,0 +1,28 @@
26 +From 3167717797d07a8645391e093fa91526c4645f4f Mon Sep 17 00:00:00 2001
27 +From: Noah Davis <noahadvs@×××××.com>
28 +Date: Wed, 23 Sep 2020 20:23:08 -0400
29 +Subject: [PATCH] Fix PC3 Button/ToolButton icons not always having the right
30 + color set
31 +
32 +BUG: 426556
33 +FIXED-IN: 5.75
34 +---
35 + .../plasmacomponents3/private/ButtonContent.qml | 2 +-
36 + 1 file changed, 1 insertion(+), 1 deletion(-)
37 +
38 +diff --git a/src/declarativeimports/plasmacomponents3/private/ButtonContent.qml b/src/declarativeimports/plasmacomponents3/private/ButtonContent.qml
39 +index 6dc2ce085..91428bdb3 100644
40 +--- a/src/declarativeimports/plasmacomponents3/private/ButtonContent.qml
41 ++++ b/src/declarativeimports/plasmacomponents3/private/ButtonContent.qml
42 +@@ -42,7 +42,7 @@ GridLayout {
43 +
44 + implicitWidth: root.parent.icon.width > 0 ? root.parent.icon.width : defaultIconSize
45 + implicitHeight: root.parent.icon.height > 0 ? root.parent.icon.height : defaultIconSize
46 +-
47 ++ colorGroup: parent.PlasmaCore.ColorScope.colorGroup
48 + visible: source.length > 0 && root.parent.display !== T.Button.TextOnly
49 + source: root.parent.icon ? (root.parent.icon.name || root.parent.icon.source) : ""
50 + status: usingFocusBackground ? PlasmaCore.Svg.Selected : PlasmaCore.Svg.Normal
51 +--
52 +GitLab
53 +
54
55 diff --git a/kde-frameworks/plasma/plasma-5.74.0-r1.ebuild b/kde-frameworks/plasma/plasma-5.74.0-r1.ebuild
56 new file mode 100644
57 index 00000000000..445cbc96d85
58 --- /dev/null
59 +++ b/kde-frameworks/plasma/plasma-5.74.0-r1.ebuild
60 @@ -0,0 +1,76 @@
61 +# Copyright 1999-2020 Gentoo Authors
62 +# Distributed under the terms of the GNU General Public License v2
63 +
64 +EAPI=7
65 +
66 +KDE_ORG_NAME="${PN}-framework"
67 +PVCUT=$(ver_cut 1-2)
68 +QTMIN=5.14.2
69 +VIRTUALX_REQUIRED="test"
70 +inherit ecm kde.org
71 +
72 +DESCRIPTION="Plasma framework"
73 +
74 +LICENSE="LGPL-2+"
75 +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
76 +IUSE="gles2-only wayland X"
77 +
78 +BDEPEND="
79 + >=kde-frameworks/kdoctools-${PVCUT}:5
80 +"
81 +RDEPEND="
82 + >=dev-qt/qtdbus-${QTMIN}:5
83 + >=dev-qt/qtdeclarative-${QTMIN}:5
84 + >=dev-qt/qtgui-${QTMIN}:5[gles2-only=]
85 + >=dev-qt/qtquickcontrols-${QTMIN}:5
86 + >=dev-qt/qtsql-${QTMIN}:5
87 + >=dev-qt/qtsvg-${QTMIN}:5
88 + >=dev-qt/qtwidgets-${QTMIN}:5
89 + =kde-frameworks/kactivities-${PVCUT}*:5
90 + =kde-frameworks/karchive-${PVCUT}*:5
91 + =kde-frameworks/kconfig-${PVCUT}*:5
92 + =kde-frameworks/kconfigwidgets-${PVCUT}*:5
93 + =kde-frameworks/kcoreaddons-${PVCUT}*:5
94 + =kde-frameworks/kdeclarative-${PVCUT}*:5
95 + =kde-frameworks/kglobalaccel-${PVCUT}*:5
96 + =kde-frameworks/kguiaddons-${PVCUT}*:5
97 + =kde-frameworks/ki18n-${PVCUT}*:5
98 + =kde-frameworks/kiconthemes-${PVCUT}*:5
99 + =kde-frameworks/kio-${PVCUT}*:5
100 + =kde-frameworks/kirigami-${PVCUT}*:5
101 + =kde-frameworks/knotifications-${PVCUT}*:5
102 + =kde-frameworks/kpackage-${PVCUT}*:5
103 + =kde-frameworks/kservice-${PVCUT}*:5
104 + =kde-frameworks/kwidgetsaddons-${PVCUT}*:5
105 + =kde-frameworks/kwindowsystem-${PVCUT}*:5
106 + =kde-frameworks/kxmlgui-${PVCUT}*:5
107 + !gles2-only? ( virtual/opengl )
108 + wayland? (
109 + =kde-frameworks/kwayland-${PVCUT}*:5
110 + media-libs/mesa[egl]
111 + )
112 + X? (
113 + >=dev-qt/qtx11extras-${QTMIN}:5
114 + x11-libs/libX11
115 + x11-libs/libxcb
116 + )
117 +"
118 +DEPEND="${RDEPEND}
119 + X? ( x11-base/xorg-proto )
120 +"
121 +
122 +RESTRICT+=" test"
123 +
124 +PATCHES=( "${FILESDIR}"/${P}-fix-pc3-button-icons-color-set.patch )
125 +
126 +src_configure() {
127 + local mycmakeargs=(
128 + $(cmake_use_find_package !gles2-only OpenGL)
129 + $(cmake_use_find_package wayland EGL)
130 + $(cmake_use_find_package wayland KF5Wayland)
131 + $(cmake_use_find_package X X11)
132 + $(cmake_use_find_package X XCB)
133 + )
134 +
135 + ecm_src_configure
136 +}