diff options
author | Jakov Smolić <jsmolic@gentoo.org> | 2022-08-29 10:08:39 +0200 |
---|---|---|
committer | Jakov Smolić <jsmolic@gentoo.org> | 2022-08-29 10:09:34 +0200 |
commit | db0b33791aaa3bf57eec58da60ecbd0edf729e04 (patch) | |
tree | 621b33efc1b4cec0963fe0d1d1a2c35e4c1ae8a1 /media-libs/ffmpegsource | |
parent | sci-chemistry/numbat: treeclean (diff) | |
download | gentoo-db0b33791aaa3bf57eec58da60ecbd0edf729e04.tar.gz gentoo-db0b33791aaa3bf57eec58da60ecbd0edf729e04.tar.bz2 gentoo-db0b33791aaa3bf57eec58da60ecbd0edf729e04.zip |
media-libs/ffmpegsource: Revert "drop 2.23"
media-video/aegisub-3.2.2_p20160518-r103 requires this version
This reverts commit 0e492d6522470f5e7d30beec99f5e16e5ad6ecb8.
Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>
Diffstat (limited to 'media-libs/ffmpegsource')
-rw-r--r-- | media-libs/ffmpegsource/Manifest | 1 | ||||
-rw-r--r-- | media-libs/ffmpegsource/ffmpegsource-2.23.ebuild | 46 |
2 files changed, 47 insertions, 0 deletions
diff --git a/media-libs/ffmpegsource/Manifest b/media-libs/ffmpegsource/Manifest index 58f673a2e731..e72577602b7a 100644 --- a/media-libs/ffmpegsource/Manifest +++ b/media-libs/ffmpegsource/Manifest @@ -1 +1,2 @@ +DIST ffmpegsource-2.23.tar.gz 488940 BLAKE2B 0e565a02606a73ea0b6ee7bce64fcaea825a2beb473127b4d9c768981519e92cf29bd792b1524369fb44344ce63cb0777adb672f6ee1ec5eae35d92ed549748e SHA512 dbbc3c53062f9b66beeea57b57250abbc331807aad9300966ace4ddd3603273c6345e20d105b668cd852442b494e047ade8b8b1d8340c464ca748f6b11a5292c DIST ffmpegsource-2.40.tar.gz 140356 BLAKE2B 57fbc3d979f31108b257b6720045f4e157fca6714bf0f8601e8123c0026a14bb55d343549ff6b246b55a44b4f69c541c58f4b19f1051e338f1f97b2b7557b6de SHA512 407c4b0871f5046b9d364c2946eae88c46eec381b5748530d82918742fd4a36849de590024f8235af2785bd631c0299e591499dc43ae157ff2c6a6f2dab78b67 diff --git a/media-libs/ffmpegsource/ffmpegsource-2.23.ebuild b/media-libs/ffmpegsource/ffmpegsource-2.23.ebuild new file mode 100644 index 000000000000..4356ad9fb866 --- /dev/null +++ b/media-libs/ffmpegsource/ffmpegsource-2.23.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit autotools flag-o-matic vcs-snapshot + +DESCRIPTION="A libav/ffmpeg based source library for easy frame accurate access" +HOMEPAGE="https://github.com/FFMS/ffms2" +SRC_URI="https://github.com/FFMS/ffms2/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0/4" +KEYWORDS="amd64 x86" + +RDEPEND=" + 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 +} + +src_prepare() { + default_src_prepare + eautoreconf +} + +src_install() { + default_src_install + find "${ED}" -name '*.la' -delete || die +} |