commit: 2de59f8667c2455e797da770147f0b8afed9c825
Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Tue Mar 18 02:44:31 2025 +0000
Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Tue Mar 18 02:56:29 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2de59f86
media-video/dvdstyler: fix ffmpeg-compat detection
...when normal media-video/ffmpeg is not installed.
At a glance this does not use the `ffmpeg` command (FFMPEG_PATH
is not used in the sources that I can see, nor the resulting
binary), but ./configure will abort if it is not found. Thanks
to that, we can get away with passing SYSROOT and not revbumping
which would otherwise be incorrect for a runtime-used path.
Reconsidered just fixing with ffmpeg-7, but given this was previously
broken with "older" ffmpeg5 and patches are accumulating, this may
need special attention and runtime testing.
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>
media-video/dvdstyler/dvdstyler-3.2.1-r3.ebuild | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/media-video/dvdstyler/dvdstyler-3.2.1-r3.ebuild
b/media-video/dvdstyler/dvdstyler-3.2.1-r3.ebuild
index 3e7453c4d420..2c5dc2e582e1 100644
--- a/media-video/dvdstyler/dvdstyler-3.2.1-r3.ebuild
+++ b/media-video/dvdstyler/dvdstyler-3.2.1-r3.ebuild
@@ -65,9 +65,11 @@ src_prepare() {
}
src_configure() {
- # TODO: fix with >=ffmpeg-7 then drop compat
+ # TODO: fix with >=ffmpeg-7 then drop compat (FFMPEG_PATH is "unused"
but
+ # ./configure will abort if the `ffmpeg` command is not found)
ffmpeg_compat_setup 6
ffmpeg_compat_add_flags
+ local -x ac_cv_path_FFMPEG_PATH=${SYSROOT}$(ffmpeg_compat_get_prefix
6)/bin/ffmpeg
setup-wxwidgets unicode
econf \