commit:     bb47ddd41f99ad4b8eb5031c890eabecc56c388a
Author:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Mon Nov 16 00:08:38 2020 +0000
Commit:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Mon Nov 16 00:09:11 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bb47ddd4

www-client/firefox: USE=debug requires bundled libaom

Firefox bundles <libaom-2 and will fail with USE=debug like

> firefox-83.0/image/decoders/nsAVIFDecoder.cpp:301:54: error: use of 
> undeclared identifier 'AOM_PLANE_ALPHA'
>   MOZ_ASSERT(img->stride[AOM_PLANE_Y] == img->stride[AOM_PLANE_ALPHA]);

Link: 
https://aomedia.googlesource.com/aom/+/f1570f0c2f70832dd170285f8de60bd2379c8efa%5E%21/
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>

 www-client/firefox/firefox-83.0_rc2.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/www-client/firefox/firefox-83.0_rc2.ebuild 
b/www-client/firefox/firefox-83.0_rc2.ebuild
index 1b15d8148fb..5a78bea0e5c 100644
--- a/www-client/firefox/firefox-83.0_rc2.ebuild
+++ b/www-client/firefox/firefox-83.0_rc2.ebuild
@@ -66,7 +66,8 @@ IUSE="clang cpu_flags_arm_neon dbus debug eme-free 
geckodriver +gmp-autoupdate
        +system-av1 +system-harfbuzz +system-icu +system-jpeg +system-libevent
        +system-libvpx +system-webp wayland wifi"
 
-REQUIRED_USE="screencast? ( wayland )"
+REQUIRED_USE="debug? ( !system-av1 )
+       screencast? ( wayland )"
 
 BDEPEND="${PYTHON_DEPS}
        app-arch/unzip

Reply via email to