Lines 97-103
RESTRICT="!bindist? ( bindist )"
Link Here
|
97 |
REQUIRED_USE=" |
97 |
REQUIRED_USE=" |
98 |
!headless? ( || ( X wayland ) ) |
98 |
!headless? ( || ( X wayland ) ) |
99 |
pgo? ( X !wayland ) |
99 |
pgo? ( X !wayland ) |
100 |
qt6? ( qt5 ) |
|
|
101 |
screencast? ( wayland ) |
100 |
screencast? ( wayland ) |
102 |
!system-toolchain? ( libcxx ) |
101 |
!system-toolchain? ( libcxx ) |
103 |
ffmpeg-chromium? ( bindist proprietary-codecs ) |
102 |
ffmpeg-chromium? ( bindist proprietary-codecs ) |
Lines 174-180
COMMON_DEPEND="
Link Here
|
174 |
dev-qt/qtcore:5 |
173 |
dev-qt/qtcore:5 |
175 |
dev-qt/qtwidgets:5 |
174 |
dev-qt/qtwidgets:5 |
176 |
) |
175 |
) |
177 |
qt6? ( dev-qt/qtbase:6[gui,widgets] ) |
176 |
qt6? ( dev-qt/qtbase:6[widgets] ) |
178 |
) |
177 |
) |
179 |
" |
178 |
" |
180 |
RDEPEND="${COMMON_DEPEND} |
179 |
RDEPEND="${COMMON_DEPEND} |
Lines 184-190
RDEPEND="${COMMON_DEPEND}
Link Here
|
184 |
gui-libs/gtk:4[X?,wayland?] |
183 |
gui-libs/gtk:4[X?,wayland?] |
185 |
) |
184 |
) |
186 |
qt5? ( dev-qt/qtgui:5[X?,wayland?] ) |
185 |
qt5? ( dev-qt/qtgui:5[X?,wayland?] ) |
187 |
qt6? ( dev-qt/qtbase:6[X?,wayland?] ) |
186 |
qt6? ( dev-qt/qtbase:6[gui,X?,wayland?] ) |
188 |
) |
187 |
) |
189 |
virtual/ttf-fonts |
188 |
virtual/ttf-fonts |
190 |
selinux? ( sec-policy/selinux-chromium ) |
189 |
selinux? ( sec-policy/selinux-chromium ) |
Lines 196-201
RDEPEND="${COMMON_DEPEND}
Link Here
|
196 |
DEPEND="${COMMON_DEPEND} |
195 |
DEPEND="${COMMON_DEPEND} |
197 |
!headless? ( |
196 |
!headless? ( |
198 |
gtk4? ( gui-libs/gtk:4[X?,wayland?] ) |
197 |
gtk4? ( gui-libs/gtk:4[X?,wayland?] ) |
|
|
198 |
qt5? ( dev-qt/qtgui:5[X?,wayland?] ) |
199 |
qt6? ( dev-qt/qtbase:6[gui,X?,wayland?] ) |
199 |
!gtk4? ( x11-libs/gtk+:3[X?,wayland?] ) |
200 |
!gtk4? ( x11-libs/gtk+:3[X?,wayland?] ) |
200 |
) |
201 |
) |
201 |
" |
202 |
" |
Lines 428-433
src_prepare() {
Link Here
|
428 |
"${FILESDIR}/chromium-111-InkDropHost-crash.patch" |
429 |
"${FILESDIR}/chromium-111-InkDropHost-crash.patch" |
429 |
"${FILESDIR}/chromium-117-system-zstd.patch" |
430 |
"${FILESDIR}/chromium-117-system-zstd.patch" |
430 |
"${FILESDIR}/chromium-124-libwebp-shim-sharpyuv.patch" |
431 |
"${FILESDIR}/chromium-124-libwebp-shim-sharpyuv.patch" |
|
|
432 |
"${FILESDIR}/chromium-124-separate-qt56.patch" |
431 |
) |
433 |
) |
432 |
|
434 |
|
433 |
if use system-toolchain; then |
435 |
if use system-toolchain; then |
Lines 1114-1119
chromium_configure() {
Link Here
|
1114 |
fi |
1116 |
fi |
1115 |
|
1117 |
|
1116 |
myconf_gn+=" use_qt=true" |
1118 |
myconf_gn+=" use_qt=true" |
|
|
1119 |
myconf_gn+=" use_qt5=$(usex qt5 true false)" |
1117 |
myconf_gn+=" use_qt6=$(usex qt6 true false)" |
1120 |
myconf_gn+=" use_qt6=$(usex qt6 true false)" |
1118 |
else |
1121 |
else |
1119 |
myconf_gn+=" use_qt=false" |
1122 |
myconf_gn+=" use_qt=false" |