diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-07-27 03:00:39 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-07-27 03:00:39 +0100 |
commit | fe618c8b8c934661d2297b2aeb0615a48e787691 (patch) | |
tree | 24a8209687e0ff34205acd703b6b80e7c6897f81 /media-libs/ffmpegsource/ffmpegsource-9999.ebuild | |
parent | 1d4cc2fdaa7a04ed1fe39b6cf1d892bd83bd8030 (diff) |
gentoo auto-resync : 27:07:2022 - 03:00:38
Diffstat (limited to 'media-libs/ffmpegsource/ffmpegsource-9999.ebuild')
-rw-r--r-- | media-libs/ffmpegsource/ffmpegsource-9999.ebuild | 48 |
1 files changed, 22 insertions, 26 deletions
diff --git a/media-libs/ffmpegsource/ffmpegsource-9999.ebuild b/media-libs/ffmpegsource/ffmpegsource-9999.ebuild index 6393bcca9c70..1ea646b97aa7 100644 --- a/media-libs/ffmpegsource/ffmpegsource-9999.ebuild +++ b/media-libs/ffmpegsource/ffmpegsource-9999.ebuild @@ -1,47 +1,43 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=8 -inherit autotools flag-o-matic git-r3 +QA_PKGCONFIG_VERSION=$(ver_cut 1-2) +inherit autotools DESCRIPTION="A libav/ffmpeg based source library for easy frame accurate access" HOMEPAGE="https://github.com/FFMS/ffms2" -EGIT_REPO_URI="https://github.com/FFMS/ffms2.git" +if [[ ${PV} == 9999 ]] ; then + EGIT_REPO_URI="https://github.com/FFMS/ffms2.git" + inherit git-r3 +else + SRC_URI="https://github.com/FFMS/ffms2/archive/${PV}.tar.gz -> ${P}.tar.gz" + S="${WORKDIR}"/ffms2-${PV} + + KEYWORDS="~amd64 ~x86" +fi LICENSE="MIT" SLOT="0/4" -KEYWORDS="" RDEPEND=" + >=media-video/ffmpeg-2.4:= sys-libs/zlib - >=media-video/ffmpeg-2.4:0= -" -DEPEND="${RDEPEND} - virtual/pkgconfig " - -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 -} +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" src_prepare() { - mkdir -p "${S}/src/config" - default_src_prepare + default + + # Cheesy hack from autogen.sh + mkdir src/config || die eautoreconf } src_install() { - default_src_install + default + find "${ED}" -name '*.la' -delete || die } |