summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Hartmann <sultan@gentoo.org>2022-12-17 19:49:19 +0100
committerStephan Hartmann <sultan@gentoo.org>2022-12-17 19:50:29 +0100
commited71664d1abbc4930161cf49797456b98417af0d (patch)
treed1142ec2dda59bd5e80117344fb54c202fb0fd90 /www-client/google-chrome
parentapp-text/mdbook: drop 0.4.22 (diff)
downloadgentoo-ed71664d1abbc4930161cf49797456b98417af0d.tar.gz
gentoo-ed71664d1abbc4930161cf49797456b98417af0d.tar.bz2
gentoo-ed71664d1abbc4930161cf49797456b98417af0d.zip
www-client/google-chrome: fix dependencies
Closes: https://bugs.gentoo.org/883843 Signed-off-by: Stephan Hartmann <sultan@gentoo.org>
Diffstat (limited to 'www-client/google-chrome')
-rw-r--r--www-client/google-chrome/google-chrome-108.0.5359.124-r1.ebuild (renamed from www-client/google-chrome/google-chrome-108.0.5359.124.ebuild)12
1 files changed, 10 insertions, 2 deletions
diff --git a/www-client/google-chrome/google-chrome-108.0.5359.124.ebuild b/www-client/google-chrome/google-chrome-108.0.5359.124-r1.ebuild
index 530fa40bf7cc..6a7032427c7b 100644
--- a/www-client/google-chrome/google-chrome-108.0.5359.124.ebuild
+++ b/www-client/google-chrome/google-chrome-108.0.5359.124-r1.ebuild
@@ -26,7 +26,7 @@ SRC_URI="https://dl.google.com/linux/chrome/deb/pool/main/g/${MY_PN}/${MY_P}_amd
LICENSE="google-chrome"
SLOT="0"
-IUSE="selinux"
+IUSE="qt5 selinux"
RESTRICT="bindist mirror strip"
RDEPEND="
@@ -36,7 +36,6 @@ RDEPEND="
dev-libs/glib:2
dev-libs/nspr
>=dev-libs/nss-3.26
- dev-libs/wayland
media-fonts/liberation-fonts
media-libs/alsa-lib
media-libs/mesa[gbm(+)]
@@ -63,6 +62,11 @@ RDEPEND="
x11-libs/libxshmfence
x11-libs/pango
x11-misc/xdg-utils
+ qt5? (
+ dev-qt/qtcore:5
+ dev-qt/qtgui:5[X]
+ dev-qt/qtwidgets:5
+ )
selinux? ( sec-policy/selinux-chromium )
"
@@ -107,6 +111,10 @@ src_install() {
chromium_remove_language_paks
popd > /dev/null || die
+ if ! use qt5; then
+ rm "${CHROME_HOME}/libqt5_shim.so" || die
+ fi
+
local suffix=
[[ ${PN} == google-chrome-beta ]] && suffix=_beta
[[ ${PN} == google-chrome-unstable ]] && suffix=_dev