mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-23 11:17:21 -08:00
media-libs/ffmpegsource: Revert "drop 2.23"
media-video/aegisub-3.2.2_p20160518-r103 requires this version
This reverts commit 0e492d6522.
Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user