summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Hartmann <sultan@gentoo.org>2022-12-17 20:01:21 +0100
committerStephan Hartmann <sultan@gentoo.org>2022-12-17 20:01:21 +0100
commite609976b4c8d72542f3b2d7a95492632f1d7ce4d (patch)
treef67d4408462149259e863e92e3b5d81614984897 /www-client
parentwww-client/google-chrome-beta: fix dependencies (diff)
downloadgentoo-e609976b4c8d72542f3b2d7a95492632f1d7ce4d.tar.gz
gentoo-e609976b4c8d72542f3b2d7a95492632f1d7ce4d.tar.bz2
gentoo-e609976b4c8d72542f3b2d7a95492632f1d7ce4d.zip
www-client/google-chrome-unstable: fix dependencies
Signed-off-by: Stephan Hartmann <sultan@gentoo.org>
Diffstat (limited to 'www-client')
-rw-r--r--www-client/google-chrome-unstable/google-chrome-unstable-110.0.5464.2-r1.ebuild (renamed from www-client/google-chrome-unstable/google-chrome-unstable-110.0.5464.2.ebuild)12
1 files changed, 10 insertions, 2 deletions
diff --git a/www-client/google-chrome-unstable/google-chrome-unstable-110.0.5464.2.ebuild b/www-client/google-chrome-unstable/google-chrome-unstable-110.0.5464.2-r1.ebuild
index c97ff5d01e50..a67ba3786d8b 100644
--- a/www-client/google-chrome-unstable/google-chrome-unstable-110.0.5464.2.ebuild
+++ b/www-client/google-chrome-unstable/google-chrome-unstable-110.0.5464.2-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