public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Ian Delaney" <idella4@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/libopenshot/
Date: Fri, 22 Apr 2016 15:30:16 +0000 (UTC)	[thread overview]
Message-ID: <1461339003.9046ae2da5fac8aef16e43a4e75b15037923c81f.idella4@gentoo> (raw)

commit:     9046ae2da5fac8aef16e43a4e75b15037923c81f
Author:     Louis Sautier <sautier.louis <AT> gmail <DOT> com>
AuthorDate: Fri Apr 22 07:24:37 2016 +0000
Commit:     Ian Delaney <idella4 <AT> gentoo <DOT> org>
CommitDate: Fri Apr 22 15:30:03 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9046ae2d

media-libs/libopenshot: make sure the compiler supports OpenMP

Gentoo-Bug: 580710

Package-Manager: portage-2.2.28
Closes: https://github.com/gentoo/gentoo/pull/1321

Signed-off-by: Ian Delaney <idella4 <AT> gentoo.org>

 media-libs/libopenshot/libopenshot-0.1.1.ebuild | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/media-libs/libopenshot/libopenshot-0.1.1.ebuild b/media-libs/libopenshot/libopenshot-0.1.1.ebuild
index 8253c49..5bc4acc 100644
--- a/media-libs/libopenshot/libopenshot-0.1.1.ebuild
+++ b/media-libs/libopenshot/libopenshot-0.1.1.ebuild
@@ -6,7 +6,7 @@ EAPI=6
 
 PYTHON_COMPAT=( python3_{4,5} )
 
-inherit cmake-utils python-single-r1 versionator
+inherit cmake-utils python-single-r1 toolchain-funcs versionator
 
 DESCRIPTION="Video editing library used by OpenShot"
 HOMEPAGE="http://www.openshotvideo.com/"
@@ -40,6 +40,15 @@ PATCHES=( "${FILESDIR}/${PN}-0.1.0-fix-tests-exit-code.patch" )
 
 S="${WORKDIR}"
 
+pkg_pretend() {
+	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_setup() {
 	use python && python-single-r1_pkg_setup
 }


             reply	other threads:[~2016-04-22 15:30 UTC|newest]

Thread overview: 38+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-22 15:30 Ian Delaney [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
2022-05-14 21:30 David Seifert
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-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=1461339003.9046ae2da5fac8aef16e43a4e75b15037923c81f.idella4@gentoo \
    --to=idella4@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