From 5ca0e6f72c367f505b823e03935877838b5b11d2 Mon Sep 17 00:00:00 2001 From: Ilya Tumaykin Date: Wed, 19 Oct 2016 21:23:54 +0300 Subject: media-libs/ffmpegsource: update live ebuild Prefer HTTPS URI, drop unneeded '--modules' argument for prune_libtool_files, do compiler checks in pkg_setup too. Signed-off-by: David Seifert --- media-libs/ffmpegsource/ffmpegsource-9999.ebuild | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) (limited to 'media-libs/ffmpegsource/ffmpegsource-9999.ebuild') diff --git a/media-libs/ffmpegsource/ffmpegsource-9999.ebuild b/media-libs/ffmpegsource/ffmpegsource-9999.ebuild index 8e2ad6a8e77a..7ce0501c40f6 100644 --- a/media-libs/ffmpegsource/ffmpegsource-9999.ebuild +++ b/media-libs/ffmpegsource/ffmpegsource-9999.ebuild @@ -8,7 +8,7 @@ inherit autotools eutils flag-o-matic git-r3 DESCRIPTION="A libav/ffmpeg based source library for easy frame accurate access" HOMEPAGE="https://github.com/FFMS/ffms2" -EGIT_REPO_URI="git://github.com/FFMS/ffms2.git" +EGIT_REPO_URI=( {https,git}://github.com/FFMS/ffms2.git ) LICENSE="MIT" SLOT="0/4" @@ -24,12 +24,20 @@ DEPEND="${RDEPEND} virtual/pkgconfig " -pkg_pretend() { +ffms_check_compiler() { 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 } +pkg_pretend() { + ffms_check_compiler +} + +pkg_setup() { + ffms_check_compiler +} + src_prepare() { default_src_prepare eautoreconf @@ -37,5 +45,5 @@ src_prepare() { src_install() { default_src_install - prune_libtool_files --modules + prune_libtool_files } -- cgit v1.2.3-65-gdbad