1 |
commit: 4872f542d3a6c11f6ce61cddcfb2fccdf850c799 |
2 |
Author: David Seifert <soap <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat May 14 21:30:17 2022 +0000 |
4 |
Commit: David Seifert <soap <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat May 14 21:30:17 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4872f542 |
7 |
|
8 |
media-libs/libopenshot: [QA] tc-has-openmp → tc-check-openmp |
9 |
|
10 |
Signed-off-by: David Seifert <soap <AT> gentoo.org> |
11 |
|
12 |
media-libs/libopenshot/libopenshot-0.2.5-r1.ebuild | 15 +++------------ |
13 |
media-libs/libopenshot/libopenshot-0.2.6.ebuild | 15 +++------------ |
14 |
media-libs/libopenshot/libopenshot-0.2.7.ebuild | 15 +++------------ |
15 |
3 files changed, 9 insertions(+), 36 deletions(-) |
16 |
|
17 |
diff --git a/media-libs/libopenshot/libopenshot-0.2.5-r1.ebuild b/media-libs/libopenshot/libopenshot-0.2.5-r1.ebuild |
18 |
index 0ce3d1ebb499..d641166cc5e0 100644 |
19 |
--- a/media-libs/libopenshot/libopenshot-0.2.5-r1.ebuild |
20 |
+++ b/media-libs/libopenshot/libopenshot-0.2.5-r1.ebuild |
21 |
@@ -1,4 +1,4 @@ |
22 |
-# Copyright 1999-2021 Gentoo Authors |
23 |
+# Copyright 1999-2022 Gentoo Authors |
24 |
# Distributed under the terms of the GNU General Public License v2 |
25 |
|
26 |
EAPI=7 |
27 |
@@ -43,21 +43,12 @@ PATCHES=( |
28 |
"${FILESDIR}/${P}-no-hwaccel-testfix.patch" |
29 |
) |
30 |
|
31 |
-check_compiler() { |
32 |
- if [[ ${MERGE_TYPE} != binary ]] && ! tc-has-openmp; then |
33 |
- eerror "${P} requires a compiler with OpenMP support. Your current" |
34 |
- eerror "compiler does not support it. If you use gcc, you can" |
35 |
- eerror "re-emerge it with the 'openmp' use flag enabled." |
36 |
- die "The current compiler does not support OpenMP" |
37 |
- fi |
38 |
-} |
39 |
- |
40 |
pkg_pretend() { |
41 |
- check_compiler |
42 |
+ [[ ${MERGE_TYPE} != binary ]] && tc-check-openmp |
43 |
} |
44 |
|
45 |
pkg_setup() { |
46 |
- check_compiler |
47 |
+ [[ ${MERGE_TYPE} != binary ]] && tc-check-openmp |
48 |
use python && python-single-r1_pkg_setup |
49 |
} |
50 |
|
51 |
|
52 |
diff --git a/media-libs/libopenshot/libopenshot-0.2.6.ebuild b/media-libs/libopenshot/libopenshot-0.2.6.ebuild |
53 |
index af6f8eedbf89..a77d75b47edb 100644 |
54 |
--- a/media-libs/libopenshot/libopenshot-0.2.6.ebuild |
55 |
+++ b/media-libs/libopenshot/libopenshot-0.2.6.ebuild |
56 |
@@ -1,4 +1,4 @@ |
57 |
-# Copyright 1999-2021 Gentoo Authors |
58 |
+# Copyright 1999-2022 Gentoo Authors |
59 |
# Distributed under the terms of the GNU General Public License v2 |
60 |
|
61 |
EAPI=7 |
62 |
@@ -38,21 +38,12 @@ BDEPEND="doc? ( app-doc/doxygen ) |
63 |
dev-libs/unittest++ |
64 |
)" |
65 |
|
66 |
-check_compiler() { |
67 |
- if [[ ${MERGE_TYPE} != binary ]] && ! tc-has-openmp; then |
68 |
- eerror "${P} requires a compiler with OpenMP support. Your current" |
69 |
- eerror "compiler does not support it. If you use gcc, you can" |
70 |
- eerror "re-emerge it with the 'openmp' use flag enabled." |
71 |
- die "The current compiler does not support OpenMP" |
72 |
- fi |
73 |
-} |
74 |
- |
75 |
pkg_pretend() { |
76 |
- check_compiler |
77 |
+ [[ ${MERGE_TYPE} != binary ]] && tc-check-openmp |
78 |
} |
79 |
|
80 |
pkg_setup() { |
81 |
- check_compiler |
82 |
+ [[ ${MERGE_TYPE} != binary ]] && tc-check-openmp |
83 |
use python && python-single-r1_pkg_setup |
84 |
} |
85 |
|
86 |
|
87 |
diff --git a/media-libs/libopenshot/libopenshot-0.2.7.ebuild b/media-libs/libopenshot/libopenshot-0.2.7.ebuild |
88 |
index 45cad1c947ad..d016f2abc25d 100644 |
89 |
--- a/media-libs/libopenshot/libopenshot-0.2.7.ebuild |
90 |
+++ b/media-libs/libopenshot/libopenshot-0.2.7.ebuild |
91 |
@@ -1,4 +1,4 @@ |
92 |
-# Copyright 1999-2021 Gentoo Authors |
93 |
+# Copyright 1999-2022 Gentoo Authors |
94 |
# Distributed under the terms of the GNU General Public License v2 |
95 |
|
96 |
EAPI=8 |
97 |
@@ -38,21 +38,12 @@ BDEPEND="doc? ( app-doc/doxygen ) |
98 |
dev-libs/unittest++ |
99 |
)" |
100 |
|
101 |
-check_compiler() { |
102 |
- if [[ ${MERGE_TYPE} != binary ]] && ! tc-has-openmp; then |
103 |
- eerror "${P} requires a compiler with OpenMP support. Your current" |
104 |
- eerror "compiler does not support it. If you use gcc, you can" |
105 |
- eerror "re-emerge it with the 'openmp' use flag enabled." |
106 |
- die "The current compiler does not support OpenMP" |
107 |
- fi |
108 |
-} |
109 |
- |
110 |
pkg_pretend() { |
111 |
- check_compiler |
112 |
+ [[ ${MERGE_TYPE} != binary ]] && tc-check-openmp |
113 |
} |
114 |
|
115 |
pkg_setup() { |
116 |
- check_compiler |
117 |
+ [[ ${MERGE_TYPE} != binary ]] && tc-check-openmp |
118 |
use python && python-single-r1_pkg_setup |
119 |
} |