From: "David Seifert" <soap@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/libopenshot/
Date: Sat, 14 May 2022 21:30:37 +0000 (UTC) [thread overview]
Message-ID: <1652563817.4872f542d3a6c11f6ce61cddcfb2fccdf850c799.soap@gentoo> (raw)
commit: 4872f542d3a6c11f6ce61cddcfb2fccdf850c799
Author: David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sat May 14 21:30:17 2022 +0000
Commit: David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sat May 14 21:30:17 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4872f542
media-libs/libopenshot: [QA] tc-has-openmp → tc-check-openmp
Signed-off-by: David Seifert <soap <AT> gentoo.org>
media-libs/libopenshot/libopenshot-0.2.5-r1.ebuild | 15 +++------------
media-libs/libopenshot/libopenshot-0.2.6.ebuild | 15 +++------------
media-libs/libopenshot/libopenshot-0.2.7.ebuild | 15 +++------------
3 files changed, 9 insertions(+), 36 deletions(-)
diff --git a/media-libs/libopenshot/libopenshot-0.2.5-r1.ebuild b/media-libs/libopenshot/libopenshot-0.2.5-r1.ebuild
index 0ce3d1ebb499..d641166cc5e0 100644
--- a/media-libs/libopenshot/libopenshot-0.2.5-r1.ebuild
+++ b/media-libs/libopenshot/libopenshot-0.2.5-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -43,21 +43,12 @@ PATCHES=(
"${FILESDIR}/${P}-no-hwaccel-testfix.patch"
)
-check_compiler() {
- if [[ ${MERGE_TYPE} != binary ]] && ! tc-has-openmp; then
- eerror "${P} requires a compiler with OpenMP support. Your current"
- eerror "compiler does not support it. If you use gcc, you can"
- eerror "re-emerge it with the 'openmp' use flag enabled."
- die "The current compiler does not support OpenMP"
- fi
-}
-
pkg_pretend() {
- check_compiler
+ [[ ${MERGE_TYPE} != binary ]] && tc-check-openmp
}
pkg_setup() {
- check_compiler
+ [[ ${MERGE_TYPE} != binary ]] && tc-check-openmp
use python && python-single-r1_pkg_setup
}
diff --git a/media-libs/libopenshot/libopenshot-0.2.6.ebuild b/media-libs/libopenshot/libopenshot-0.2.6.ebuild
index af6f8eedbf89..a77d75b47edb 100644
--- a/media-libs/libopenshot/libopenshot-0.2.6.ebuild
+++ b/media-libs/libopenshot/libopenshot-0.2.6.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -38,21 +38,12 @@ BDEPEND="doc? ( app-doc/doxygen )
dev-libs/unittest++
)"
-check_compiler() {
- if [[ ${MERGE_TYPE} != binary ]] && ! tc-has-openmp; then
- eerror "${P} requires a compiler with OpenMP support. Your current"
- eerror "compiler does not support it. If you use gcc, you can"
- eerror "re-emerge it with the 'openmp' use flag enabled."
- die "The current compiler does not support OpenMP"
- fi
-}
-
pkg_pretend() {
- check_compiler
+ [[ ${MERGE_TYPE} != binary ]] && tc-check-openmp
}
pkg_setup() {
- check_compiler
+ [[ ${MERGE_TYPE} != binary ]] && tc-check-openmp
use python && python-single-r1_pkg_setup
}
diff --git a/media-libs/libopenshot/libopenshot-0.2.7.ebuild b/media-libs/libopenshot/libopenshot-0.2.7.ebuild
index 45cad1c947ad..d016f2abc25d 100644
--- a/media-libs/libopenshot/libopenshot-0.2.7.ebuild
+++ b/media-libs/libopenshot/libopenshot-0.2.7.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -38,21 +38,12 @@ BDEPEND="doc? ( app-doc/doxygen )
dev-libs/unittest++
)"
-check_compiler() {
- if [[ ${MERGE_TYPE} != binary ]] && ! tc-has-openmp; then
- eerror "${P} requires a compiler with OpenMP support. Your current"
- eerror "compiler does not support it. If you use gcc, you can"
- eerror "re-emerge it with the 'openmp' use flag enabled."
- die "The current compiler does not support OpenMP"
- fi
-}
-
pkg_pretend() {
- check_compiler
+ [[ ${MERGE_TYPE} != binary ]] && tc-check-openmp
}
pkg_setup() {
- check_compiler
+ [[ ${MERGE_TYPE} != binary ]] && tc-check-openmp
use python && python-single-r1_pkg_setup
}
next reply other threads:[~2022-05-14 21:30 UTC|newest]
Thread overview: 38+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-05-14 21:30 David Seifert [this message]
-- strict thread matches above, loose matches on Subject: below --
2023-09-07 20:55 [gentoo-commits] repo/gentoo:master commit in: media-libs/libopenshot/ Sam James
2023-07-06 7:48 Sam James
2023-07-06 0:06 Sam James
2023-05-03 7:22 Sam James
2022-10-27 23:46 Sam James
2022-10-26 19:38 Stefan Strogin
2022-06-10 6:48 Agostino Sarubbo
2022-06-09 7:39 Agostino Sarubbo
2022-06-07 5:17 Sam James
2021-11-21 16:17 Stefan Strogin
2021-09-04 19:20 Stefan Strogin
2021-05-25 11:15 Sam James
2021-01-21 7:40 Agostino Sarubbo
2021-01-10 11:56 Andreas Sturmlechner
2021-01-01 22:14 Andreas Sturmlechner
2020-12-03 15:42 Andreas Sturmlechner
2020-12-03 15:42 Andreas Sturmlechner
2020-04-25 18:51 Mikle Kolyada
2020-02-10 19:59 Stefan Strogin
2019-11-20 13:21 Agostino Sarubbo
2019-08-14 2:33 Stefan Strogin
2019-06-13 15:31 Stefan Strogin
2019-06-13 15:31 Stefan Strogin
2018-11-12 14:31 Mikle Kolyada
2018-11-12 1:14 Thomas Deutschmann
2018-10-13 17:36 Pacho Ramos
2018-10-13 17:36 Pacho Ramos
2018-10-13 17:36 Pacho Ramos
2018-02-06 15:10 Thomas Deutschmann
2017-07-26 8:12 Michał Górny
2017-07-26 8:12 Michał Górny
2016-09-14 7:38 David Seifert
2016-04-22 15:30 Ian Delaney
2016-04-21 10:06 Ian Delaney
2016-04-21 9:52 Ian Delaney
2016-04-20 17:24 Kacper Kowalik
2016-04-18 8:13 Patrice Clement
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1652563817.4872f542d3a6c11f6ce61cddcfb2fccdf850c799.soap@gentoo \
--to=soap@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox