diff options
author | Ilya Tumaykin <itumaykin@gmail.com> | 2016-10-19 21:23:54 +0300 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2016-10-21 01:39:03 +0200 |
commit | 5ca0e6f72c367f505b823e03935877838b5b11d2 (patch) | |
tree | 27e0ca8df44ab5b62fd1f5441fa1c581dc39bc95 /media-libs/ffmpegsource | |
parent | sci-libs/beagle: Remove old ebuild (diff) | |
download | gentoo-5ca0e6f72c367f505b823e03935877838b5b11d2.tar.gz gentoo-5ca0e6f72c367f505b823e03935877838b5b11d2.tar.bz2 gentoo-5ca0e6f72c367f505b823e03935877838b5b11d2.zip |
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 <soap@gentoo.org>
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 } |