1 |
commit: fec52e6f9767385205ce4037fbb88597f5ad73f7 |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed May 29 15:41:31 2019 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jun 1 14:26:02 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fec52e6f |
7 |
|
8 |
media-gfx/krita: 4.2.0 version bump |
9 |
|
10 |
dev-qt/qtgui slot operator is necessary for QPA usage. |
11 |
|
12 |
Package-Manager: Portage-2.3.67, Repoman-2.3.13 |
13 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
14 |
|
15 |
media-gfx/krita/Manifest | 1 + |
16 |
.../krita/files/krita-4.2.0-tests-optional.patch | 324 +++++++++++++++++++++ |
17 |
media-gfx/krita/krita-4.2.0.ebuild | 118 ++++++++ |
18 |
3 files changed, 443 insertions(+) |
19 |
|
20 |
diff --git a/media-gfx/krita/Manifest b/media-gfx/krita/Manifest |
21 |
index 471a7accb4d..00caf204e91 100644 |
22 |
--- a/media-gfx/krita/Manifest |
23 |
+++ b/media-gfx/krita/Manifest |
24 |
@@ -1 +1,2 @@ |
25 |
DIST krita-4.1.8.tar.gz 244065767 BLAKE2B ba2cbb6d1575cec189e8f10461b720a081f185e1e078fc1e8194c9e6d455dade45f35f1ae5a891717918b3c03863a2a7f3f819753a106ede5695003cfa260157 SHA512 d027444415bffbd6abd29ca69598fdb1e6a652fd4f1944092ff12016a57ff2ee3bab209c93e065905ec9bfea395e50f833915bb924b97a2c119d101057cba6c9 |
26 |
+DIST krita-4.2.0.tar.gz 240015177 BLAKE2B 09992b50dfa4e244c809dd576c3b7c0d1cb09b19fde0985c3d72b57543e5a06aa863b9011d655432a089fb6869e2e7fdb23939877b0c4ee6aaf44a1c88e7084c SHA512 a6f373839e47c4e97f5680d266d1ea9f438db6636d3f8749f7fbf6d93b5329e1d46f7233af901dd224722c08100c4fc3b162a163c721299ebfa2d4939032ae44 |
27 |
|
28 |
diff --git a/media-gfx/krita/files/krita-4.2.0-tests-optional.patch b/media-gfx/krita/files/krita-4.2.0-tests-optional.patch |
29 |
new file mode 100644 |
30 |
index 00000000000..b605e922aba |
31 |
--- /dev/null |
32 |
+++ b/media-gfx/krita/files/krita-4.2.0-tests-optional.patch |
33 |
@@ -0,0 +1,324 @@ |
34 |
+--- a/plugins/color/lcms2engine/CMakeLists.txt 2019-06-01 15:10:43.442258240 +0200 |
35 |
++++ b/plugins/color/lcms2engine/CMakeLists.txt 2019-06-01 15:10:43.452257980 +0200 |
36 |
+@@ -1,6 +1,8 @@ |
37 |
+ project( lcmsengine ) |
38 |
+ |
39 |
++if(BUILD_TESTING) |
40 |
+ add_subdirectory(tests) |
41 |
++endif() |
42 |
+ |
43 |
+ include_directories(SYSTEM |
44 |
+ ${LCMS2_INCLUDE_DIR} |
45 |
+--- a/plugins/extensions/qmic/CMakeLists.txt 2019-06-01 15:10:43.469257540 +0200 |
46 |
++++ b/plugins/extensions/qmic/CMakeLists.txt 2019-06-01 15:10:43.477257332 +0200 |
47 |
+@@ -20,4 +20,6 @@ |
48 |
+ target_link_libraries(kritaqmic kritaui) |
49 |
+ install(TARGETS kritaqmic DESTINATION ${KRITA_PLUGIN_INSTALL_DIR}) |
50 |
+ |
51 |
++if(BUILD_TESTING) |
52 |
+ add_subdirectory(tests) |
53 |
++endif() |
54 |
+--- a/plugins/filters/CMakeLists.txt 2019-06-01 15:10:43.488257047 +0200 |
55 |
++++ b/plugins/filters/CMakeLists.txt 2019-06-01 15:10:43.497256813 +0200 |
56 |
+@@ -1,4 +1,6 @@ |
57 |
++if(BUILD_TESTING) |
58 |
+ add_subdirectory( tests ) |
59 |
++endif() |
60 |
+ add_subdirectory( blur ) |
61 |
+ add_subdirectory( colors ) |
62 |
+ add_subdirectory( colorsfilters ) |
63 |
+--- a/plugins/filters/unsharp/CMakeLists.txt 2019-06-01 15:10:43.508256528 +0200 |
64 |
++++ b/plugins/filters/unsharp/CMakeLists.txt 2019-06-01 15:10:43.516256320 +0200 |
65 |
+@@ -1,4 +1,6 @@ |
66 |
++if(BUILD_TESTING) |
67 |
+ add_subdirectory( tests ) |
68 |
++endif() |
69 |
+ |
70 |
+ set(kritaunsharpfilter_SOURCES |
71 |
+ unsharp.cpp |
72 |
+--- a/plugins/dockers/lut/CMakeLists.txt 2019-06-01 15:10:43.527256035 +0200 |
73 |
++++ b/plugins/dockers/lut/CMakeLists.txt 2019-06-01 15:10:43.535255828 +0200 |
74 |
+@@ -1,4 +1,6 @@ |
75 |
++if(BUILD_TESTING) |
76 |
+ add_subdirectory(tests) |
77 |
++endif() |
78 |
+ |
79 |
+ include_directories(SYSTEM |
80 |
+ ${OCIO_INCLUDE_DIR} |
81 |
+--- a/plugins/dockers/animation/CMakeLists.txt 2019-06-01 15:10:43.546255542 +0200 |
82 |
++++ b/plugins/dockers/animation/CMakeLists.txt 2019-06-01 15:10:43.555255309 +0200 |
83 |
+@@ -1,5 +1,7 @@ |
84 |
+ if (NOT WIN32 AND NOT APPLE) |
85 |
+- add_subdirectory(tests) |
86 |
++ if(BUILD_TESTING) |
87 |
++add_subdirectory(tests) |
88 |
++endif() |
89 |
+ endif() |
90 |
+ |
91 |
+ set(KRITA_ANIMATIONDOCKER_SOURCES |
92 |
+--- a/plugins/tools/tool_transform2/CMakeLists.txt 2019-06-01 15:10:43.566255024 +0200 |
93 |
++++ b/plugins/tools/tool_transform2/CMakeLists.txt 2019-06-01 15:10:43.574254816 +0200 |
94 |
+@@ -1,5 +1,7 @@ |
95 |
+ if (NOT WIN32 AND NOT APPLE) |
96 |
+- add_subdirectory(tests) |
97 |
++ if(BUILD_TESTING) |
98 |
++add_subdirectory(tests) |
99 |
++endif() |
100 |
+ endif() |
101 |
+ |
102 |
+ set(kritatooltransform_SOURCES |
103 |
+--- a/plugins/tools/basictools/CMakeLists.txt 2019-06-01 15:10:43.584254557 +0200 |
104 |
++++ b/plugins/tools/basictools/CMakeLists.txt 2019-06-01 15:10:43.592254349 +0200 |
105 |
+@@ -1,5 +1,7 @@ |
106 |
+ if (NOT APPLE) |
107 |
+- add_subdirectory(tests) |
108 |
++ if(BUILD_TESTING) |
109 |
++add_subdirectory(tests) |
110 |
++endif() |
111 |
+ endif () |
112 |
+ |
113 |
+ set(kritadefaulttools_SOURCES |
114 |
+--- a/plugins/impex/tiff/CMakeLists.txt 2019-06-01 15:10:43.602254090 +0200 |
115 |
++++ b/plugins/impex/tiff/CMakeLists.txt 2019-06-01 15:10:43.609253908 +0200 |
116 |
+@@ -1,4 +1,6 @@ |
117 |
++if(BUILD_TESTING) |
118 |
+ add_subdirectory(tests) |
119 |
++endif() |
120 |
+ |
121 |
+ set(libkritatiffconverter_LIB_SRCS |
122 |
+ kis_tiff_converter.cc |
123 |
+--- a/plugins/impex/libkra/CMakeLists.txt 2019-06-01 15:10:43.620253623 +0200 |
124 |
++++ b/plugins/impex/libkra/CMakeLists.txt 2019-06-01 15:10:43.627253441 +0200 |
125 |
+@@ -1,4 +1,6 @@ |
126 |
++if(BUILD_TESTING) |
127 |
+ add_subdirectory(tests) |
128 |
++endif() |
129 |
+ |
130 |
+ set(kritalibkra_LIB_SRCS |
131 |
+ kis_colorize_dom_utils.cpp |
132 |
+--- a/plugins/impex/jpeg/CMakeLists.txt 2019-06-01 15:10:43.638253156 +0200 |
133 |
++++ b/plugins/impex/jpeg/CMakeLists.txt 2019-06-01 15:10:43.646252949 +0200 |
134 |
+@@ -1,4 +1,6 @@ |
135 |
++if(BUILD_TESTING) |
136 |
+ add_subdirectory(tests) |
137 |
++endif() |
138 |
+ |
139 |
+ set(ICCJPEG_SOURCE_DIR "${CMAKE_CURRENT_SOURCE_DIR}/3rdparty/lcms") |
140 |
+ |
141 |
+--- a/plugins/impex/psd/CMakeLists.txt 2019-06-01 15:10:43.662252534 +0200 |
142 |
++++ b/plugins/impex/psd/CMakeLists.txt 2019-06-01 15:10:43.671252300 +0200 |
143 |
+@@ -1,5 +1,7 @@ |
144 |
+ if (NOT MSVC AND NOT APPLE) |
145 |
+- add_subdirectory(tests) |
146 |
++ if(BUILD_TESTING) |
147 |
++add_subdirectory(tests) |
148 |
++endif() |
149 |
+ endif() |
150 |
+ |
151 |
+ configure_file(config_psd.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config_psd.h) |
152 |
+--- a/plugins/impex/xcf/CMakeLists.txt 2019-06-01 15:10:43.685251937 +0200 |
153 |
++++ b/plugins/impex/xcf/CMakeLists.txt 2019-06-01 15:10:43.694251704 +0200 |
154 |
+@@ -1,4 +1,6 @@ |
155 |
++if(BUILD_TESTING) |
156 |
+ add_subdirectory(tests) |
157 |
++endif() |
158 |
+ |
159 |
+ set(XCFTOOLS_SOURCE_DIR "${CMAKE_CURRENT_SOURCE_DIR}/3rdparty/xcftools") |
160 |
+ |
161 |
+--- a/plugins/impex/heightmap/CMakeLists.txt 2019-06-01 15:10:43.705251418 +0200 |
162 |
++++ b/plugins/impex/heightmap/CMakeLists.txt 2019-06-01 15:10:43.714251185 +0200 |
163 |
+@@ -1,4 +1,6 @@ |
164 |
++if(BUILD_TESTING) |
165 |
+ add_subdirectory(tests) |
166 |
++endif() |
167 |
+ |
168 |
+ include_directories( ${CMAKE_CURRENT_SOURCE_DIR} ) |
169 |
+ |
170 |
+--- a/plugins/impex/csv/CMakeLists.txt 2019-06-01 15:10:43.725250900 +0200 |
171 |
++++ b/plugins/impex/csv/CMakeLists.txt 2019-06-01 15:10:43.734250666 +0200 |
172 |
+@@ -1,4 +1,6 @@ |
173 |
++if(BUILD_TESTING) |
174 |
+ add_subdirectory(tests) |
175 |
++endif() |
176 |
+ |
177 |
+ # import |
178 |
+ |
179 |
+--- a/plugins/impex/exr/CMakeLists.txt 2019-06-01 15:10:43.745250381 +0200 |
180 |
++++ b/plugins/impex/exr/CMakeLists.txt 2019-06-01 15:10:43.754250148 +0200 |
181 |
+@@ -1,4 +1,6 @@ |
182 |
++if(BUILD_TESTING) |
183 |
+ add_subdirectory(tests) |
184 |
++endif() |
185 |
+ |
186 |
+ include_directories(SYSTEM ${OPENEXR_INCLUDE_DIR} ) |
187 |
+ |
188 |
+--- a/plugins/impex/ppm/CMakeLists.txt 2019-06-01 15:10:43.765249862 +0200 |
189 |
++++ b/plugins/impex/ppm/CMakeLists.txt 2019-06-01 15:10:43.773249655 +0200 |
190 |
+@@ -1,4 +1,6 @@ |
191 |
++if(BUILD_TESTING) |
192 |
+ add_subdirectory(tests) |
193 |
++endif() |
194 |
+ |
195 |
+ include_directories( ${CMAKE_CURRENT_SOURCE_DIR} ) |
196 |
+ |
197 |
+--- a/plugins/impex/svg/CMakeLists.txt 2019-06-01 15:10:43.784249370 +0200 |
198 |
++++ b/plugins/impex/svg/CMakeLists.txt 2019-06-01 15:10:43.792249162 +0200 |
199 |
+@@ -1,4 +1,6 @@ |
200 |
++if(BUILD_TESTING) |
201 |
+ add_subdirectory(tests) |
202 |
++endif() |
203 |
+ |
204 |
+ set(kritasvgimport_SOURCES |
205 |
+ kis_svg_import.cc |
206 |
+--- a/plugins/impex/png/CMakeLists.txt 2019-06-01 15:10:43.803248877 +0200 |
207 |
++++ b/plugins/impex/png/CMakeLists.txt 2019-06-01 15:10:43.811248669 +0200 |
208 |
+@@ -1,4 +1,6 @@ |
209 |
++if(BUILD_TESTING) |
210 |
+ add_subdirectory(tests) |
211 |
++endif() |
212 |
+ |
213 |
+ set(kritapngimport_SOURCES |
214 |
+ kis_png_import.cc |
215 |
+--- a/plugins/paintops/libpaintop/CMakeLists.txt 2019-06-01 15:10:43.823248358 +0200 |
216 |
++++ b/plugins/paintops/libpaintop/CMakeLists.txt 2019-06-01 15:10:43.831248150 +0200 |
217 |
+@@ -104,4 +104,6 @@ |
218 |
+ install(TARGETS kritalibpaintop ${INSTALL_TARGETS_DEFAULT_ARGS}) |
219 |
+ |
220 |
+ |
221 |
++if(BUILD_TESTING) |
222 |
+ add_subdirectory(tests) |
223 |
++endif() |
224 |
+--- a/plugins/paintops/defaultpaintops/CMakeLists.txt 2019-06-01 15:10:43.842247865 +0200 |
225 |
++++ b/plugins/paintops/defaultpaintops/CMakeLists.txt 2019-06-01 15:10:43.850247658 +0200 |
226 |
+@@ -1,4 +1,6 @@ |
227 |
++if(BUILD_TESTING) |
228 |
+ add_subdirectory(brush/tests) |
229 |
++endif() |
230 |
+ |
231 |
+ include_directories(brush |
232 |
+ duplicate |
233 |
+--- a/libs/metadata/CMakeLists.txt 2019-06-01 15:10:43.862247346 +0200 |
234 |
++++ b/libs/metadata/CMakeLists.txt 2019-06-01 15:10:43.870247139 +0200 |
235 |
+@@ -29,4 +29,6 @@ |
236 |
+ |
237 |
+ install(TARGETS kritametadata ${INSTALL_TARGETS_DEFAULT_ARGS}) |
238 |
+ |
239 |
++if(BUILD_TESTING) |
240 |
+ add_subdirectory(tests) |
241 |
++endif() |
242 |
+--- a/libs/global/CMakeLists.txt 2019-06-01 15:10:43.881246854 +0200 |
243 |
++++ b/libs/global/CMakeLists.txt 2019-06-01 15:10:43.890246620 +0200 |
244 |
+@@ -1,4 +1,6 @@ |
245 |
++if(BUILD_TESTING) |
246 |
+ add_subdirectory( tests ) |
247 |
++endif() |
248 |
+ |
249 |
+ include(CheckFunctionExists) |
250 |
+ check_function_exists(backtrace HAVE_BACKTRACE) |
251 |
+--- a/libs/ui/CMakeLists.txt 2019-06-01 15:10:43.901246335 +0200 |
252 |
++++ b/libs/ui/CMakeLists.txt 2019-06-01 15:10:43.911246076 +0200 |
253 |
+@@ -7,7 +7,9 @@ |
254 |
+ ${OCIO_INCLUDE_DIR} |
255 |
+ ) |
256 |
+ |
257 |
++if(BUILD_TESTING) |
258 |
+ add_subdirectory( tests ) |
259 |
++endif() |
260 |
+ |
261 |
+ if (APPLE) |
262 |
+ find_library(FOUNDATION_LIBRARY Foundation) |
263 |
+--- a/libs/flake/CMakeLists.txt 2019-06-01 15:10:43.922245790 +0200 |
264 |
++++ b/libs/flake/CMakeLists.txt 2019-06-01 15:10:43.931245557 +0200 |
265 |
+@@ -9,7 +9,9 @@ |
266 |
+ ) |
267 |
+ |
268 |
+ add_subdirectory(styles) |
269 |
++if(BUILD_TESTING) |
270 |
+ add_subdirectory(tests) |
271 |
++endif() |
272 |
+ |
273 |
+ set(kritaflake_SRCS |
274 |
+ KoGradientHelper.cpp |
275 |
+--- a/libs/brush/CMakeLists.txt 2019-06-01 15:10:43.943245246 +0200 |
276 |
++++ b/libs/brush/CMakeLists.txt 2019-06-01 15:10:43.952245012 +0200 |
277 |
+@@ -1,4 +1,6 @@ |
278 |
++if(BUILD_TESTING) |
279 |
+ add_subdirectory( tests ) |
280 |
++endif() |
281 |
+ |
282 |
+ include_directories(SYSTEM |
283 |
+ ${EIGEN3_INCLUDE_DIR} |
284 |
+--- a/libs/widgetutils/CMakeLists.txt 2019-06-01 15:10:43.963244727 +0200 |
285 |
++++ b/libs/widgetutils/CMakeLists.txt 2019-06-01 15:10:43.972244494 +0200 |
286 |
+@@ -1,4 +1,6 @@ |
287 |
++if(BUILD_TESTING) |
288 |
+ add_subdirectory(tests) |
289 |
++endif() |
290 |
+ |
291 |
+ configure_file(xmlgui/config-xmlgui.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config-xmlgui.h ) |
292 |
+ |
293 |
+--- a/libs/store/CMakeLists.txt 2019-06-01 15:10:43.984244182 +0200 |
294 |
++++ b/libs/store/CMakeLists.txt 2019-06-01 15:10:43.992243975 +0200 |
295 |
+@@ -1,6 +1,8 @@ |
296 |
+ include_directories(${QUAZIP_INCLUDE_DIRS}) |
297 |
+ |
298 |
++if(BUILD_TESTING) |
299 |
+ add_subdirectory(tests) |
300 |
++endif() |
301 |
+ |
302 |
+ set(kritastore_LIB_SRCS |
303 |
+ KoDirectoryStore.cpp |
304 |
+--- a/libs/pigment/CMakeLists.txt 2019-06-01 15:10:44.002243716 +0200 |
305 |
++++ b/libs/pigment/CMakeLists.txt 2019-06-01 15:10:44.010243508 +0200 |
306 |
+@@ -31,7 +31,9 @@ |
307 |
+ message("${__per_arch_factory_objs}") |
308 |
+ endif() |
309 |
+ |
310 |
++if(BUILD_TESTING) |
311 |
+ add_subdirectory(tests) |
312 |
++endif() |
313 |
+ add_subdirectory(benchmarks) |
314 |
+ |
315 |
+ set(kritapigment_SRCS |
316 |
+--- a/libs/libkis/CMakeLists.txt 2019-06-01 15:10:44.021243223 +0200 |
317 |
++++ b/libs/libkis/CMakeLists.txt 2019-06-01 15:10:44.028243041 +0200 |
318 |
+@@ -47,4 +47,6 @@ |
319 |
+ install(TARGETS kritalibkis ${INSTALL_TARGETS_DEFAULT_ARGS}) |
320 |
+ |
321 |
+ |
322 |
++if(BUILD_TESTING) |
323 |
+ add_subdirectory(tests) |
324 |
++endif() |
325 |
+--- a/libs/image/CMakeLists.txt 2019-06-01 15:10:44.039242756 +0200 |
326 |
++++ b/libs/image/CMakeLists.txt 2019-06-01 15:10:44.047242548 +0200 |
327 |
+@@ -1,4 +1,6 @@ |
328 |
++if(BUILD_TESTING) |
329 |
+ add_subdirectory( tests ) |
330 |
++endif() |
331 |
+ |
332 |
+ add_subdirectory( tiles3 ) |
333 |
+ |
334 |
+--- a/libs/image/tiles3/CMakeLists.txt 2019-06-01 15:10:44.057242289 +0200 |
335 |
++++ b/libs/image/tiles3/CMakeLists.txt 2019-06-01 15:10:44.065242082 +0200 |
336 |
+@@ -1 +1,3 @@ |
337 |
++if(BUILD_TESTING) |
338 |
+ add_subdirectory(tests) |
339 |
++endif() |
340 |
+--- a/libs/odf/CMakeLists.txt 2019-06-01 15:10:44.076241796 +0200 |
341 |
++++ b/libs/odf/CMakeLists.txt 2019-06-01 15:10:44.084241589 +0200 |
342 |
+@@ -1,4 +1,6 @@ |
343 |
++if(BUILD_TESTING) |
344 |
+ add_subdirectory( tests ) |
345 |
++endif() |
346 |
+ |
347 |
+ set(kritaodf_LIB_SRCS |
348 |
+ KoOdf.cpp |
349 |
+--- a/libs/widgets/CMakeLists.txt 2019-06-01 15:10:44.094241329 +0200 |
350 |
++++ b/libs/widgets/CMakeLists.txt 2019-06-01 15:10:44.102241122 +0200 |
351 |
+@@ -1,4 +1,6 @@ |
352 |
++if(BUILD_TESTING) |
353 |
+ add_subdirectory( tests ) |
354 |
++endif() |
355 |
+ |
356 |
+ include_directories(${CMAKE_CURRENT_BINARY_DIR}) |
357 |
+ |
358 |
|
359 |
diff --git a/media-gfx/krita/krita-4.2.0.ebuild b/media-gfx/krita/krita-4.2.0.ebuild |
360 |
new file mode 100644 |
361 |
index 00000000000..3153c3eba36 |
362 |
--- /dev/null |
363 |
+++ b/media-gfx/krita/krita-4.2.0.ebuild |
364 |
@@ -0,0 +1,118 @@ |
365 |
+# Copyright 1999-2019 Gentoo Authors |
366 |
+# Distributed under the terms of the GNU General Public License v2 |
367 |
+ |
368 |
+EAPI=7 |
369 |
+ |
370 |
+KDE_TEST="forceoptional" |
371 |
+QT_MINIMAL="5.12.3" |
372 |
+VIRTUALX_REQUIRED="test" |
373 |
+PYTHON_COMPAT=( python3_{5,6,7} ) |
374 |
+inherit kde5 python-single-r1 |
375 |
+ |
376 |
+if [[ ${KDE_BUILD_TYPE} = release ]]; then |
377 |
+ SRC_URI="mirror://kde/stable/${PN}/${PV}/${P}.tar.gz" |
378 |
+ KEYWORDS="~amd64 ~x86" |
379 |
+fi |
380 |
+ |
381 |
+DESCRIPTION="Free digital painting application. Digital Painting, Creative Freedom!" |
382 |
+HOMEPAGE="https://kde.org/applications/graphics/krita/ https://krita.org/" |
383 |
+LICENSE="GPL-3" |
384 |
+IUSE="color-management fftw gif +gsl heif +jpeg openexr pdf qtmedia +raw tiff vc" |
385 |
+REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
386 |
+ |
387 |
+BDEPEND=" |
388 |
+ dev-cpp/eigen:3 |
389 |
+ dev-lang/perl |
390 |
+ sys-devel/gettext |
391 |
+" |
392 |
+COMMON_DEPEND="${PYTHON_DEPS} |
393 |
+ $(add_frameworks_dep karchive) |
394 |
+ $(add_frameworks_dep kcompletion) |
395 |
+ $(add_frameworks_dep kconfig) |
396 |
+ $(add_frameworks_dep kcoreaddons) |
397 |
+ $(add_frameworks_dep kcrash) |
398 |
+ $(add_frameworks_dep kguiaddons) |
399 |
+ $(add_frameworks_dep ki18n) |
400 |
+ $(add_frameworks_dep kiconthemes) |
401 |
+ $(add_frameworks_dep kitemmodels) |
402 |
+ $(add_frameworks_dep kitemviews) |
403 |
+ $(add_frameworks_dep kwidgetsaddons) |
404 |
+ $(add_frameworks_dep kwindowsystem) |
405 |
+ $(add_frameworks_dep kxmlgui) |
406 |
+ $(add_qt_dep qtconcurrent) |
407 |
+ $(add_qt_dep qtdbus) |
408 |
+ $(add_qt_dep qtdeclarative) |
409 |
+ $(add_qt_dep qtgui '-gles2' '' '5=') |
410 |
+ $(add_qt_dep qtnetwork) |
411 |
+ $(add_qt_dep qtprintsupport) |
412 |
+ $(add_qt_dep qtsvg) |
413 |
+ $(add_qt_dep qtwidgets) |
414 |
+ $(add_qt_dep qtx11extras) |
415 |
+ $(add_qt_dep qtxml) |
416 |
+ dev-libs/boost:= |
417 |
+ dev-libs/quazip |
418 |
+ dev-python/PyQt5[${PYTHON_USEDEP}] |
419 |
+ dev-python/sip[${PYTHON_USEDEP}] |
420 |
+ media-gfx/exiv2:= |
421 |
+ media-libs/lcms |
422 |
+ media-libs/libpng:0= |
423 |
+ sys-libs/zlib |
424 |
+ virtual/opengl |
425 |
+ x11-libs/libX11 |
426 |
+ x11-libs/libxcb |
427 |
+ x11-libs/libXi |
428 |
+ color-management? ( media-libs/opencolorio ) |
429 |
+ fftw? ( sci-libs/fftw:3.0= ) |
430 |
+ gif? ( media-libs/giflib ) |
431 |
+ gsl? ( sci-libs/gsl:= ) |
432 |
+ jpeg? ( virtual/jpeg:0 ) |
433 |
+ heif? ( media-libs/libheif:= ) |
434 |
+ openexr? ( |
435 |
+ media-libs/ilmbase:= |
436 |
+ media-libs/openexr |
437 |
+ ) |
438 |
+ pdf? ( app-text/poppler[qt5] ) |
439 |
+ qtmedia? ( $(add_qt_dep qtmultimedia) ) |
440 |
+ raw? ( media-libs/libraw:= ) |
441 |
+ tiff? ( media-libs/tiff:0 ) |
442 |
+" |
443 |
+DEPEND="${COMMON_DEPEND} |
444 |
+ vc? ( >=dev-libs/vc-1.1.0 ) |
445 |
+" |
446 |
+RDEPEND="${COMMON_DEPEND} |
447 |
+ !app-office/calligra:4[calligra_features_krita] |
448 |
+ !app-office/calligra-l10n:4[calligra_features_krita(+)] |
449 |
+" |
450 |
+ |
451 |
+# bug 630508 |
452 |
+RESTRICT+=" test" |
453 |
+ |
454 |
+PATCHES=( "${FILESDIR}/${P}-tests-optional.patch" ) |
455 |
+ |
456 |
+pkg_setup() { |
457 |
+ python-single-r1_pkg_setup |
458 |
+ kde5_pkg_setup |
459 |
+} |
460 |
+ |
461 |
+src_configure() { |
462 |
+ # Prevent sandbox violation from FindPyQt5.py module |
463 |
+ # See Gentoo-bug 655918 |
464 |
+ addpredict /dev/dri |
465 |
+ |
466 |
+ local mycmakeargs=( |
467 |
+ $(cmake-utils_use_find_package color-management OCIO) |
468 |
+ $(cmake-utils_use_find_package fftw FFTW3) |
469 |
+ $(cmake-utils_use_find_package gif GIF) |
470 |
+ $(cmake-utils_use_find_package gsl GSL) |
471 |
+ $(cmake-utils_use_find_package heif HEIF) |
472 |
+ $(cmake-utils_use_find_package jpeg JPEG) |
473 |
+ $(cmake-utils_use_find_package openexr OpenEXR) |
474 |
+ $(cmake-utils_use_find_package pdf Poppler) |
475 |
+ $(cmake-utils_use_find_package qtmedia Qt5Multimedia) |
476 |
+ $(cmake-utils_use_find_package raw LibRaw) |
477 |
+ $(cmake-utils_use_find_package tiff TIFF) |
478 |
+ $(cmake-utils_use_find_package vc Vc) |
479 |
+ ) |
480 |
+ |
481 |
+ kde5_src_configure |
482 |
+} |