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-plasma/oxygen/
Date: Fri, 02 Jun 2017 00:38:43
Message-Id: 1496363867.6b677076a3ea21e0f6aaab0785fea1c5e8282fae.asturm@gentoo
1 commit: 6b677076a3ea21e0f6aaab0785fea1c5e8282fae
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Thu Jun 1 22:32:56 2017 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Fri Jun 2 00:37:47 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6b677076
7
8 kde-plasma/oxygen: DEPEND on >=Qt-4.8.7, warn on <GCC-5
9
10 Gentoo-bug: 619006
11
12 Package-Manager: Portage-2.3.5, Repoman-2.3.1
13
14 kde-plasma/oxygen/oxygen-5.8.6-r1.ebuild | 90 +++++++++++++++++++++++++++++++
15 kde-plasma/oxygen/oxygen-5.8.7-r1.ebuild | 90 +++++++++++++++++++++++++++++++
16 kde-plasma/oxygen/oxygen-5.9.5-r1.ebuild | 91 ++++++++++++++++++++++++++++++++
17 3 files changed, 271 insertions(+)
18
19 diff --git a/kde-plasma/oxygen/oxygen-5.8.6-r1.ebuild b/kde-plasma/oxygen/oxygen-5.8.6-r1.ebuild
20 new file mode 100644
21 index 00000000000..a0225825ec6
22 --- /dev/null
23 +++ b/kde-plasma/oxygen/oxygen-5.8.6-r1.ebuild
24 @@ -0,0 +1,90 @@
25 +# Copyright 1999-2017 Gentoo Foundation
26 +# Distributed under the terms of the GNU General Public License v2
27 +
28 +EAPI=6
29 +
30 +inherit kde5 multibuild
31 +
32 +DESCRIPTION="Oxygen visual style for the Plasma desktop"
33 +HOMEPAGE="https://projects.kde.org/projects/kde/workspace/oxygen"
34 +KEYWORDS="amd64 ~arm x86"
35 +IUSE="qt4 wayland"
36 +
37 +COMMON_DEPEND="
38 + $(add_frameworks_dep frameworkintegration)
39 + $(add_frameworks_dep kcmutils)
40 + $(add_frameworks_dep kcompletion)
41 + $(add_frameworks_dep kconfig)
42 + $(add_frameworks_dep kconfigwidgets)
43 + $(add_frameworks_dep kcoreaddons)
44 + $(add_frameworks_dep kguiaddons)
45 + $(add_frameworks_dep ki18n)
46 + $(add_frameworks_dep kwidgetsaddons)
47 + $(add_frameworks_dep kwindowsystem)
48 + $(add_plasma_dep kdecoration)
49 + $(add_qt_dep qtdbus)
50 + $(add_qt_dep qtgui)
51 + $(add_qt_dep qtwidgets)
52 + $(add_qt_dep qtx11extras)
53 + x11-libs/libxcb
54 + qt4? (
55 + >=dev-qt/qtcore-4.8.7-r2:4
56 + >=dev-qt/qtdbus-4.8.7:4
57 + >=dev-qt/qtgui-4.8.7:4
58 + kde-frameworks/kdelibs:4
59 + x11-libs/libX11
60 + )
61 + wayland? ( $(add_frameworks_dep kwayland) )
62 +"
63 +DEPEND="${COMMON_DEPEND}
64 + $(add_frameworks_dep kservice)
65 + qt4? (
66 + dev-util/automoc:0
67 + virtual/pkgconfig
68 + )
69 +"
70 +RDEPEND="${COMMON_DEPEND}
71 + $(add_plasma_dep kde-cli-tools)
72 + qt4? (
73 + !kde-plasma/kstyles:4
74 + !kde-plasma/liboxygenstyle:4
75 + )
76 + !kde-plasma/kdebase-cursors:4
77 +"
78 +
79 +pkg_setup() {
80 + if use qt4 && [[ $(gcc-major-version) -lt 5 ]] ; then
81 + ewarn "A GCC version older than 5 was detected. There may be trouble. See also Gentoo bug #595618"
82 + fi
83 +
84 + kde5_pkg_setup
85 + MULTIBUILD_VARIANTS=( kf5 $(usev qt4) )
86 +}
87 +
88 +src_configure() {
89 + myconfigure() {
90 + local mycmakeargs=(
91 + $(cmake-utils_use_find_package wayland KF5Wayland)
92 + )
93 +
94 + if [[ ${MULTIBUILD_VARIANT} = qt4 ]] ; then
95 + mycmakeargs+=( -DUSE_KDE4=true )
96 + fi
97 +
98 + kde5_src_configure
99 + }
100 +
101 + multibuild_foreach_variant myconfigure
102 +}
103 +
104 +src_compile() {
105 + multibuild_foreach_variant kde5_src_compile
106 +}
107 +
108 +src_test() {
109 + multibuild_foreach_variant kde5_src_test
110 +}
111 +
112 +src_install() {
113 + multibuild_foreach_variant kde5_src_install
114 +}
115
116 diff --git a/kde-plasma/oxygen/oxygen-5.8.7-r1.ebuild b/kde-plasma/oxygen/oxygen-5.8.7-r1.ebuild
117 new file mode 100644
118 index 00000000000..6aa62b20981
119 --- /dev/null
120 +++ b/kde-plasma/oxygen/oxygen-5.8.7-r1.ebuild
121 @@ -0,0 +1,90 @@
122 +# Copyright 1999-2017 Gentoo Foundation
123 +# Distributed under the terms of the GNU General Public License v2
124 +
125 +EAPI=6
126 +
127 +inherit kde5 multibuild
128 +
129 +DESCRIPTION="Oxygen visual style for the Plasma desktop"
130 +HOMEPAGE="https://projects.kde.org/projects/kde/workspace/oxygen"
131 +KEYWORDS="~amd64 ~arm ~x86"
132 +IUSE="qt4 wayland"
133 +
134 +COMMON_DEPEND="
135 + $(add_frameworks_dep frameworkintegration)
136 + $(add_frameworks_dep kcmutils)
137 + $(add_frameworks_dep kcompletion)
138 + $(add_frameworks_dep kconfig)
139 + $(add_frameworks_dep kconfigwidgets)
140 + $(add_frameworks_dep kcoreaddons)
141 + $(add_frameworks_dep kguiaddons)
142 + $(add_frameworks_dep ki18n)
143 + $(add_frameworks_dep kwidgetsaddons)
144 + $(add_frameworks_dep kwindowsystem)
145 + $(add_plasma_dep kdecoration)
146 + $(add_qt_dep qtdbus)
147 + $(add_qt_dep qtgui)
148 + $(add_qt_dep qtwidgets)
149 + $(add_qt_dep qtx11extras)
150 + x11-libs/libxcb
151 + qt4? (
152 + kde-frameworks/kdelibs:4
153 + x11-libs/libX11
154 + )
155 + wayland? ( $(add_frameworks_dep kwayland) )
156 +"
157 +DEPEND="${COMMON_DEPEND}
158 + $(add_frameworks_dep kservice)
159 + qt4? (
160 + >=dev-qt/qtcore-4.8.7-r2:4
161 + >=dev-qt/qtdbus-4.8.7:4
162 + >=dev-qt/qtgui-4.8.7:4
163 + dev-util/automoc:0
164 + virtual/pkgconfig
165 + )
166 +"
167 +RDEPEND="${COMMON_DEPEND}
168 + $(add_plasma_dep kde-cli-tools)
169 + qt4? (
170 + !kde-plasma/kstyles:4
171 + !kde-plasma/liboxygenstyle:4
172 + )
173 + !kde-plasma/kdebase-cursors:4
174 +"
175 +
176 +pkg_setup() {
177 + if use qt4 && [[ $(gcc-major-version) -lt 5 ]] ; then
178 + ewarn "A GCC version older than 5 was detected. There may be trouble. See also Gentoo bug #595618"
179 + fi
180 +
181 + kde5_pkg_setup
182 + MULTIBUILD_VARIANTS=( kf5 $(usev qt4) )
183 +}
184 +
185 +src_configure() {
186 + myconfigure() {
187 + local mycmakeargs=(
188 + $(cmake-utils_use_find_package wayland KF5Wayland)
189 + )
190 +
191 + if [[ ${MULTIBUILD_VARIANT} = qt4 ]] ; then
192 + mycmakeargs+=( -DUSE_KDE4=true )
193 + fi
194 +
195 + kde5_src_configure
196 + }
197 +
198 + multibuild_foreach_variant myconfigure
199 +}
200 +
201 +src_compile() {
202 + multibuild_foreach_variant kde5_src_compile
203 +}
204 +
205 +src_test() {
206 + multibuild_foreach_variant kde5_src_test
207 +}
208 +
209 +src_install() {
210 + multibuild_foreach_variant kde5_src_install
211 +}
212
213 diff --git a/kde-plasma/oxygen/oxygen-5.9.5-r1.ebuild b/kde-plasma/oxygen/oxygen-5.9.5-r1.ebuild
214 new file mode 100644
215 index 00000000000..322e8762a9d
216 --- /dev/null
217 +++ b/kde-plasma/oxygen/oxygen-5.9.5-r1.ebuild
218 @@ -0,0 +1,91 @@
219 +# Copyright 1999-2017 Gentoo Foundation
220 +# Distributed under the terms of the GNU General Public License v2
221 +
222 +EAPI=6
223 +
224 +inherit kde5 multibuild
225 +
226 +DESCRIPTION="Oxygen visual style for the Plasma desktop"
227 +HOMEPAGE="https://projects.kde.org/projects/kde/workspace/oxygen"
228 +KEYWORDS="~amd64 ~arm ~x86"
229 +IUSE="qt4 wayland"
230 +
231 +COMMON_DEPEND="
232 + $(add_frameworks_dep frameworkintegration)
233 + $(add_frameworks_dep kcmutils)
234 + $(add_frameworks_dep kcompletion)
235 + $(add_frameworks_dep kconfig)
236 + $(add_frameworks_dep kconfigwidgets)
237 + $(add_frameworks_dep kcoreaddons)
238 + $(add_frameworks_dep kguiaddons)
239 + $(add_frameworks_dep ki18n)
240 + $(add_frameworks_dep kwidgetsaddons)
241 + $(add_frameworks_dep kwindowsystem)
242 + $(add_plasma_dep kdecoration)
243 + $(add_qt_dep qtdbus)
244 + $(add_qt_dep qtdeclarative)
245 + $(add_qt_dep qtgui)
246 + $(add_qt_dep qtwidgets)
247 + $(add_qt_dep qtx11extras)
248 + x11-libs/libxcb
249 + qt4? (
250 + >=dev-qt/qtcore-4.8.7-r2:4
251 + >=dev-qt/qtdbus-4.8.7:4
252 + >=dev-qt/qtgui-4.8.7:4
253 + kde-frameworks/kdelibs:4
254 + x11-libs/libX11
255 + )
256 + wayland? ( $(add_frameworks_dep kwayland) )
257 +"
258 +DEPEND="${COMMON_DEPEND}
259 + $(add_frameworks_dep kservice)
260 + qt4? (
261 + dev-util/automoc:0
262 + virtual/pkgconfig
263 + )
264 +"
265 +RDEPEND="${COMMON_DEPEND}
266 + $(add_plasma_dep kde-cli-tools)
267 + qt4? (
268 + !kde-plasma/kstyles:4
269 + !kde-plasma/liboxygenstyle:4
270 + )
271 + !kde-plasma/kdebase-cursors:4
272 +"
273 +
274 +pkg_setup() {
275 + if use qt4 && [[ $(gcc-major-version) -lt 5 ]] ; then
276 + ewarn "A GCC version older than 5 was detected. There may be trouble. See also Gentoo bug #595618"
277 + fi
278 +
279 + kde5_pkg_setup
280 + MULTIBUILD_VARIANTS=( kf5 $(usev qt4) )
281 +}
282 +
283 +src_configure() {
284 + myconfigure() {
285 + local mycmakeargs=(
286 + $(cmake-utils_use_find_package wayland KF5Wayland)
287 + )
288 +
289 + if [[ ${MULTIBUILD_VARIANT} = qt4 ]] ; then
290 + mycmakeargs+=( -DUSE_KDE4=true )
291 + fi
292 +
293 + kde5_src_configure
294 + }
295 +
296 + multibuild_foreach_variant myconfigure
297 +}
298 +
299 +src_compile() {
300 + multibuild_foreach_variant kde5_src_compile
301 +}
302 +
303 +src_test() {
304 + multibuild_foreach_variant kde5_src_test
305 +}
306 +
307 +src_install() {
308 + multibuild_foreach_variant kde5_src_install
309 +}