Lines 83-89
IUSE+=" qt5 qt6 screencast selinux +system-toolchain vaapi wayland widevine"
Link Here
|
83 |
REQUIRED_USE=" |
83 |
REQUIRED_USE=" |
84 |
!headless? ( || ( X wayland ) ) |
84 |
!headless? ( || ( X wayland ) ) |
85 |
pgo? ( X !wayland ) |
85 |
pgo? ( X !wayland ) |
86 |
qt6? ( qt5 ) |
|
|
87 |
screencast? ( wayland ) |
86 |
screencast? ( wayland ) |
88 |
!system-toolchain? ( libcxx ) |
87 |
!system-toolchain? ( libcxx ) |
89 |
" |
88 |
" |
Lines 159-165
COMMON_DEPEND="
Link Here
|
159 |
dev-qt/qtcore:5 |
158 |
dev-qt/qtcore:5 |
160 |
dev-qt/qtwidgets:5 |
159 |
dev-qt/qtwidgets:5 |
161 |
) |
160 |
) |
162 |
qt6? ( dev-qt/qtbase:6[gui,widgets] ) |
161 |
qt6? ( dev-qt/qtbase:6[widgets] ) |
163 |
) |
162 |
) |
164 |
" |
163 |
" |
165 |
RDEPEND="${COMMON_DEPEND} |
164 |
RDEPEND="${COMMON_DEPEND} |
Lines 169-175
RDEPEND="${COMMON_DEPEND}
Link Here
|
169 |
gui-libs/gtk:4[X?,wayland?] |
168 |
gui-libs/gtk:4[X?,wayland?] |
170 |
) |
169 |
) |
171 |
qt5? ( dev-qt/qtgui:5[X?,wayland?] ) |
170 |
qt5? ( dev-qt/qtgui:5[X?,wayland?] ) |
172 |
qt6? ( dev-qt/qtbase:6[X?,wayland?] ) |
171 |
qt6? ( dev-qt/qtbase:6[gui,X?,wayland?] ) |
173 |
) |
172 |
) |
174 |
virtual/ttf-fonts |
173 |
virtual/ttf-fonts |
175 |
selinux? ( sec-policy/selinux-chromium ) |
174 |
selinux? ( sec-policy/selinux-chromium ) |
Lines 177-182
RDEPEND="${COMMON_DEPEND}
Link Here
|
177 |
DEPEND="${COMMON_DEPEND} |
176 |
DEPEND="${COMMON_DEPEND} |
178 |
!headless? ( |
177 |
!headless? ( |
179 |
gtk4? ( gui-libs/gtk:4[X?,wayland?] ) |
178 |
gtk4? ( gui-libs/gtk:4[X?,wayland?] ) |
|
|
179 |
qt5? ( dev-qt/qtgui:5[X?,wayland?] ) |
180 |
qt6? ( dev-qt/qtbase:6[gui,X?,wayland?] ) |
180 |
!gtk4? ( x11-libs/gtk+:3[X?,wayland?] ) |
181 |
!gtk4? ( x11-libs/gtk+:3[X?,wayland?] ) |
181 |
) |
182 |
) |
182 |
" |
183 |
" |
Lines 397-402
src_prepare() {
Link Here
|
397 |
"${FILESDIR}/chromium-109-system-zlib.patch" |
398 |
"${FILESDIR}/chromium-109-system-zlib.patch" |
398 |
"${FILESDIR}/chromium-111-InkDropHost-crash.patch" |
399 |
"${FILESDIR}/chromium-111-InkDropHost-crash.patch" |
399 |
"${FILESDIR}/chromium-117-system-zstd.patch" |
400 |
"${FILESDIR}/chromium-117-system-zstd.patch" |
|
|
401 |
"${FILESDIR}/chromium-123-separate-qt56.patch" |
400 |
) |
402 |
) |
401 |
|
403 |
|
402 |
if use system-toolchain; then |
404 |
if use system-toolchain; then |
Lines 1071-1076
chromium_configure() {
Link Here
|
1071 |
fi |
1073 |
fi |
1072 |
|
1074 |
|
1073 |
myconf_gn+=" use_qt=true" |
1075 |
myconf_gn+=" use_qt=true" |
|
|
1076 |
myconf_gn+=" use_qt5=$(usex qt5 true false)" |
1074 |
myconf_gn+=" use_qt6=$(usex qt6 true false)" |
1077 |
myconf_gn+=" use_qt6=$(usex qt6 true false)" |
1075 |
else |
1078 |
else |
1076 |
myconf_gn+=" use_qt=false" |
1079 |
myconf_gn+=" use_qt=false" |