diff options
author | Sergey Torokhov <torokhov-s-a@yandex.ru> | 2024-09-03 22:31:59 +0300 |
---|---|---|
committer | Sergey Torokhov <torokhov-s-a@yandex.ru> | 2024-09-03 22:31:59 +0300 |
commit | 0f29d818ae5b237646d165fd4ab677b9090fc668 (patch) | |
tree | 2816b1168a60f00bd8479b8f1c6d68a10969845d /www-client | |
parent | dev-python/python-lsp-mypy: add 0.6.9, drop 0.6.8 (diff) | |
download | guru-0f29d818ae5b237646d165fd4ab677b9090fc668.tar.gz guru-0f29d818ae5b237646d165fd4ab677b9090fc668.tar.bz2 guru-0f29d818ae5b237646d165fd4ab677b9090fc668.zip |
www-client/yandex-browser: add USE="qt5 qt6" flags
Signed-off-by: Sergey Torokhov <torokhov-s-a@yandex.ru>
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" |