summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Le Cuirot <chewi@gentoo.org>2023-04-05 21:59:16 +0100
committerJames Le Cuirot <chewi@gentoo.org>2023-04-05 22:04:44 +0100
commitd4d1a7d02e2e2e8642925d76f2c7ba3045033eaf (patch)
tree293a1ff6281f5d01ca208290102d77e36a34861e /www-client/vivaldi-snapshot
parentwww-client/vivaldi: Check for CPU_FREQ in Linux kernel config (diff)
downloadgentoo-d4d1a7d02e2e2e8642925d76f2c7ba3045033eaf.tar.gz
gentoo-d4d1a7d02e2e2e8642925d76f2c7ba3045033eaf.tar.bz2
gentoo-d4d1a7d02e2e2e8642925d76f2c7ba3045033eaf.zip
www-client/vivaldi-snapshot: 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@gentoo.org>
Diffstat (limited to 'www-client/vivaldi-snapshot')
-rw-r--r--www-client/vivaldi-snapshot/vivaldi-snapshot-5.8.2970.3.ebuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-5.8.2970.3.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-5.8.2970.3.ebuild
index 9c296c0f9dbd..28280ba78958 100644
--- a/www-client/vivaldi-snapshot/vivaldi-snapshot-5.8.2970.3.ebuild
+++ b/www-client/vivaldi-snapshot/vivaldi-snapshot-5.8.2970.3.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() {