1 |
commit: 4bd248579143233dcae2f8d960614fe4119d0124 |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Nov 27 11:54:43 2022 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Nov 27 12:01:40 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4bd24857 |
7 |
|
8 |
kde-frameworks/kwindowsystem: Add IUSE wayland to pull in runtime plugin |
9 |
|
10 |
All other plugins from kde-plasma/kwayland-integration went into respective |
11 |
Frameworks packages and only the kwindowsystem plugin remains, which makes |
12 |
this possible to depend on. It is necessary because kwindowsystem consumers |
13 |
will need the wayland runtime plugin even on non-Plasma systems. |
14 |
|
15 |
This is not exactly pretty but the same exception as dev-qt/qtgui[wayland]. |
16 |
|
17 |
Bug: https://bugs.gentoo.org/790275 |
18 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
19 |
|
20 |
.../kwindowsystem/kwindowsystem-5.100.0-r1.ebuild | 44 ++++++++++++++++++++++ |
21 |
.../kwindowsystem/kwindowsystem-5.99.0-r1.ebuild | 44 ++++++++++++++++++++++ |
22 |
2 files changed, 88 insertions(+) |
23 |
|
24 |
diff --git a/kde-frameworks/kwindowsystem/kwindowsystem-5.100.0-r1.ebuild b/kde-frameworks/kwindowsystem/kwindowsystem-5.100.0-r1.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000000..49367c79de79 |
27 |
--- /dev/null |
28 |
+++ b/kde-frameworks/kwindowsystem/kwindowsystem-5.100.0-r1.ebuild |
29 |
@@ -0,0 +1,44 @@ |
30 |
+# Copyright 1999-2022 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=8 |
34 |
+ |
35 |
+QTMIN=5.15.5 |
36 |
+VIRTUALX_REQUIRED="test" |
37 |
+inherit ecm frameworks.kde.org |
38 |
+ |
39 |
+DESCRIPTION="Framework providing access to properties and features of the window manager" |
40 |
+ |
41 |
+LICENSE="|| ( LGPL-2.1 LGPL-3 ) MIT" |
42 |
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86" |
43 |
+IUSE="wayland X" |
44 |
+ |
45 |
+RESTRICT="test" |
46 |
+ |
47 |
+RDEPEND=" |
48 |
+ >=dev-qt/qtgui-${QTMIN}:5 |
49 |
+ X? ( |
50 |
+ >=dev-qt/qtx11extras-${QTMIN}:5 |
51 |
+ x11-libs/libX11 |
52 |
+ x11-libs/libXfixes |
53 |
+ x11-libs/libxcb |
54 |
+ x11-libs/xcb-util-keysyms |
55 |
+ ) |
56 |
+" |
57 |
+DEPEND="${RDEPEND} |
58 |
+ X? ( x11-base/xorg-proto ) |
59 |
+ test? ( >=dev-qt/qtwidgets-${QTMIN}:5 ) |
60 |
+" |
61 |
+BDEPEND=">=dev-qt/linguist-tools-${QTMIN}:5" |
62 |
+PDEPEND="wayland? ( kde-plasma/kwayland-integration:5 )" |
63 |
+ |
64 |
+DOCS=( docs/README.kstartupinfo ) |
65 |
+ |
66 |
+src_configure() { |
67 |
+ local mycmakeargs=( |
68 |
+ -DKWINDOWSYSTEM_NO_WIDGETS=ON |
69 |
+ $(cmake_use_find_package X X11) |
70 |
+ ) |
71 |
+ |
72 |
+ ecm_src_configure |
73 |
+} |
74 |
|
75 |
diff --git a/kde-frameworks/kwindowsystem/kwindowsystem-5.99.0-r1.ebuild b/kde-frameworks/kwindowsystem/kwindowsystem-5.99.0-r1.ebuild |
76 |
new file mode 100644 |
77 |
index 000000000000..0006cc7dcf06 |
78 |
--- /dev/null |
79 |
+++ b/kde-frameworks/kwindowsystem/kwindowsystem-5.99.0-r1.ebuild |
80 |
@@ -0,0 +1,44 @@ |
81 |
+# Copyright 1999-2022 Gentoo Authors |
82 |
+# Distributed under the terms of the GNU General Public License v2 |
83 |
+ |
84 |
+EAPI=8 |
85 |
+ |
86 |
+QTMIN=5.15.5 |
87 |
+VIRTUALX_REQUIRED="test" |
88 |
+inherit ecm frameworks.kde.org |
89 |
+ |
90 |
+DESCRIPTION="Framework providing access to properties and features of the window manager" |
91 |
+ |
92 |
+LICENSE="|| ( LGPL-2.1 LGPL-3 ) MIT" |
93 |
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86" |
94 |
+IUSE="wayland X" |
95 |
+ |
96 |
+RESTRICT="test" |
97 |
+ |
98 |
+RDEPEND=" |
99 |
+ >=dev-qt/qtgui-${QTMIN}:5 |
100 |
+ X? ( |
101 |
+ >=dev-qt/qtx11extras-${QTMIN}:5 |
102 |
+ x11-libs/libX11 |
103 |
+ x11-libs/libXfixes |
104 |
+ x11-libs/libxcb |
105 |
+ x11-libs/xcb-util-keysyms |
106 |
+ ) |
107 |
+" |
108 |
+DEPEND="${RDEPEND} |
109 |
+ X? ( x11-base/xorg-proto ) |
110 |
+ test? ( >=dev-qt/qtwidgets-${QTMIN}:5 ) |
111 |
+" |
112 |
+BDEPEND=">=dev-qt/linguist-tools-${QTMIN}:5" |
113 |
+PDEPEND="wayland? ( >=kde-plasma/kwayland-integration-5.25.5-r1:5 )" |
114 |
+ |
115 |
+DOCS=( docs/README.kstartupinfo ) |
116 |
+ |
117 |
+src_configure() { |
118 |
+ local mycmakeargs=( |
119 |
+ -DKWINDOWSYSTEM_NO_WIDGETS=ON |
120 |
+ $(cmake_use_find_package X X11) |
121 |
+ ) |
122 |
+ |
123 |
+ ecm_src_configure |
124 |
+} |