1 |
commit: f3086ea525167697941c8a3edc8f0c0480679e6c |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Jul 31 09:06:12 2019 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Jul 31 09:45:23 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f3086ea5 |
7 |
|
8 |
media-gfx/krita: 4.2.4 version bump |
9 |
|
10 |
Package-Manager: Portage-2.3.69, Repoman-2.3.16 |
11 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
12 |
|
13 |
media-gfx/krita/Manifest | 1 + |
14 |
.../krita/files/krita-4.2.4-tests-optional.patch | 399 +++++++++++++++++++++ |
15 |
media-gfx/krita/krita-4.2.4.ebuild | 117 ++++++ |
16 |
3 files changed, 517 insertions(+) |
17 |
|
18 |
diff --git a/media-gfx/krita/Manifest b/media-gfx/krita/Manifest |
19 |
index 2f9aa5dd8df..8865613c448 100644 |
20 |
--- a/media-gfx/krita/Manifest |
21 |
+++ b/media-gfx/krita/Manifest |
22 |
@@ -1,2 +1,3 @@ |
23 |
DIST krita-4.1.8.tar.gz 244065767 BLAKE2B ba2cbb6d1575cec189e8f10461b720a081f185e1e078fc1e8194c9e6d455dade45f35f1ae5a891717918b3c03863a2a7f3f819753a106ede5695003cfa260157 SHA512 d027444415bffbd6abd29ca69598fdb1e6a652fd4f1944092ff12016a57ff2ee3bab209c93e065905ec9bfea395e50f833915bb924b97a2c119d101057cba6c9 |
24 |
DIST krita-4.2.3.tar.gz 246136588 BLAKE2B 1d7a371f7aeb8cf3747adcd4ab681b0ecf849e64ace16b456e9c2b8ed5fd958be895fd64c623931e47ae81bdf35b3e54161ecb204501f48c97b35ac2dcb8ac59 SHA512 6493740183b360a939d85cc7bc646cb173dc923a3dc63966d0f178bf308675ffead01d3bfefeeffb376f5efd7d90ee7f271b3ff412787123113dd125cc022ab5 |
25 |
+DIST krita-4.2.4.tar.gz 246227960 BLAKE2B 94513a835526ee79c0747ed8c6004666b549d7070c02ad82800555282f319e5aa4dc1f35dafc6b4179284b244c8c80367b453548f5c8cd585154259a0512222a SHA512 c778653f8e72724d16322405fffdff5b82418c5a19021ccbada6a15389afd58f9d9017bc562eb5d91b0d4e10587bca1e616fc7ecc9ec7dbf82fae5247b81ea5e |
26 |
|
27 |
diff --git a/media-gfx/krita/files/krita-4.2.4-tests-optional.patch b/media-gfx/krita/files/krita-4.2.4-tests-optional.patch |
28 |
new file mode 100644 |
29 |
index 00000000000..2f13c999b67 |
30 |
--- /dev/null |
31 |
+++ b/media-gfx/krita/files/krita-4.2.4-tests-optional.patch |
32 |
@@ -0,0 +1,399 @@ |
33 |
+--- a/plugins/filters/CMakeLists.txt 2019-07-31 11:22:19.572862843 +0200 |
34 |
++++ b/plugins/filters/CMakeLists.txt 2019-07-31 11:22:19.576862870 +0200 |
35 |
+@@ -1,4 +1,6 @@ |
36 |
++if(BUILD_TESTING) |
37 |
+ add_subdirectory( tests ) |
38 |
++endif() |
39 |
+ add_subdirectory( blur ) |
40 |
+ add_subdirectory( colors ) |
41 |
+ add_subdirectory( colorsfilters ) |
42 |
+--- a/plugins/filters/unsharp/CMakeLists.txt 2019-07-31 11:22:19.582862912 +0200 |
43 |
++++ b/plugins/filters/unsharp/CMakeLists.txt 2019-07-31 11:22:19.587862947 +0200 |
44 |
+@@ -1,4 +1,6 @@ |
45 |
++if(BUILD_TESTING) |
46 |
+ add_subdirectory( tests ) |
47 |
++endif() |
48 |
+ |
49 |
+ set(kritaunsharpfilter_SOURCES |
50 |
+ unsharp.cpp |
51 |
+--- a/plugins/paintops/defaultpaintops/CMakeLists.txt 2019-07-31 11:22:19.592862983 +0200 |
52 |
++++ b/plugins/paintops/defaultpaintops/CMakeLists.txt 2019-07-31 11:22:19.595863003 +0200 |
53 |
+@@ -1,4 +1,6 @@ |
54 |
++if(BUILD_TESTING) |
55 |
+ add_subdirectory(brush/tests) |
56 |
++endif() |
57 |
+ |
58 |
+ include_directories(brush |
59 |
+ duplicate |
60 |
+--- a/plugins/paintops/libpaintop/CMakeLists.txt 2019-07-31 11:22:19.600863038 +0200 |
61 |
++++ b/plugins/paintops/libpaintop/CMakeLists.txt 2019-07-31 11:22:19.603863060 +0200 |
62 |
+@@ -104,4 +104,6 @@ |
63 |
+ install(TARGETS kritalibpaintop ${INSTALL_TARGETS_DEFAULT_ARGS}) |
64 |
+ |
65 |
+ |
66 |
++if(BUILD_TESTING) |
67 |
+ add_subdirectory(tests) |
68 |
++endif() |
69 |
+--- a/plugins/dockers/lut/CMakeLists.txt 2019-07-31 11:22:19.608863094 +0200 |
70 |
++++ b/plugins/dockers/lut/CMakeLists.txt 2019-07-31 11:22:19.613863129 +0200 |
71 |
+@@ -1,4 +1,6 @@ |
72 |
++if(BUILD_TESTING) |
73 |
+ add_subdirectory(tests) |
74 |
++endif() |
75 |
+ |
76 |
+ include_directories(SYSTEM |
77 |
+ ${OCIO_INCLUDE_DIR} |
78 |
+--- a/plugins/dockers/animation/CMakeLists.txt 2019-07-31 11:22:19.619863171 +0200 |
79 |
++++ b/plugins/dockers/animation/CMakeLists.txt 2019-07-31 11:22:19.624863206 +0200 |
80 |
+@@ -1,5 +1,7 @@ |
81 |
+ if (NOT WIN32 AND NOT APPLE) |
82 |
+- add_subdirectory(tests) |
83 |
++ if(BUILD_TESTING) |
84 |
++add_subdirectory(tests) |
85 |
++endif() |
86 |
+ endif() |
87 |
+ |
88 |
+ set(KRITA_ANIMATIONDOCKER_SOURCES |
89 |
+--- a/plugins/extensions/qmic/CMakeLists.txt 2019-07-31 11:22:19.630863248 +0200 |
90 |
++++ b/plugins/extensions/qmic/CMakeLists.txt 2019-07-31 11:22:19.635863283 +0200 |
91 |
+@@ -20,4 +20,6 @@ |
92 |
+ target_link_libraries(kritaqmic kritaui) |
93 |
+ install(TARGETS kritaqmic DESTINATION ${KRITA_PLUGIN_INSTALL_DIR}) |
94 |
+ |
95 |
++if(BUILD_TESTING) |
96 |
+ add_subdirectory(tests) |
97 |
++endif() |
98 |
+--- a/plugins/tools/basictools/CMakeLists.txt 2019-07-31 11:22:19.641863325 +0200 |
99 |
++++ b/plugins/tools/basictools/CMakeLists.txt 2019-07-31 11:22:19.645863353 +0200 |
100 |
+@@ -1,5 +1,7 @@ |
101 |
+ if (NOT APPLE) |
102 |
+- add_subdirectory(tests) |
103 |
++ if(BUILD_TESTING) |
104 |
++add_subdirectory(tests) |
105 |
++endif() |
106 |
+ endif () |
107 |
+ |
108 |
+ set(kritadefaulttools_SOURCES |
109 |
+--- a/plugins/tools/tool_transform2/CMakeLists.txt 2019-07-31 11:22:19.650863388 +0200 |
110 |
++++ b/plugins/tools/tool_transform2/CMakeLists.txt 2019-07-31 11:22:19.653863409 +0200 |
111 |
+@@ -1,5 +1,7 @@ |
112 |
+ if (NOT WIN32 AND NOT APPLE) |
113 |
+- add_subdirectory(tests) |
114 |
++ if(BUILD_TESTING) |
115 |
++add_subdirectory(tests) |
116 |
++endif() |
117 |
+ endif() |
118 |
+ |
119 |
+ set(kritatooltransform_SOURCES |
120 |
+--- a/plugins/impex/svg/CMakeLists.txt 2019-07-31 11:22:19.658863444 +0200 |
121 |
++++ b/plugins/impex/svg/CMakeLists.txt 2019-07-31 11:22:19.662863472 +0200 |
122 |
+@@ -1,4 +1,6 @@ |
123 |
++if(BUILD_TESTING) |
124 |
+ add_subdirectory(tests) |
125 |
++endif() |
126 |
+ |
127 |
+ set(kritasvgimport_SOURCES |
128 |
+ kis_svg_import.cc |
129 |
+--- a/plugins/impex/brush/CMakeLists.txt 2019-07-31 11:22:19.668863514 +0200 |
130 |
++++ b/plugins/impex/brush/CMakeLists.txt 2019-07-31 11:22:19.672863542 +0200 |
131 |
+@@ -1,4 +1,6 @@ |
132 |
++if(BUILD_TESTING) |
133 |
+ add_subdirectory(tests) |
134 |
++endif() |
135 |
+ |
136 |
+ set(kritabrushexport_PART_SRCS |
137 |
+ kis_brush_export.cpp |
138 |
+--- a/plugins/impex/psd/CMakeLists.txt 2019-07-31 11:22:19.678863584 +0200 |
139 |
++++ b/plugins/impex/psd/CMakeLists.txt 2019-07-31 11:22:19.684863626 +0200 |
140 |
+@@ -1,5 +1,7 @@ |
141 |
+ if (NOT MSVC AND NOT APPLE) |
142 |
+- add_subdirectory(tests) |
143 |
++ if(BUILD_TESTING) |
144 |
++add_subdirectory(tests) |
145 |
++endif() |
146 |
+ endif() |
147 |
+ |
148 |
+ configure_file(config_psd.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config_psd.h) |
149 |
+--- a/plugins/impex/tga/CMakeLists.txt 2019-07-31 11:22:19.690863668 +0200 |
150 |
++++ b/plugins/impex/tga/CMakeLists.txt 2019-07-31 11:22:19.695863703 +0200 |
151 |
+@@ -1,4 +1,6 @@ |
152 |
++if(BUILD_TESTING) |
153 |
+ add_subdirectory(tests) |
154 |
++endif() |
155 |
+ |
156 |
+ set(kritatgaexport_SOURCES |
157 |
+ kis_tga_export.cpp |
158 |
+--- a/plugins/impex/libkra/CMakeLists.txt 2019-07-31 11:22:19.700863738 +0200 |
159 |
++++ b/plugins/impex/libkra/CMakeLists.txt 2019-07-31 11:22:19.704863766 +0200 |
160 |
+@@ -1,4 +1,6 @@ |
161 |
++if(BUILD_TESTING) |
162 |
+ add_subdirectory(tests) |
163 |
++endif() |
164 |
+ |
165 |
+ set(kritalibkra_LIB_SRCS |
166 |
+ kis_colorize_dom_utils.cpp |
167 |
+--- a/plugins/impex/jpeg/CMakeLists.txt 2019-07-31 11:22:19.709863801 +0200 |
168 |
++++ b/plugins/impex/jpeg/CMakeLists.txt 2019-07-31 11:22:19.713863829 +0200 |
169 |
+@@ -1,4 +1,6 @@ |
170 |
++if(BUILD_TESTING) |
171 |
+ add_subdirectory(tests) |
172 |
++endif() |
173 |
+ |
174 |
+ set(ICCJPEG_SOURCE_DIR "${CMAKE_CURRENT_SOURCE_DIR}/3rdparty/lcms") |
175 |
+ |
176 |
+--- a/plugins/impex/gif/CMakeLists.txt 2019-07-31 11:22:19.720863878 +0200 |
177 |
++++ b/plugins/impex/gif/CMakeLists.txt 2019-07-31 11:22:19.726863920 +0200 |
178 |
+@@ -1,4 +1,6 @@ |
179 |
++if(BUILD_TESTING) |
180 |
+ add_subdirectory(tests) |
181 |
++endif() |
182 |
+ |
183 |
+ set(kritagifexport_SOURCES |
184 |
+ kis_gif_export.cpp |
185 |
+--- a/plugins/impex/exr/CMakeLists.txt 2019-07-31 11:22:19.732863962 +0200 |
186 |
++++ b/plugins/impex/exr/CMakeLists.txt 2019-07-31 11:22:19.736863990 +0200 |
187 |
+@@ -1,4 +1,6 @@ |
188 |
++if(BUILD_TESTING) |
189 |
+ add_subdirectory(tests) |
190 |
++endif() |
191 |
+ |
192 |
+ include_directories(SYSTEM ${OPENEXR_INCLUDE_DIR} ) |
193 |
+ |
194 |
+--- a/plugins/impex/xcf/CMakeLists.txt 2019-07-31 11:22:19.740864018 +0200 |
195 |
++++ b/plugins/impex/xcf/CMakeLists.txt 2019-07-31 11:22:19.744864046 +0200 |
196 |
+@@ -1,4 +1,6 @@ |
197 |
++if(BUILD_TESTING) |
198 |
+ add_subdirectory(tests) |
199 |
++endif() |
200 |
+ |
201 |
+ set(XCFTOOLS_SOURCE_DIR "${CMAKE_CURRENT_SOURCE_DIR}/3rdparty/xcftools") |
202 |
+ |
203 |
+--- a/plugins/impex/tiff/CMakeLists.txt 2019-07-31 11:22:19.750864088 +0200 |
204 |
++++ b/plugins/impex/tiff/CMakeLists.txt 2019-07-31 11:22:19.755864123 +0200 |
205 |
+@@ -1,4 +1,6 @@ |
206 |
++if(BUILD_TESTING) |
207 |
+ add_subdirectory(tests) |
208 |
++endif() |
209 |
+ |
210 |
+ set(libkritatiffconverter_LIB_SRCS |
211 |
+ kis_tiff_converter.cc |
212 |
+--- a/plugins/impex/ora/CMakeLists.txt 2019-07-31 11:22:19.762864172 +0200 |
213 |
++++ b/plugins/impex/ora/CMakeLists.txt 2019-07-31 11:22:19.767864207 +0200 |
214 |
+@@ -1,4 +1,6 @@ |
215 |
++if(BUILD_TESTING) |
216 |
+ add_subdirectory(tests) |
217 |
++endif() |
218 |
+ |
219 |
+ set(libkritaconverter_LIB_SRCS |
220 |
+ ora_converter.cpp |
221 |
+--- a/plugins/impex/heif/CMakeLists.txt 2019-07-31 11:22:19.774864256 +0200 |
222 |
++++ b/plugins/impex/heif/CMakeLists.txt 2019-07-31 11:22:19.778864284 +0200 |
223 |
+@@ -1,4 +1,6 @@ |
224 |
++if(BUILD_TESTING) |
225 |
+ add_subdirectory(tests) |
226 |
++endif() |
227 |
+ |
228 |
+ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${HEIF_CFLAGS}") |
229 |
+ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${HEIF_CFLAGS}") |
230 |
+--- a/plugins/impex/pdf/CMakeLists.txt 2019-07-31 11:22:19.783864319 +0200 |
231 |
++++ b/plugins/impex/pdf/CMakeLists.txt 2019-07-31 11:22:19.788864354 +0200 |
232 |
+@@ -1,4 +1,6 @@ |
233 |
++if(BUILD_TESTING) |
234 |
+ add_subdirectory(tests) |
235 |
++endif() |
236 |
+ |
237 |
+ set(kritapdfimport_SOURCES kis_pdf_import.cpp kis_pdf_import_widget.cpp ) |
238 |
+ |
239 |
+--- a/plugins/impex/csv/CMakeLists.txt 2019-07-31 11:22:19.796864410 +0200 |
240 |
++++ b/plugins/impex/csv/CMakeLists.txt 2019-07-31 11:22:19.803864459 +0200 |
241 |
+@@ -1,4 +1,6 @@ |
242 |
++if(BUILD_TESTING) |
243 |
+ add_subdirectory(tests) |
244 |
++endif() |
245 |
+ |
246 |
+ # import |
247 |
+ |
248 |
+--- a/plugins/impex/heightmap/CMakeLists.txt 2019-07-31 11:22:19.810864508 +0200 |
249 |
++++ b/plugins/impex/heightmap/CMakeLists.txt 2019-07-31 11:22:19.819864571 +0200 |
250 |
+@@ -1,4 +1,6 @@ |
251 |
++if(BUILD_TESTING) |
252 |
+ add_subdirectory(tests) |
253 |
++endif() |
254 |
+ |
255 |
+ include_directories( ${CMAKE_CURRENT_SOURCE_DIR} ) |
256 |
+ |
257 |
+--- a/plugins/impex/raw/CMakeLists.txt 2019-07-31 11:22:19.826864620 +0200 |
258 |
++++ b/plugins/impex/raw/CMakeLists.txt 2019-07-31 11:22:19.830864648 +0200 |
259 |
+@@ -1,4 +1,6 @@ |
260 |
++if(BUILD_TESTING) |
261 |
+ add_subdirectory(tests) |
262 |
++endif() |
263 |
+ |
264 |
+ if(OPENEXR_FOUND) |
265 |
+ include_directories(${OPENEXR_INCLUDE_DIR}) |
266 |
+--- a/plugins/impex/qimageio/CMakeLists.txt 2019-07-31 11:22:19.837864697 +0200 |
267 |
++++ b/plugins/impex/qimageio/CMakeLists.txt 2019-07-31 11:22:19.844864746 +0200 |
268 |
+@@ -1,4 +1,6 @@ |
269 |
++if(BUILD_TESTING) |
270 |
+ add_subdirectory(tests) |
271 |
++endif() |
272 |
+ |
273 |
+ set(kritaqimageioexport_SOURCES |
274 |
+ kis_qimageio_export.cpp |
275 |
+--- a/plugins/impex/qml/CMakeLists.txt 2019-07-31 11:22:19.851864795 +0200 |
276 |
++++ b/plugins/impex/qml/CMakeLists.txt 2019-07-31 11:22:19.856864830 +0200 |
277 |
+@@ -1,4 +1,6 @@ |
278 |
++if(BUILD_TESTING) |
279 |
+ add_subdirectory(tests) |
280 |
++endif() |
281 |
+ |
282 |
+ set(kritaqmlexport_SOURCES |
283 |
+ qml_converter.cc |
284 |
+--- a/plugins/impex/png/CMakeLists.txt 2019-07-31 11:22:19.862864872 +0200 |
285 |
++++ b/plugins/impex/png/CMakeLists.txt 2019-07-31 11:22:19.867864907 +0200 |
286 |
+@@ -1,4 +1,6 @@ |
287 |
++if(BUILD_TESTING) |
288 |
+ add_subdirectory(tests) |
289 |
++endif() |
290 |
+ |
291 |
+ set(kritapngimport_SOURCES |
292 |
+ kis_png_import.cc |
293 |
+--- a/plugins/color/lcms2engine/CMakeLists.txt 2019-07-31 11:22:19.872864942 +0200 |
294 |
++++ b/plugins/color/lcms2engine/CMakeLists.txt 2019-07-31 11:22:19.876864969 +0200 |
295 |
+@@ -1,6 +1,8 @@ |
296 |
+ project( lcmsengine ) |
297 |
+ |
298 |
++if(BUILD_TESTING) |
299 |
+ add_subdirectory(tests) |
300 |
++endif() |
301 |
+ |
302 |
+ include_directories(SYSTEM |
303 |
+ ${LCMS2_INCLUDE_DIR} |
304 |
+--- a/libs/brush/CMakeLists.txt 2019-07-31 11:22:19.881865005 +0200 |
305 |
++++ b/libs/brush/CMakeLists.txt 2019-07-31 11:22:19.885865033 +0200 |
306 |
+@@ -1,4 +1,6 @@ |
307 |
++if(BUILD_TESTING) |
308 |
+ add_subdirectory( tests ) |
309 |
++endif() |
310 |
+ |
311 |
+ include_directories(SYSTEM |
312 |
+ ${EIGEN3_INCLUDE_DIR} |
313 |
+--- a/libs/global/CMakeLists.txt 2019-07-31 11:22:19.890865068 +0200 |
314 |
++++ b/libs/global/CMakeLists.txt 2019-07-31 11:22:19.896865110 +0200 |
315 |
+@@ -1,4 +1,6 @@ |
316 |
++if(BUILD_TESTING) |
317 |
+ add_subdirectory( tests ) |
318 |
++endif() |
319 |
+ |
320 |
+ include(CheckFunctionExists) |
321 |
+ check_function_exists(backtrace HAVE_BACKTRACE) |
322 |
+--- a/libs/image/CMakeLists.txt 2019-07-31 11:22:19.902865151 +0200 |
323 |
++++ b/libs/image/CMakeLists.txt 2019-07-31 11:22:19.908865194 +0200 |
324 |
+@@ -1,4 +1,6 @@ |
325 |
++if(BUILD_TESTING) |
326 |
+ add_subdirectory( tests ) |
327 |
++endif() |
328 |
+ |
329 |
+ add_subdirectory( tiles3 ) |
330 |
+ |
331 |
+--- a/libs/image/tiles3/CMakeLists.txt 2019-07-31 11:22:19.913865228 +0200 |
332 |
++++ b/libs/image/tiles3/CMakeLists.txt 2019-07-31 11:22:19.917865256 +0200 |
333 |
+@@ -1 +1,3 @@ |
334 |
++if(BUILD_TESTING) |
335 |
+ add_subdirectory(tests) |
336 |
++endif() |
337 |
+--- a/libs/odf/CMakeLists.txt 2019-07-31 11:22:19.922865291 +0200 |
338 |
++++ b/libs/odf/CMakeLists.txt 2019-07-31 11:22:19.926865319 +0200 |
339 |
+@@ -1,4 +1,6 @@ |
340 |
++if(BUILD_TESTING) |
341 |
+ add_subdirectory( tests ) |
342 |
++endif() |
343 |
+ |
344 |
+ set(kritaodf_LIB_SRCS |
345 |
+ KoOdf.cpp |
346 |
+--- a/libs/metadata/CMakeLists.txt 2019-07-31 11:22:19.930865347 +0200 |
347 |
++++ b/libs/metadata/CMakeLists.txt 2019-07-31 11:22:19.934865376 +0200 |
348 |
+@@ -29,4 +29,6 @@ |
349 |
+ |
350 |
+ install(TARGETS kritametadata ${INSTALL_TARGETS_DEFAULT_ARGS}) |
351 |
+ |
352 |
++if(BUILD_TESTING) |
353 |
+ add_subdirectory(tests) |
354 |
++endif() |
355 |
+--- a/libs/store/CMakeLists.txt 2019-07-31 11:22:19.940865418 +0200 |
356 |
++++ b/libs/store/CMakeLists.txt 2019-07-31 11:22:19.944865445 +0200 |
357 |
+@@ -1,6 +1,8 @@ |
358 |
+ include_directories(${QUAZIP_INCLUDE_DIRS}) |
359 |
+ |
360 |
++if(BUILD_TESTING) |
361 |
+ add_subdirectory(tests) |
362 |
++endif() |
363 |
+ |
364 |
+ set(kritastore_LIB_SRCS |
365 |
+ KoDirectoryStore.cpp |
366 |
+--- a/libs/libkis/CMakeLists.txt 2019-07-31 11:22:19.951865495 +0200 |
367 |
++++ b/libs/libkis/CMakeLists.txt 2019-07-31 11:22:19.958865544 +0200 |
368 |
+@@ -47,4 +47,6 @@ |
369 |
+ install(TARGETS kritalibkis ${INSTALL_TARGETS_DEFAULT_ARGS}) |
370 |
+ |
371 |
+ |
372 |
++if(BUILD_TESTING) |
373 |
+ add_subdirectory(tests) |
374 |
++endif() |
375 |
+--- a/libs/widgetutils/CMakeLists.txt 2019-07-31 11:22:19.968865614 +0200 |
376 |
++++ b/libs/widgetutils/CMakeLists.txt 2019-07-31 11:22:19.981865705 +0200 |
377 |
+@@ -1,4 +1,6 @@ |
378 |
++if(BUILD_TESTING) |
379 |
+ add_subdirectory(tests) |
380 |
++endif() |
381 |
+ |
382 |
+ configure_file(xmlgui/config-xmlgui.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config-xmlgui.h ) |
383 |
+ |
384 |
+--- a/libs/widgets/CMakeLists.txt 2019-07-31 11:22:19.992865782 +0200 |
385 |
++++ b/libs/widgets/CMakeLists.txt 2019-07-31 11:22:20.000865837 +0200 |
386 |
+@@ -1,4 +1,6 @@ |
387 |
++if(BUILD_TESTING) |
388 |
+ add_subdirectory( tests ) |
389 |
++endif() |
390 |
+ |
391 |
+ include_directories(${CMAKE_CURRENT_BINARY_DIR}) |
392 |
+ |
393 |
+--- a/libs/flake/CMakeLists.txt 2019-07-31 11:22:20.010865908 +0200 |
394 |
++++ b/libs/flake/CMakeLists.txt 2019-07-31 11:22:20.017865956 +0200 |
395 |
+@@ -9,8 +9,12 @@ |
396 |
+ ) |
397 |
+ |
398 |
+ add_subdirectory(styles) |
399 |
++if(BUILD_TESTING) |
400 |
+ add_subdirectory(tests) |
401 |
++endif() |
402 |
++if(BUILD_TESTING) |
403 |
+ add_subdirectory(resources/tests) |
404 |
++endif() |
405 |
+ |
406 |
+ set(kritaflake_SRCS |
407 |
+ KoGradientHelper.cpp |
408 |
+--- a/libs/ui/CMakeLists.txt 2019-07-31 11:22:20.029866040 +0200 |
409 |
++++ b/libs/ui/CMakeLists.txt 2019-07-31 11:22:20.039866111 +0200 |
410 |
+@@ -7,7 +7,9 @@ |
411 |
+ ${OCIO_INCLUDE_DIR} |
412 |
+ ) |
413 |
+ |
414 |
++if(BUILD_TESTING) |
415 |
+ add_subdirectory( tests ) |
416 |
++endif() |
417 |
+ |
418 |
+ if (APPLE) |
419 |
+ find_library(FOUNDATION_LIBRARY Foundation) |
420 |
+--- a/libs/pigment/CMakeLists.txt 2019-07-31 11:22:20.050866188 +0200 |
421 |
++++ b/libs/pigment/CMakeLists.txt 2019-07-31 11:22:20.057866236 +0200 |
422 |
+@@ -31,7 +31,9 @@ |
423 |
+ message("${__per_arch_factory_objs}") |
424 |
+ endif() |
425 |
+ |
426 |
++if(BUILD_TESTING) |
427 |
+ add_subdirectory(tests) |
428 |
++endif() |
429 |
+ add_subdirectory(benchmarks) |
430 |
+ |
431 |
+ set(kritapigment_SRCS |
432 |
|
433 |
diff --git a/media-gfx/krita/krita-4.2.4.ebuild b/media-gfx/krita/krita-4.2.4.ebuild |
434 |
new file mode 100644 |
435 |
index 00000000000..62966b4d812 |
436 |
--- /dev/null |
437 |
+++ b/media-gfx/krita/krita-4.2.4.ebuild |
438 |
@@ -0,0 +1,117 @@ |
439 |
+# Copyright 1999-2019 Gentoo Authors |
440 |
+# Distributed under the terms of the GNU General Public License v2 |
441 |
+ |
442 |
+EAPI=7 |
443 |
+ |
444 |
+KDE_TEST="forceoptional" |
445 |
+VIRTUALX_REQUIRED="test" |
446 |
+PYTHON_COMPAT=( python3_{5,6,7} ) |
447 |
+inherit kde5 python-single-r1 |
448 |
+ |
449 |
+if [[ ${KDE_BUILD_TYPE} = release ]]; then |
450 |
+ SRC_URI="mirror://kde/stable/${PN}/${PV}/${P}.tar.gz" |
451 |
+ KEYWORDS="~amd64 ~x86" |
452 |
+fi |
453 |
+ |
454 |
+DESCRIPTION="Free digital painting application. Digital Painting, Creative Freedom!" |
455 |
+HOMEPAGE="https://kde.org/applications/graphics/krita/ https://krita.org/" |
456 |
+LICENSE="GPL-3" |
457 |
+IUSE="color-management fftw gif +gsl heif +jpeg openexr pdf qtmedia +raw tiff vc" |
458 |
+REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
459 |
+ |
460 |
+BDEPEND=" |
461 |
+ dev-cpp/eigen:3 |
462 |
+ dev-lang/perl |
463 |
+ sys-devel/gettext |
464 |
+" |
465 |
+COMMON_DEPEND="${PYTHON_DEPS} |
466 |
+ $(add_frameworks_dep karchive) |
467 |
+ $(add_frameworks_dep kcompletion) |
468 |
+ $(add_frameworks_dep kconfig) |
469 |
+ $(add_frameworks_dep kcoreaddons) |
470 |
+ $(add_frameworks_dep kcrash) |
471 |
+ $(add_frameworks_dep kguiaddons) |
472 |
+ $(add_frameworks_dep ki18n) |
473 |
+ $(add_frameworks_dep kiconthemes) |
474 |
+ $(add_frameworks_dep kitemmodels) |
475 |
+ $(add_frameworks_dep kitemviews) |
476 |
+ $(add_frameworks_dep kwidgetsaddons) |
477 |
+ $(add_frameworks_dep kwindowsystem) |
478 |
+ $(add_frameworks_dep kxmlgui) |
479 |
+ $(add_qt_dep qtconcurrent) |
480 |
+ $(add_qt_dep qtdbus) |
481 |
+ $(add_qt_dep qtdeclarative) |
482 |
+ $(add_qt_dep qtgui '-gles2' '' '5=') |
483 |
+ $(add_qt_dep qtnetwork) |
484 |
+ $(add_qt_dep qtprintsupport) |
485 |
+ $(add_qt_dep qtsvg) |
486 |
+ $(add_qt_dep qtwidgets) |
487 |
+ $(add_qt_dep qtx11extras) |
488 |
+ $(add_qt_dep qtxml) |
489 |
+ dev-libs/boost:= |
490 |
+ dev-libs/quazip |
491 |
+ dev-python/PyQt5[${PYTHON_USEDEP}] |
492 |
+ dev-python/sip[${PYTHON_USEDEP}] |
493 |
+ media-gfx/exiv2:= |
494 |
+ media-libs/lcms |
495 |
+ media-libs/libpng:0= |
496 |
+ sys-libs/zlib |
497 |
+ virtual/opengl |
498 |
+ x11-libs/libX11 |
499 |
+ x11-libs/libxcb |
500 |
+ x11-libs/libXi |
501 |
+ color-management? ( media-libs/opencolorio ) |
502 |
+ fftw? ( sci-libs/fftw:3.0= ) |
503 |
+ gif? ( media-libs/giflib ) |
504 |
+ gsl? ( sci-libs/gsl:= ) |
505 |
+ jpeg? ( virtual/jpeg:0 ) |
506 |
+ heif? ( media-libs/libheif:= ) |
507 |
+ openexr? ( |
508 |
+ media-libs/ilmbase:= |
509 |
+ media-libs/openexr |
510 |
+ ) |
511 |
+ pdf? ( app-text/poppler[qt5] ) |
512 |
+ qtmedia? ( $(add_qt_dep qtmultimedia) ) |
513 |
+ raw? ( media-libs/libraw:= ) |
514 |
+ tiff? ( media-libs/tiff:0 ) |
515 |
+" |
516 |
+DEPEND="${COMMON_DEPEND} |
517 |
+ vc? ( >=dev-libs/vc-1.1.0 ) |
518 |
+" |
519 |
+RDEPEND="${COMMON_DEPEND} |
520 |
+ !app-office/calligra:4[calligra_features_krita] |
521 |
+ !app-office/calligra-l10n:4[calligra_features_krita(+)] |
522 |
+" |
523 |
+ |
524 |
+# bug 630508 |
525 |
+RESTRICT+=" test" |
526 |
+ |
527 |
+PATCHES=( "${FILESDIR}"/${P}-tests-optional.patch ) |
528 |
+ |
529 |
+pkg_setup() { |
530 |
+ python-single-r1_pkg_setup |
531 |
+ kde5_pkg_setup |
532 |
+} |
533 |
+ |
534 |
+src_configure() { |
535 |
+ # Prevent sandbox violation from FindPyQt5.py module |
536 |
+ # See Gentoo-bug 655918 |
537 |
+ addpredict /dev/dri |
538 |
+ |
539 |
+ local mycmakeargs=( |
540 |
+ $(cmake-utils_use_find_package color-management OCIO) |
541 |
+ $(cmake-utils_use_find_package fftw FFTW3) |
542 |
+ $(cmake-utils_use_find_package gif GIF) |
543 |
+ $(cmake-utils_use_find_package gsl GSL) |
544 |
+ $(cmake-utils_use_find_package heif HEIF) |
545 |
+ $(cmake-utils_use_find_package jpeg JPEG) |
546 |
+ $(cmake-utils_use_find_package openexr OpenEXR) |
547 |
+ $(cmake-utils_use_find_package pdf Poppler) |
548 |
+ $(cmake-utils_use_find_package qtmedia Qt5Multimedia) |
549 |
+ $(cmake-utils_use_find_package raw LibRaw) |
550 |
+ $(cmake-utils_use_find_package tiff TIFF) |
551 |
+ $(cmake-utils_use_find_package vc Vc) |
552 |
+ ) |
553 |
+ |
554 |
+ kde5_src_configure |
555 |
+} |