diff options
Diffstat (limited to 'media-libs/ffmpegsource')
-rw-r--r-- | media-libs/ffmpegsource/ffmpegsource-9999.ebuild | 14 |
1 files changed, 11 insertions, 3 deletions
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 } |