commit:     cc33377deb80f4c2aa946004c03036c7267d8416
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Wed Dec 17 15:29:35 2025 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Thu Mar 12 18:30:06 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cc33377d

ffmpeg-compat.eclass: Support EAPI 9

Acked-by: Ionen Wolkens <ionen <AT> gentoo.org>
Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>

 eclass/ffmpeg-compat.eclass | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/eclass/ffmpeg-compat.eclass b/eclass/ffmpeg-compat.eclass
index ce8878d10c55..49285b98a253 100644
--- a/eclass/ffmpeg-compat.eclass
+++ b/eclass/ffmpeg-compat.eclass
@@ -6,7 +6,7 @@
 # Ionen Wolkens <[email protected]>
 # @AUTHOR:
 # Ionen Wolkens <[email protected]>
-# @SUPPORTED_EAPIS: 8
+# @SUPPORTED_EAPIS: 8 9
 # @BLURB: Helper functions to link with slotted ffmpeg-compat libraries
 # @DESCRIPTION:
 # To use this, run ``ffmpeg_compat_setup <slot>`` before packages use
@@ -34,14 +34,14 @@
 # is stabilized, but idea is to not mangle normal ffmpeg with slotting
 # logic and make this an isolated temporary deal.
 
+if [[ -z ${_FFMPEG_COMPAT_ECLASS} ]]; then
+_FFMPEG_COMPAT_ECLASS=1
+
 case ${EAPI} in
-       8) ;;
+       8|9) ;;
        *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
 esac
 
-if [[ -z ${_FFMPEG_COMPAT_ECLASS} ]]; then
-_FFMPEG_COMPAT_ECLASS=1
-
 inherit flag-o-matic toolchain-funcs
 
 # @FUNCTION: ffmpeg_compat_add_flags

Reply via email to