Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/tinyxml2/, media-libs/libaom/, media-libs/avidemux-core/, ...
Date: Tue, 31 Dec 2019 17:24:07
Message-Id: 1577813016.7b0e0aecbcb9b247681a2c87be51d5e43404f7e5.asturm@gentoo
1 commit: 7b0e0aecbcb9b247681a2c87be51d5e43404f7e5
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Mon Dec 30 18:28:38 2019 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Tue Dec 31 17:23:36 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7b0e0aec
7
8 */*: Switch media-video proj packages to cmake.eclass
9
10 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
11
12 dev-cpp/nlohmann_json/nlohmann_json-3.6.1-r1.ebuild | 8 ++++----
13 dev-cpp/nlohmann_json/nlohmann_json-3.7.0.ebuild | 8 ++++----
14 dev-libs/libebml/libebml-1.3.9.ebuild | 4 ++--
15 dev-libs/pugixml/pugixml-1.9-r1.ebuild | 9 +--------
16 dev-libs/pugixml/pugixml-9999.ebuild | 9 +--------
17 dev-libs/tinyxml2/tinyxml2-7.1.0.ebuild | 3 ++-
18 media-libs/avidemux-core/avidemux-core-2.7.3.ebuild | 10 +++++-----
19 media-libs/avidemux-core/avidemux-core-2.7.4.ebuild | 10 +++++-----
20 .../avidemux-plugins/avidemux-plugins-2.7.3.ebuild | 12 ++++++------
21 .../avidemux-plugins/avidemux-plugins-2.7.4.ebuild | 12 ++++++------
22 media-libs/gmmlib/gmmlib-19.2.1.ebuild | 3 ++-
23 media-libs/gmmlib/gmmlib-19.2.3.ebuild | 3 ++-
24 media-libs/gmmlib/gmmlib-19.2.4.ebuild | 3 ++-
25 media-libs/gmmlib/gmmlib-19.3.4.ebuild | 3 ++-
26 media-libs/gmmlib/gmmlib-9999.ebuild | 3 ++-
27 media-libs/libaom/libaom-9999.ebuild | 5 +++--
28 media-libs/libmatroska/libmatroska-1.5.2.ebuild | 4 ++--
29 .../libopenshot-audio-0.1.9_pre20190502.ebuild | 2 +-
30 .../libopenshot/libopenshot-0.2.4_pre20190609.ebuild | 16 ++++++++--------
31 media-video/avidemux/avidemux-2.7.3.ebuild | 12 ++++++------
32 media-video/avidemux/avidemux-2.7.4-r1.ebuild | 12 ++++++------
33 .../ffmpegthumbnailer/ffmpegthumbnailer-2.2.0-r1.ebuild | 6 +++---
34 22 files changed, 75 insertions(+), 82 deletions(-)
35
36 diff --git a/dev-cpp/nlohmann_json/nlohmann_json-3.6.1-r1.ebuild b/dev-cpp/nlohmann_json/nlohmann_json-3.6.1-r1.ebuild
37 index d7e7355ddcf..3f251a81fd2 100644
38 --- a/dev-cpp/nlohmann_json/nlohmann_json-3.6.1-r1.ebuild
39 +++ b/dev-cpp/nlohmann_json/nlohmann_json-3.6.1-r1.ebuild
40 @@ -3,7 +3,7 @@
41
42 EAPI=7
43
44 -inherit cmake-utils
45 +inherit cmake
46
47 DESCRIPTION="JSON for Modern C++"
48 HOMEPAGE="https://github.com/nlohmann/json https://nlohmann.github.io/json/"
49 @@ -27,11 +27,11 @@ src_configure() {
50 -DJSON_MultipleHeaders=ON
51 )
52
53 - cmake-utils_src_configure
54 + cmake_src_configure
55 }
56
57 src_compile() {
58 - cmake-utils_src_compile
59 + cmake_src_compile
60 use doc && emake -C doc
61 }
62
63 @@ -40,6 +40,6 @@ src_test() {
64 }
65
66 src_install() {
67 - cmake-utils_src_install
68 + cmake_src_install
69 use doc && dodoc -r doc/html
70 }
71
72 diff --git a/dev-cpp/nlohmann_json/nlohmann_json-3.7.0.ebuild b/dev-cpp/nlohmann_json/nlohmann_json-3.7.0.ebuild
73 index ed480ec910f..6c95f15b734 100644
74 --- a/dev-cpp/nlohmann_json/nlohmann_json-3.7.0.ebuild
75 +++ b/dev-cpp/nlohmann_json/nlohmann_json-3.7.0.ebuild
76 @@ -3,7 +3,7 @@
77
78 EAPI=7
79
80 -inherit cmake-utils
81 +inherit cmake
82
83 DESCRIPTION="JSON for Modern C++"
84 HOMEPAGE="https://github.com/nlohmann/json https://nlohmann.github.io/json/"
85 @@ -27,11 +27,11 @@ src_configure() {
86 -DJSON_MultipleHeaders=ON
87 )
88
89 - cmake-utils_src_configure
90 + cmake_src_configure
91 }
92
93 src_compile() {
94 - cmake-utils_src_compile
95 + cmake_src_compile
96 use doc && emake -C doc
97 }
98
99 @@ -40,6 +40,6 @@ src_test() {
100 }
101
102 src_install() {
103 - cmake-utils_src_install
104 + cmake_src_install
105 use doc && dodoc -r doc/html
106 }
107
108 diff --git a/dev-libs/libebml/libebml-1.3.9.ebuild b/dev-libs/libebml/libebml-1.3.9.ebuild
109 index 95e1aa1e684..99829f7ce5b 100644
110 --- a/dev-libs/libebml/libebml-1.3.9.ebuild
111 +++ b/dev-libs/libebml/libebml-1.3.9.ebuild
112 @@ -3,7 +3,7 @@
113
114 EAPI=7
115
116 -inherit cmake-utils
117 +inherit cmake
118
119 DESCRIPTION="Extensible binary format library (kinda like XML)"
120 HOMEPAGE="https://www.matroska.org/ https://github.com/Matroska-Org/libebml/"
121 @@ -16,5 +16,5 @@ IUSE=""
122
123 src_configure() {
124 local mycmakeargs=( -DBUILD_SHARED_LIBS=YES )
125 - cmake-utils_src_configure
126 + cmake_src_configure
127 }
128
129 diff --git a/dev-libs/pugixml/pugixml-1.9-r1.ebuild b/dev-libs/pugixml/pugixml-1.9-r1.ebuild
130 index a828ba74f2e..98f20245f46 100644
131 --- a/dev-libs/pugixml/pugixml-1.9-r1.ebuild
132 +++ b/dev-libs/pugixml/pugixml-1.9-r1.ebuild
133 @@ -3,7 +3,7 @@
134
135 EAPI=7
136
137 -inherit cmake-utils
138 +inherit cmake
139
140 if [[ ${PV} == *9999 ]] ; then
141 EGIT_REPO_URI="https://github.com/zeux/${PN}.git"
142 @@ -24,10 +24,3 @@ PATCHES=(
143 "${FILESDIR}/${P}-Use-CMAKE_INSTALL_LIBDIR-for-pugixml.pc.patch"
144 "${FILESDIR}/${P}-pkg-config-Use-CMake-GnuInstallDirs-FULL-vars.patch"
145 )
146 -
147 -src_configure() {
148 - local mycmakeargs=(
149 - -DBUILD_SHARED_LIBS=ON
150 - )
151 - cmake-utils_src_configure
152 -}
153
154 diff --git a/dev-libs/pugixml/pugixml-9999.ebuild b/dev-libs/pugixml/pugixml-9999.ebuild
155 index bd5bdeffb3a..13e70345888 100644
156 --- a/dev-libs/pugixml/pugixml-9999.ebuild
157 +++ b/dev-libs/pugixml/pugixml-9999.ebuild
158 @@ -3,7 +3,7 @@
159
160 EAPI=7
161
162 -inherit cmake-utils
163 +inherit cmake
164
165 if [[ ${PV} == *9999 ]] ; then
166 EGIT_REPO_URI="https://github.com/zeux/${PN}.git"
167 @@ -18,10 +18,3 @@ HOMEPAGE="https://pugixml.org/ https://github.com/zeux/pugixml/"
168
169 LICENSE="MIT"
170 SLOT="0"
171 -
172 -src_configure() {
173 - local mycmakeargs=(
174 - -DBUILD_SHARED_LIBS=ON
175 - )
176 - cmake-utils_src_configure
177 -}
178
179 diff --git a/dev-libs/tinyxml2/tinyxml2-7.1.0.ebuild b/dev-libs/tinyxml2/tinyxml2-7.1.0.ebuild
180 index 32bfbfb71ac..a9d54f3bf0f 100644
181 --- a/dev-libs/tinyxml2/tinyxml2-7.1.0.ebuild
182 +++ b/dev-libs/tinyxml2/tinyxml2-7.1.0.ebuild
183 @@ -3,6 +3,7 @@
184
185 EAPI=7
186
187 +CMAKE_ECLASS=cmake
188 inherit cmake-multilib
189
190 DESCRIPTION="A simple, small, efficient, C++ XML parser"
191 @@ -17,5 +18,5 @@ RESTRICT="!test? ( test )"
192
193 multilib_src_configure() {
194 local mycmakeargs=( -DBUILD_TESTING=$(usex test) )
195 - cmake-utils_src_configure
196 + cmake_src_configure
197 }
198
199 diff --git a/media-libs/avidemux-core/avidemux-core-2.7.3.ebuild b/media-libs/avidemux-core/avidemux-core-2.7.3.ebuild
200 index 5f88c831da3..1ed1591e1a5 100644
201 --- a/media-libs/avidemux-core/avidemux-core-2.7.3.ebuild
202 +++ b/media-libs/avidemux-core/avidemux-core-2.7.3.ebuild
203 @@ -5,7 +5,7 @@ EAPI=7
204
205 CMAKE_MAKEFILE_GENERATOR="emake"
206
207 -inherit cmake-utils
208 +inherit cmake
209
210 DESCRIPTION="Core libraries for simple video cutting, filtering and encoding tasks"
211 HOMEPAGE="http://fixounet.free.fr/avidemux"
212 @@ -42,7 +42,7 @@ CMAKE_USE_DIR="${S}/${PN/-/_}"
213 PATCHES=( "${FILESDIR}"/${P}-permissions.patch )
214
215 src_prepare() {
216 - cmake-utils_src_prepare
217 + cmake_src_prepare
218
219 if use system-ffmpeg ; then
220 # Preparations to support the system ffmpeg. Currently fails because
221 @@ -76,13 +76,13 @@ src_configure() {
222 mycmakeargs+=( -DVERBOSE=1 -DADM_DEBUG=1 )
223 fi
224
225 - cmake-utils_src_configure
226 + cmake_src_configure
227 }
228
229 src_compile() {
230 - cmake-utils_src_compile
231 + cmake_src_compile
232 }
233
234 src_install() {
235 - cmake-utils_src_install
236 + cmake_src_install
237 }
238
239 diff --git a/media-libs/avidemux-core/avidemux-core-2.7.4.ebuild b/media-libs/avidemux-core/avidemux-core-2.7.4.ebuild
240 index b47c3bc0164..1143e35d737 100644
241 --- a/media-libs/avidemux-core/avidemux-core-2.7.4.ebuild
242 +++ b/media-libs/avidemux-core/avidemux-core-2.7.4.ebuild
243 @@ -5,7 +5,7 @@ EAPI=7
244
245 CMAKE_MAKEFILE_GENERATOR="emake"
246
247 -inherit cmake-utils
248 +inherit cmake
249
250 DESCRIPTION="Core libraries for simple video cutting, filtering and encoding tasks"
251 HOMEPAGE="http://fixounet.free.fr/avidemux"
252 @@ -40,7 +40,7 @@ S="${WORKDIR}/avidemux2-${PV}"
253 CMAKE_USE_DIR="${S}/${PN/-/_}"
254
255 src_prepare() {
256 - cmake-utils_src_prepare
257 + cmake_src_prepare
258
259 if use system-ffmpeg ; then
260 # Preparations to support the system ffmpeg. Currently fails because
261 @@ -72,13 +72,13 @@ src_configure() {
262
263 use debug && mycmakeargs+=( -DVERBOSE=1 -DADM_DEBUG=1 )
264
265 - cmake-utils_src_configure
266 + cmake_src_configure
267 }
268
269 src_compile() {
270 - cmake-utils_src_compile
271 + cmake_src_compile
272 }
273
274 src_install() {
275 - cmake-utils_src_install
276 + cmake_src_install
277 }
278
279 diff --git a/media-libs/avidemux-plugins/avidemux-plugins-2.7.3.ebuild b/media-libs/avidemux-plugins/avidemux-plugins-2.7.3.ebuild
280 index 7345ea0cb70..0650e3a9f4d 100644
281 --- a/media-libs/avidemux-plugins/avidemux-plugins-2.7.3.ebuild
282 +++ b/media-libs/avidemux-plugins/avidemux-plugins-2.7.3.ebuild
283 @@ -6,7 +6,7 @@ EAPI=7
284 CMAKE_MAKEFILE_GENERATOR="emake"
285 PYTHON_COMPAT=( python{2_7,3_6} )
286
287 -inherit cmake-utils python-single-r1
288 +inherit cmake python-single-r1
289
290 DESCRIPTION="Plugins for the video editor media-video/avidemux"
291 HOMEPAGE="http://fixounet.free.fr/avidemux"
292 @@ -83,7 +83,7 @@ PATCHES=( "${FILESDIR}"/${PN}-2.6.20-optional-pulse.patch )
293 src_prepare() {
294 default
295
296 - # Don't reapply PATCHES during cmake-utils_src_prepare
297 + # Don't reapply PATCHES during cmake_src_prepare
298 unset PATCHES
299
300 processes="buildPluginsCommon:avidemux_plugins
301 @@ -91,7 +91,7 @@ src_prepare() {
302 use qt5 && processes+=" buildPluginsQt4:avidemux_plugins"
303
304 for process in ${processes} ; do
305 - CMAKE_USE_DIR="${S}"/${process#*:} cmake-utils_src_prepare
306 + CMAKE_USE_DIR="${S}"/${process#*:} cmake_src_prepare
307 done
308 }
309
310 @@ -146,20 +146,20 @@ src_configure() {
311 mycmakeargs+=( -DVERBOSE=1 -DADM_DEBUG=1 )
312 fi
313
314 - CMAKE_USE_DIR="${S}"/${process#*:} BUILD_DIR="${build}" cmake-utils_src_configure
315 + CMAKE_USE_DIR="${S}"/${process#*:} BUILD_DIR="${build}" cmake_src_configure
316 done
317 }
318
319 src_compile() {
320 for process in ${processes} ; do
321 local build="${WORKDIR}/${P}_build/${process%%:*}"
322 - BUILD_DIR="${build}" cmake-utils_src_compile
323 + BUILD_DIR="${build}" cmake_src_compile
324 done
325 }
326
327 src_install() {
328 for process in ${processes} ; do
329 local build="${WORKDIR}/${P}_build/${process%%:*}"
330 - BUILD_DIR="${build}" cmake-utils_src_install
331 + BUILD_DIR="${build}" cmake_src_install
332 done
333 }
334
335 diff --git a/media-libs/avidemux-plugins/avidemux-plugins-2.7.4.ebuild b/media-libs/avidemux-plugins/avidemux-plugins-2.7.4.ebuild
336 index 2a7b0e7ee51..cad08c9330b 100644
337 --- a/media-libs/avidemux-plugins/avidemux-plugins-2.7.4.ebuild
338 +++ b/media-libs/avidemux-plugins/avidemux-plugins-2.7.4.ebuild
339 @@ -6,7 +6,7 @@ EAPI=7
340 CMAKE_MAKEFILE_GENERATOR="emake"
341 PYTHON_COMPAT=( python{2_7,3_6} )
342
343 -inherit cmake-utils python-single-r1
344 +inherit cmake python-single-r1
345
346 DESCRIPTION="Plugins for the video editor media-video/avidemux"
347 HOMEPAGE="http://fixounet.free.fr/avidemux"
348 @@ -83,7 +83,7 @@ PATCHES=( "${FILESDIR}"/${PN}-2.6.20-optional-pulse.patch )
349 src_prepare() {
350 default
351
352 - # Don't reapply PATCHES during cmake-utils_src_prepare
353 + # Don't reapply PATCHES during cmake_src_prepare
354 unset PATCHES
355
356 processes="buildPluginsCommon:avidemux_plugins
357 @@ -91,7 +91,7 @@ src_prepare() {
358 use qt5 && processes+=" buildPluginsQt4:avidemux_plugins"
359
360 for process in ${processes} ; do
361 - CMAKE_USE_DIR="${S}"/${process#*:} cmake-utils_src_prepare
362 + CMAKE_USE_DIR="${S}"/${process#*:} cmake_src_prepare
363 done
364 }
365
366 @@ -142,20 +142,20 @@ src_configure() {
367 use qt5 && mycmakeargs+=( -DENABLE_QT5=True )
368 use debug && mycmakeargs+=( -DVERBOSE=1 -DADM_DEBUG=1 )
369
370 - CMAKE_USE_DIR="${S}"/${process#*:} BUILD_DIR="${build}" cmake-utils_src_configure
371 + CMAKE_USE_DIR="${S}"/${process#*:} BUILD_DIR="${build}" cmake_src_configure
372 done
373 }
374
375 src_compile() {
376 for process in ${processes} ; do
377 local build="${WORKDIR}/${P}_build/${process%%:*}"
378 - BUILD_DIR="${build}" cmake-utils_src_compile
379 + BUILD_DIR="${build}" cmake_src_compile
380 done
381 }
382
383 src_install() {
384 for process in ${processes} ; do
385 local build="${WORKDIR}/${P}_build/${process%%:*}"
386 - BUILD_DIR="${build}" cmake-utils_src_install
387 + BUILD_DIR="${build}" cmake_src_install
388 done
389 }
390
391 diff --git a/media-libs/gmmlib/gmmlib-19.2.1.ebuild b/media-libs/gmmlib/gmmlib-19.2.1.ebuild
392 index aee2550263c..814f7e0d4a7 100644
393 --- a/media-libs/gmmlib/gmmlib-19.2.1.ebuild
394 +++ b/media-libs/gmmlib/gmmlib-19.2.1.ebuild
395 @@ -3,6 +3,7 @@
396
397 EAPI=7
398
399 +CMAKE_ECLASS=cmake
400 inherit cmake-multilib
401
402 if [[ ${PV} == *9999 ]] ; then
403 @@ -37,5 +38,5 @@ multilib_src_configure() {
404 # -DMEDIA_RUN_TEST_SUITE=OFF
405 # )
406
407 - cmake-utils_src_configure
408 + cmake_src_configure
409 }
410
411 diff --git a/media-libs/gmmlib/gmmlib-19.2.3.ebuild b/media-libs/gmmlib/gmmlib-19.2.3.ebuild
412 index aee2550263c..814f7e0d4a7 100644
413 --- a/media-libs/gmmlib/gmmlib-19.2.3.ebuild
414 +++ b/media-libs/gmmlib/gmmlib-19.2.3.ebuild
415 @@ -3,6 +3,7 @@
416
417 EAPI=7
418
419 +CMAKE_ECLASS=cmake
420 inherit cmake-multilib
421
422 if [[ ${PV} == *9999 ]] ; then
423 @@ -37,5 +38,5 @@ multilib_src_configure() {
424 # -DMEDIA_RUN_TEST_SUITE=OFF
425 # )
426
427 - cmake-utils_src_configure
428 + cmake_src_configure
429 }
430
431 diff --git a/media-libs/gmmlib/gmmlib-19.2.4.ebuild b/media-libs/gmmlib/gmmlib-19.2.4.ebuild
432 index aee2550263c..814f7e0d4a7 100644
433 --- a/media-libs/gmmlib/gmmlib-19.2.4.ebuild
434 +++ b/media-libs/gmmlib/gmmlib-19.2.4.ebuild
435 @@ -3,6 +3,7 @@
436
437 EAPI=7
438
439 +CMAKE_ECLASS=cmake
440 inherit cmake-multilib
441
442 if [[ ${PV} == *9999 ]] ; then
443 @@ -37,5 +38,5 @@ multilib_src_configure() {
444 # -DMEDIA_RUN_TEST_SUITE=OFF
445 # )
446
447 - cmake-utils_src_configure
448 + cmake_src_configure
449 }
450
451 diff --git a/media-libs/gmmlib/gmmlib-19.3.4.ebuild b/media-libs/gmmlib/gmmlib-19.3.4.ebuild
452 index aee2550263c..814f7e0d4a7 100644
453 --- a/media-libs/gmmlib/gmmlib-19.3.4.ebuild
454 +++ b/media-libs/gmmlib/gmmlib-19.3.4.ebuild
455 @@ -3,6 +3,7 @@
456
457 EAPI=7
458
459 +CMAKE_ECLASS=cmake
460 inherit cmake-multilib
461
462 if [[ ${PV} == *9999 ]] ; then
463 @@ -37,5 +38,5 @@ multilib_src_configure() {
464 # -DMEDIA_RUN_TEST_SUITE=OFF
465 # )
466
467 - cmake-utils_src_configure
468 + cmake_src_configure
469 }
470
471 diff --git a/media-libs/gmmlib/gmmlib-9999.ebuild b/media-libs/gmmlib/gmmlib-9999.ebuild
472 index aee2550263c..814f7e0d4a7 100644
473 --- a/media-libs/gmmlib/gmmlib-9999.ebuild
474 +++ b/media-libs/gmmlib/gmmlib-9999.ebuild
475 @@ -3,6 +3,7 @@
476
477 EAPI=7
478
479 +CMAKE_ECLASS=cmake
480 inherit cmake-multilib
481
482 if [[ ${PV} == *9999 ]] ; then
483 @@ -37,5 +38,5 @@ multilib_src_configure() {
484 # -DMEDIA_RUN_TEST_SUITE=OFF
485 # )
486
487 - cmake-utils_src_configure
488 + cmake_src_configure
489 }
490
491 diff --git a/media-libs/libaom/libaom-9999.ebuild b/media-libs/libaom/libaom-9999.ebuild
492 index d22f4369dcb..53bc9ffd6e1 100644
493 --- a/media-libs/libaom/libaom-9999.ebuild
494 +++ b/media-libs/libaom/libaom-9999.ebuild
495 @@ -3,6 +3,7 @@
496
497 EAPI=7
498
499 +CMAKE_ECLASS=cmake
500 inherit cmake-multilib
501
502 if [[ ${PV} == *9999* ]]; then
503 @@ -63,12 +64,12 @@ multilib_src_configure() {
504 -DENABLE_AVX=$(usex cpu_flags_x86_avx ON OFF)
505 -DENABLE_AVX2=$(usex cpu_flags_x86_avx2 ON OFF)
506 )
507 - cmake-utils_src_configure
508 + cmake_src_configure
509 }
510
511 multilib_src_install() {
512 if multilib_is_native_abi && use doc ; then
513 local HTML_DOCS=( "${BUILD_DIR}"/docs/html/. )
514 fi
515 - cmake-utils_src_install
516 + cmake_src_install
517 }
518
519 diff --git a/media-libs/libmatroska/libmatroska-1.5.2.ebuild b/media-libs/libmatroska/libmatroska-1.5.2.ebuild
520 index 62097ee093e..8ace52e9b28 100644
521 --- a/media-libs/libmatroska/libmatroska-1.5.2.ebuild
522 +++ b/media-libs/libmatroska/libmatroska-1.5.2.ebuild
523 @@ -3,7 +3,7 @@
524
525 EAPI=7
526
527 -inherit cmake-utils
528 +inherit cmake
529
530 DESCRIPTION="Extensible multimedia container format based on EBML"
531 HOMEPAGE="https://www.matroska.org/ https://github.com/Matroska-Org/libmatroska/"
532 @@ -19,5 +19,5 @@ DEPEND="${RDEPEND}"
533
534 src_configure() {
535 local mycmakeargs=( -DBUILD_SHARED_LIBS=YES )
536 - cmake-utils_src_configure
537 + cmake_src_configure
538 }
539
540 diff --git a/media-libs/libopenshot-audio/libopenshot-audio-0.1.9_pre20190502.ebuild b/media-libs/libopenshot-audio/libopenshot-audio-0.1.9_pre20190502.ebuild
541 index 73f879a2280..066adc17012 100644
542 --- a/media-libs/libopenshot-audio/libopenshot-audio-0.1.9_pre20190502.ebuild
543 +++ b/media-libs/libopenshot-audio/libopenshot-audio-0.1.9_pre20190502.ebuild
544 @@ -3,7 +3,7 @@
545
546 EAPI=7
547
548 -inherit cmake-utils
549 +inherit cmake
550
551 COMMIT="77edb1f14dde35e1facecc309dbc4fb7f07d7014"
552
553
554 diff --git a/media-libs/libopenshot/libopenshot-0.2.4_pre20190609.ebuild b/media-libs/libopenshot/libopenshot-0.2.4_pre20190609.ebuild
555 index e0d560596b9..52ae0bf3fd9 100644
556 --- a/media-libs/libopenshot/libopenshot-0.2.4_pre20190609.ebuild
557 +++ b/media-libs/libopenshot/libopenshot-0.2.4_pre20190609.ebuild
558 @@ -5,7 +5,7 @@ EAPI=7
559
560 PYTHON_COMPAT=( python3_{5,6,7} )
561
562 -inherit cmake-utils python-single-r1 toolchain-funcs
563 +inherit cmake python-single-r1 toolchain-funcs
564
565 COMMIT="0d4ea7fe71e88bcee4a7fd1404bd52c8e2169997"
566
567 @@ -64,7 +64,7 @@ pkg_setup() {
568 }
569
570 src_prepare() {
571 - cmake-utils_src_prepare
572 + cmake_src_prepare
573 # https://github.com/OpenShot/libopenshot/issues/17
574 use test || cmake_comment_add_subdirectory tests
575 }
576 @@ -73,23 +73,23 @@ src_configure() {
577 local mycmakeargs=(
578 -DENABLE_RUBY=OFF # TODO: add ruby support
579 -DENABLE_PYTHON=$(usex python)
580 - $(cmake-utils_use_find_package imagemagick ImageMagick)
581 + $(cmake_use_find_package imagemagick ImageMagick)
582 )
583 use python && mycmakeargs+=(
584 -DPYTHON_EXECUTABLE="${PYTHON}"
585 -DPYTHON_INCLUDE_DIR="$(python_get_includedir)"
586 -DPYTHON_LIBRARY="$(python_get_library_path)"
587 )
588 - cmake-utils_src_configure
589 + cmake_src_configure
590 }
591
592 src_compile() {
593 - cmake-utils_src_compile
594 - use doc && cmake-utils_src_make doc
595 + cmake_src_compile
596 + use doc && cmake_build doc
597 }
598
599 src_test() {
600 - cmake-utils_src_make os_test
601 + cmake_build os_test
602 }
603
604 src_install() {
605 @@ -97,6 +97,6 @@ src_install() {
606 use examples && DOCS+=( src/examples/ )
607 use doc && local HTML_DOCS=( "${BUILD_DIR}"/doc/html/. )
608
609 - cmake-utils_src_install
610 + cmake_src_install
611 use python && python_optimize
612 }
613
614 diff --git a/media-video/avidemux/avidemux-2.7.3.ebuild b/media-video/avidemux/avidemux-2.7.3.ebuild
615 index 40f4f5d8b22..5b4a9629c09 100644
616 --- a/media-video/avidemux/avidemux-2.7.3.ebuild
617 +++ b/media-video/avidemux/avidemux-2.7.3.ebuild
618 @@ -5,7 +5,7 @@ EAPI=7
619
620 CMAKE_MAKEFILE_GENERATOR="emake"
621
622 -inherit cmake-utils desktop qmake-utils xdg
623 +inherit cmake desktop qmake-utils xdg
624
625 DESCRIPTION="Video editor designed for simple cutting, filtering and encoding tasks"
626 HOMEPAGE="http://fixounet.free.fr/avidemux"
627 @@ -50,7 +50,7 @@ src_prepare() {
628 fi
629
630 for process in ${processes} ; do
631 - CMAKE_USE_DIR="${S}"/${process#*:} cmake-utils_src_prepare
632 + CMAKE_USE_DIR="${S}"/${process#*:} cmake_src_prepare
633 done
634
635 # Fix icon name -> avidemux-2.7
636 @@ -108,28 +108,28 @@ src_configure() {
637
638 for process in ${processes} ; do
639 local build="${WORKDIR}/${P}_build/${process%%:*}"
640 - CMAKE_USE_DIR="${S}"/${process#*:} BUILD_DIR="${build}" cmake-utils_src_configure
641 + CMAKE_USE_DIR="${S}"/${process#*:} BUILD_DIR="${build}" cmake_src_configure
642 done
643 }
644
645 src_compile() {
646 for process in ${processes} ; do
647 local build="${WORKDIR}/${P}_build/${process%%:*}"
648 - BUILD_DIR="${build}" cmake-utils_src_compile
649 + BUILD_DIR="${build}" cmake_src_compile
650 done
651 }
652
653 src_test() {
654 for process in ${processes} ; do
655 local build="${WORKDIR}/${P}_build/${process%%:*}"
656 - BUILD_DIR="${build}" cmake-utils_src_test
657 + BUILD_DIR="${build}" cmake_src_test
658 done
659 }
660
661 src_install() {
662 for process in ${processes} ; do
663 local build="${WORKDIR}/${P}_build/${process%%:*}"
664 - BUILD_DIR="${build}" cmake-utils_src_install
665 + BUILD_DIR="${build}" cmake_src_install
666 done
667
668 cd "${S}" || die "Can't enter source folder."
669
670 diff --git a/media-video/avidemux/avidemux-2.7.4-r1.ebuild b/media-video/avidemux/avidemux-2.7.4-r1.ebuild
671 index 16632727c8d..cc9638e1c58 100644
672 --- a/media-video/avidemux/avidemux-2.7.4-r1.ebuild
673 +++ b/media-video/avidemux/avidemux-2.7.4-r1.ebuild
674 @@ -5,7 +5,7 @@ EAPI=7
675
676 CMAKE_MAKEFILE_GENERATOR="emake"
677
678 -inherit cmake-utils desktop qmake-utils xdg
679 +inherit cmake desktop qmake-utils xdg
680
681 DESCRIPTION="Video editor designed for simple cutting, filtering and encoding tasks"
682 HOMEPAGE="http://fixounet.free.fr/avidemux"
683 @@ -46,7 +46,7 @@ src_prepare() {
684 use qt5 && processes+=" buildQt4:avidemux/qt4"
685
686 for process in ${processes} ; do
687 - CMAKE_USE_DIR="${S}"/${process#*:} cmake-utils_src_prepare
688 + CMAKE_USE_DIR="${S}"/${process#*:} cmake_src_prepare
689 done
690
691 if use qt5; then
692 @@ -98,28 +98,28 @@ src_configure() {
693
694 for process in ${processes} ; do
695 local build="${WORKDIR}/${P}_build/${process%%:*}"
696 - CMAKE_USE_DIR="${S}"/${process#*:} BUILD_DIR="${build}" cmake-utils_src_configure
697 + CMAKE_USE_DIR="${S}"/${process#*:} BUILD_DIR="${build}" cmake_src_configure
698 done
699 }
700
701 src_compile() {
702 for process in ${processes} ; do
703 local build="${WORKDIR}/${P}_build/${process%%:*}"
704 - BUILD_DIR="${build}" cmake-utils_src_compile
705 + BUILD_DIR="${build}" cmake_src_compile
706 done
707 }
708
709 src_test() {
710 for process in ${processes} ; do
711 local build="${WORKDIR}/${P}_build/${process%%:*}"
712 - BUILD_DIR="${build}" cmake-utils_src_test
713 + BUILD_DIR="${build}" cmake_src_test
714 done
715 }
716
717 src_install() {
718 for process in ${processes} ; do
719 local build="${WORKDIR}/${P}_build/${process%%:*}"
720 - BUILD_DIR="${build}" cmake-utils_src_install
721 + BUILD_DIR="${build}" cmake_src_install
722 done
723
724 if use qt5; then
725
726 diff --git a/media-video/ffmpegthumbnailer/ffmpegthumbnailer-2.2.0-r1.ebuild b/media-video/ffmpegthumbnailer/ffmpegthumbnailer-2.2.0-r1.ebuild
727 index 4f247e2eb8b..0196f0eff33 100644
728 --- a/media-video/ffmpegthumbnailer/ffmpegthumbnailer-2.2.0-r1.ebuild
729 +++ b/media-video/ffmpegthumbnailer/ffmpegthumbnailer-2.2.0-r1.ebuild
730 @@ -3,7 +3,7 @@
731
732 EAPI=7
733
734 -inherit cmake-utils
735 +inherit cmake
736
737 DESCRIPTION="Lightweight video thumbnailer that can be used by file managers"
738 HOMEPAGE="https://github.com/dirkvdb/ffmpegthumbnailer"
739 @@ -37,7 +37,7 @@ PATCHES=( "${FILESDIR}/${P}-pkgconfig-libdir.patch" )
740 src_prepare() {
741 rm -rf out* || die
742
743 - cmake-utils_src_prepare
744 + cmake_src_prepare
745 }
746
747 src_configure() {
748 @@ -48,5 +48,5 @@ src_configure() {
749 -DHAVE_JPEG=$(usex jpeg)
750 -DHAVE_PNG=$(usex png)
751 )
752 - cmake-utils_src_configure
753 + cmake_src_configure
754 }