summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Le Cuirot <chewi@gentoo.org>2023-04-05 21:58:18 +0100
committerJames Le Cuirot <chewi@gentoo.org>2023-04-05 22:04:41 +0100
commit6be77088b25e161405d2c9123c0997d1706ceae8 (patch)
tree186ed03937f1d5d5bdc758d964fbffecce538baf /www-client/vivaldi
parentnet-news/liferea: drop 1.14.1 (diff)
downloadgentoo-6be77088b25e161405d2c9123c0997d1706ceae8.tar.gz
gentoo-6be77088b25e161405d2c9123c0997d1706ceae8.tar.bz2
gentoo-6be77088b25e161405d2c9123c0997d1706ceae8.zip
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@gentoo.org>
Diffstat (limited to 'www-client/vivaldi')
-rw-r--r--www-client/vivaldi/vivaldi-5.7.2921.65.ebuild3
1 files changed, 2 insertions, 1 deletions
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() {