diff options
Diffstat (limited to 'www-client')
-rw-r--r-- | www-client/yandex-browser/yandex-browser-24.7.1.1120_p1.ebuild | 22 |
1 files changed, 16 insertions, 6 deletions
diff --git a/www-client/yandex-browser/yandex-browser-24.7.1.1120_p1.ebuild b/www-client/yandex-browser/yandex-browser-24.7.1.1120_p1.ebuild index c93ab961d..1e52675c3 100644 --- a/www-client/yandex-browser/yandex-browser-24.7.1.1120_p1.ebuild +++ b/www-client/yandex-browser/yandex-browser-24.7.1.1120_p1.ebuild @@ -26,10 +26,11 @@ LICENSE="Yandex-EULA" SLOT="0" KEYWORDS="~amd64" -IUSE="+ffmpeg-codecs" +IUSE="+ffmpeg-codecs qt5 qt6" RESTRICT="bindist mirror strip" RDEPEND=" + app-accessibility/at-spi2-core dev-libs/expat dev-libs/glib:2 dev-libs/nspr @@ -42,6 +43,7 @@ RDEPEND=" net-print/cups sys-apps/dbus sys-libs/libcap + sys-libs/libudev-compat virtual/libudev x11-libs/cairo x11-libs/libdrm @@ -56,11 +58,12 @@ RDEPEND=" x11-libs/pango[X] x11-misc/xdg-utils ffmpeg-codecs? ( media-video/ffmpeg-chromium:${FFMPEG} ) - sys-libs/libudev-compat - dev-qt/qtcore - dev-qt/qtgui - dev-qt/qtwidgets - app-accessibility/at-spi2-core + qt5? ( + dev-qt/qtcore:5 + dev-qt/qtgui:5[X] + dev-qt/qtwidgets:5 + ) + qt6? ( dev-qt/qtbase:6[gui,widgets] ) " DEPEND=" >=dev-util/patchelf-0.9 @@ -126,6 +129,13 @@ src_install() { newicon -s "${size}" "$icon" "${MY_PN}.png" done + if ! use qt5; then + rm "${ED}/${YANDEX_HOME}/libqt5_shim.so" || die + fi + if ! use qt6; then + rm "${ED}/${YANDEX_HOME}/libqt6_shim.so" || die + fi + fowners root:root "/${YANDEX_HOME}/yandex_browser-sandbox" fperms 4711 "/${YANDEX_HOME}/yandex_browser-sandbox" pax-mark m "${ED}${YANDEX_HOME}/yandex_browser-sandbox" |