media-video/ffmpeg-compat: sync with ffmpeg

incl. some stable keywords (intentional)

Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
This commit is contained in:
Ionen Wolkens 2025-10-06 20:04:00 -04:00
parent 188057c10c
commit d0b81c45bc
No known key found for this signature in database
GPG Key ID: B24406B0B0AC4334
3 changed files with 7 additions and 1 deletions

View File

@ -387,6 +387,8 @@ src_prepare() {
if tc-is-lto; then
: "$(get-flag -flto)" # get -flto=<val> (e.g. =thin)
FFMPEG_ENABLE_LTO=--enable-lto${_#-flto}
tc-ld-is-mold && tc-is-clang && FFMPEG_ENABLE_LTO= #963835
fi
filter-lto

View File

@ -398,6 +398,8 @@ src_prepare() {
if tc-is-lto; then
: "$(get-flag -flto)" # get -flto=<val> (e.g. =thin)
FFMPEG_ENABLE_LTO=--enable-lto${_#-flto}
tc-ld-is-mold && tc-is-clang && FFMPEG_ENABLE_LTO= #963835
fi
filter-lto
}

View File

@ -25,7 +25,7 @@ else
https://dev.gentoo.org/~ionen/distfiles/ffmpeg-$(ver_cut 1-2)-patchset-2.tar.xz
"
S=${WORKDIR}/ffmpeg-${PV} # avoid ${P} for ffmpeg-compat
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-macos"
KEYWORDS="amd64 arm arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-macos"
fi
DESCRIPTION="Complete solution to record/convert/stream audio and video"
@ -398,6 +398,8 @@ src_prepare() {
if tc-is-lto; then
: "$(get-flag -flto)" # get -flto=<val> (e.g. =thin)
FFMPEG_ENABLE_LTO=--enable-lto${_#-flto}
tc-ld-is-mold && tc-is-clang && FFMPEG_ENABLE_LTO= #963835
fi
filter-lto
}