commit: 6be77088b25e161405d2c9123c0997d1706ceae8 Author: James Le Cuirot <chewi <AT> gentoo <DOT> org> AuthorDate: Wed Apr 5 20:58:18 2023 +0000 Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org> CommitDate: Wed Apr 5 21:04:41 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6be77088
www-client/vivaldi: Check for CPU_FREQ in Linux kernel config Vivaldi reportedly crashes without a CPU frequency driver present. The reporter mentioned X86_AMD_PSTATE and X86_INTEL_PSTATE specifically, but linux-info.eclass is quite basic. Even if I made this conditional on the amd64 USE flag, my AMD system does not have X86_INTEL_PSTATE enabled. CPU_FREQ will not guarantee that you have any appropriate driver enabled, but at least it will nudge you in the right direction. This is arguably a Chromium bug anyway, so hopefully it will be addressed upstream. Closes: https://bugs.gentoo.org/903518 Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org> www-client/vivaldi/vivaldi-5.7.2921.65.ebuild | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/www-client/vivaldi/vivaldi-5.7.2921.65.ebuild b/www-client/vivaldi/vivaldi-5.7.2921.65.ebuild index 9c296c0f9dbd..28280ba78958 100644 --- a/www-client/vivaldi/vivaldi-5.7.2921.65.ebuild +++ b/www-client/vivaldi/vivaldi-5.7.2921.65.ebuild @@ -84,7 +84,7 @@ CHROMIUM_LANGS=" zh-TW " -inherit chromium-2 desktop unpacker xdg +inherit chromium-2 desktop linux-info unpacker xdg VIVALDI_PN="${PN/%vivaldi/vivaldi-stable}" VIVALDI_HOME="opt/${PN}" @@ -145,6 +145,7 @@ RDEPEND=" " QA_PREBUILT="*" +CONFIG_CHECK="~CPU_FREQ" S="${WORKDIR}" src_unpack() {
