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/ffmpegsource/
Date: Sun, 10 Jan 2016 01:59:28 +0000 (UTC)	[thread overview]
Message-ID: <1452391132.7e82ccff9a4699660a250848df2a66c49001c1f8.idella4@gentoo> (raw)

commit:     7e82ccff9a4699660a250848df2a66c49001c1f8
Author:     Ilya Tumaykin <itumaykin <AT> gmail <DOT> com>
AuthorDate: Sat Jan  9 19:40:23 2016 +0000
Commit:     Ian Delaney <idella4 <AT> gentoo <DOT> org>
CommitDate: Sun Jan 10 01:58:52 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7e82ccff

media-libs/ffmpegsource: add compiler check for C++11 support

Package-Manager: portage-2.2.26

 media-libs/ffmpegsource/ffmpegsource-9999.ebuild | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/media-libs/ffmpegsource/ffmpegsource-9999.ebuild b/media-libs/ffmpegsource/ffmpegsource-9999.ebuild
index 56009a4..f057f8a 100644
--- a/media-libs/ffmpegsource/ffmpegsource-9999.ebuild
+++ b/media-libs/ffmpegsource/ffmpegsource-9999.ebuild
@@ -6,7 +6,7 @@ EAPI=5
 
 AUTOTOOLS_AUTORECONF=1
 
-inherit autotools-utils git-r3
+inherit autotools-utils flag-o-matic git-r3
 
 DESCRIPTION="A libav/ffmpeg based source library for easy frame accurate access"
 HOMEPAGE="https://github.com/FFMS/ffms2"
@@ -25,3 +25,9 @@ RDEPEND="
 DEPEND="${RDEPEND}
 	virtual/pkgconfig
 "
+
+pkg_pretend() {
+	if [[ ${MERGE_TYPE} != "binary" ]] && ! test-flag-CXX -std=c++11; then
+		die "Your compiler lacks C++11 support. Use GCC>=4.7.0 or Clang>=3.3."
+	fi
+}


             reply	other threads:[~2016-01-10  1:59 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-10  1:59 Ian Delaney [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-09-25 22:47 [gentoo-commits] repo/gentoo:master commit in: media-libs/ffmpegsource/ Sam James
2023-09-25 22:47 Sam James
2023-06-01  0:09 Nick Sarnie
2023-05-31 23:51 Nick Sarnie
2022-08-29  8:21 Joonas Niilola
2022-08-29  8:11 Jakov Smolić
2022-08-29  7:22 Joonas Niilola
2022-08-29  7:22 Joonas Niilola
2022-07-26 21:39 Sam James
2020-04-25 19:27 Mikle Kolyada
2017-12-24 17:08 Patrice Clement
2017-12-21  0:44 Craig Andrews
2017-07-30  9:44 Michał Górny
2017-01-10 15:22 Agostino Sarubbo
2017-01-10 14:56 Agostino Sarubbo
2016-10-20 23:39 David Seifert
2016-10-20 23:39 David Seifert
2016-06-27  0:25 Göktürk Yüksek
2016-05-09 12:22 Ian Delaney
2016-03-05 11:39 Patrice Clement
2016-02-15 13:16 Patrice Clement
2016-02-14 10:11 Agostino Sarubbo
2016-02-13 15:33 Agostino Sarubbo
2016-02-02 11:07 Patrice Clement
2016-01-10  1:59 Ian Delaney
2016-01-10  1:59 Ian Delaney
2016-01-10  1:59 Ian Delaney
2016-01-10  1:59 Ian Delaney
2016-01-10  1:59 Ian Delaney
2015-08-16 23:18 Mikle Kolyada

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=1452391132.7e82ccff9a4699660a250848df2a66c49001c1f8.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