Gentoo Archives: gentoo-commits

From: Stephan Hartmann <sultan@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: www-client/chromium/
Date: Wed, 01 Jun 2022 07:15:35
Message-Id: 1654067695.0e480102ac163eda791a2a7aaf6a07e51386c7f7.sultan@gentoo
1 commit: 0e480102ac163eda791a2a7aaf6a07e51386c7f7
2 Author: Stephan Hartmann <sultan <AT> gentoo <DOT> org>
3 AuthorDate: Wed Jun 1 07:13:59 2022 +0000
4 Commit: Stephan Hartmann <sultan <AT> gentoo <DOT> org>
5 CommitDate: Wed Jun 1 07:14:55 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e480102
7
8 www-client/chromium: drop 101.0.4951.64
9
10 Bug: https://bugs.gentoo.org/847370
11 Signed-off-by: Stephan Hartmann <sultan <AT> gentoo.org>
12
13 www-client/chromium/Manifest | 2 -
14 www-client/chromium/chromium-101.0.4951.64.ebuild | 1024 ---------------------
15 2 files changed, 1026 deletions(-)
16
17 diff --git a/www-client/chromium/Manifest b/www-client/chromium/Manifest
18 index 18607f76e272..9b30b9a49251 100644
19 --- a/www-client/chromium/Manifest
20 +++ b/www-client/chromium/Manifest
21 @@ -1,5 +1,3 @@
22 -DIST chromium-101-patchset-4.tar.xz 3644 BLAKE2B 537be42d078338afc46fb8f358afecffdeea11ffc76d391a2c8785cee343bcde5de4d3c2a4102e2cd90a7331bf561c54b7e0c390e21785db3821d3cd39fcb080 SHA512 19370a96f1f3edcf4d529038dedfdc1bc680e6265832bf5b3d0a86f6dbc6784d34dd861ad39c328d4755e21966d19614cbd2f7719af2981abe2c7d8e0e985a78
23 -DIST chromium-101.0.4951.64.tar.xz 1414917528 BLAKE2B 6ac1855f8a1153bd3c074edb54c1772b9c7453b8ccc5c844d27e4b649c4e8c12cd8cdd06d1a432370eebebd8d5453781f9aa4cd721ea5422d1f8aa8e7f5e90e6 SHA512 ca1ba0994c75eda67f37a9e8333beb595b237b7266503cca4c259c48b8687214b35703fdda0d6cfd2c7bbdce0b66d68cede3bc22581453f035a173caf7d4985f
24 DIST chromium-102-patchset-6.tar.xz 4780 BLAKE2B c59d23779fd769176e1cd92884dd259e5d37aaff746f7d72274e784f6467940226adea1a1f3921b0c49e402fa320b99a8ea995a3e1ffe881d7a8146aeb2b95e5 SHA512 dbed8e41cb7d2a0f9dd9be9a10b162e2258f016a23340c2ff0de9d73ef067342e63e77bd295e28d1e37fdead5ee52890e6ad143023225bfaff4c4c4a840b4619
25 DIST chromium-102.0.5005.61.tar.xz 1433350708 BLAKE2B 7130b2c9dbc67783499003fd98f95e050bac3580e9dd6c9f4fee320e9eed876cd8c3ec29d9e9f23c78c159b1b622fbe0511750baeb6f8117f176612e1571747f SHA512 4b5d48debafef0a38105e259f97eac6e25eae1147ce67e357c3ce1e8e7700950af63117ff104b71cfbdfcaa0b31925d1b686ab1be6c52b32dad819c7e38f1846
26 DIST chromium-103-patchset-4.tar.xz 7220 BLAKE2B 3dc9670be01d4bbfd24e8d305ea72e6bd911062a9a012c7548fca76ec34998b54ff31ef0118be5db9fdde3839365103cb06b29ff2ab167ad4313b4b64cba3a63 SHA512 54fb3600bb42ffcd6168f9741432879877bb5d206c11b3874249faaaff13288bffd4e7336f055c0c619efba02aa694de6abde394a6964c0ff6b33d9e3aed1691
27
28 diff --git a/www-client/chromium/chromium-101.0.4951.64.ebuild b/www-client/chromium/chromium-101.0.4951.64.ebuild
29 deleted file mode 100644
30 index 93cd8d3fee3a..000000000000
31 --- a/www-client/chromium/chromium-101.0.4951.64.ebuild
32 +++ /dev/null
33 @@ -1,1024 +0,0 @@
34 -# Copyright 2009-2022 Gentoo Authors
35 -# Distributed under the terms of the GNU General Public License v2
36 -
37 -EAPI=8
38 -PYTHON_COMPAT=( python3_{8..10} )
39 -PYTHON_REQ_USE="xml"
40 -
41 -CHROMIUM_LANGS="af am ar bg bn ca cs da de el en-GB es es-419 et fa fi fil fr gu he
42 - hi hr hu id it ja kn ko lt lv ml mr ms nb nl pl pt-BR pt-PT ro ru sk sl sr
43 - sv sw ta te th tr uk ur vi zh-CN zh-TW"
44 -
45 -inherit check-reqs chromium-2 desktop flag-o-matic ninja-utils pax-utils python-any-r1 readme.gentoo-r1 toolchain-funcs xdg-utils
46 -
47 -DESCRIPTION="Open-source version of Google Chrome web browser"
48 -HOMEPAGE="https://chromium.org/"
49 -PATCHSET="4"
50 -PATCHSET_NAME="chromium-$(ver_cut 1)-patchset-${PATCHSET}"
51 -SRC_URI="https://commondatastorage.googleapis.com/chromium-browser-official/${P}.tar.xz
52 - https://github.com/stha09/chromium-patches/releases/download/${PATCHSET_NAME}/${PATCHSET_NAME}.tar.xz"
53 -
54 -LICENSE="BSD"
55 -SLOT="0/stable"
56 -KEYWORDS="amd64 arm64 ~x86"
57 -IUSE="component-build cups cpu_flags_arm_neon debug gtk4 +hangouts headless +js-type-check kerberos libcxx +official pic +proprietary-codecs pulseaudio screencast selinux +suid +system-ffmpeg +system-harfbuzz +system-icu +system-png vaapi wayland widevine"
58 -REQUIRED_USE="
59 - component-build? ( !suid !libcxx )
60 - screencast? ( wayland )
61 -"
62 -
63 -COMMON_X_DEPEND="
64 - x11-libs/gdk-pixbuf:2
65 - x11-libs/libXcomposite:=
66 - x11-libs/libXcursor:=
67 - x11-libs/libXdamage:=
68 - x11-libs/libXfixes:=
69 - >=x11-libs/libXi-1.6.0:=
70 - x11-libs/libXrandr:=
71 - x11-libs/libXrender:=
72 - x11-libs/libXtst:=
73 - x11-libs/libxshmfence:=
74 - virtual/opengl
75 -"
76 -
77 -COMMON_SNAPSHOT_DEPEND="
78 - system-icu? ( >=dev-libs/icu-69.1:= )
79 - >=dev-libs/libxml2-2.9.4-r3:=[icu]
80 - dev-libs/nspr:=
81 - >=dev-libs/nss-3.26:=
82 - !libcxx? ( >=dev-libs/re2-0.2019.08.01:= )
83 - dev-libs/libxslt:=
84 - media-libs/fontconfig:=
85 - >=media-libs/freetype-2.11.0-r1:=
86 - system-harfbuzz? ( >=media-libs/harfbuzz-3:0=[icu(-)] )
87 - media-libs/libjpeg-turbo:=
88 - system-png? ( media-libs/libpng:=[-apng] )
89 - >=media-libs/libwebp-0.4.0:=
90 - media-libs/mesa:=[gbm(+)]
91 - >=media-libs/openh264-1.6.0:=
92 - sys-libs/zlib:=
93 - x11-libs/libdrm:=
94 - !headless? (
95 - dev-libs/glib:2
96 - >=media-libs/alsa-lib-1.0.19:=
97 - pulseaudio? ( media-sound/pulseaudio:= )
98 - sys-apps/pciutils:=
99 - kerberos? ( virtual/krb5 )
100 - vaapi? ( >=x11-libs/libva-2.7:=[X] )
101 - x11-libs/libX11:=
102 - x11-libs/libXext:=
103 - x11-libs/libxcb:=
104 - x11-libs/libxkbcommon:=
105 - wayland? (
106 - dev-libs/wayland:=
107 - screencast? ( media-video/pipewire:= )
108 - )
109 - )
110 -"
111 -
112 -COMMON_DEPEND="
113 - ${COMMON_SNAPSHOT_DEPEND}
114 - app-arch/bzip2:=
115 - dev-libs/expat:=
116 - system-ffmpeg? (
117 - >=media-video/ffmpeg-4.3:=
118 - || (
119 - media-video/ffmpeg[-samba]
120 - >=net-fs/samba-4.5.10-r1[-debug(-)]
121 - )
122 - >=media-libs/opus-1.3.1:=
123 - )
124 - net-misc/curl[ssl]
125 - sys-apps/dbus:=
126 - media-libs/flac:=
127 - sys-libs/zlib:=[minizip]
128 - !headless? (
129 - ${COMMON_X_DEPEND}
130 - >=app-accessibility/at-spi2-atk-2.26:2
131 - >=app-accessibility/at-spi2-core-2.26:2
132 - >=dev-libs/atk-2.26
133 - cups? ( >=net-print/cups-1.3.11:= )
134 - virtual/udev
135 - x11-libs/cairo:=
136 - x11-libs/pango:=
137 - )
138 -"
139 -RDEPEND="${COMMON_DEPEND}
140 - !headless? (
141 - || (
142 - x11-libs/gtk+:3[X,wayland?]
143 - gui-libs/gtk:4[X,wayland?]
144 - )
145 - )
146 - x11-misc/xdg-utils
147 - virtual/ttf-fonts
148 - selinux? ( sec-policy/selinux-chromium )
149 -"
150 -DEPEND="${COMMON_DEPEND}
151 - !headless? (
152 - gtk4? ( gui-libs/gtk:4[X,wayland?] )
153 - !gtk4? ( x11-libs/gtk+:3[X,wayland?] )
154 - )
155 -"
156 -BDEPEND="
157 - ${COMMON_SNAPSHOT_DEPEND}
158 - ${PYTHON_DEPS}
159 - $(python_gen_any_dep '
160 - dev-python/setuptools[${PYTHON_USEDEP}]
161 - ')
162 - >=app-arch/gzip-1.7
163 - libcxx? ( >=sys-devel/clang-12 )
164 - dev-lang/perl
165 - >=dev-util/gn-0.1807
166 - >=dev-util/gperf-3.0.3
167 - >=dev-util/ninja-1.7.2
168 - >=net-libs/nodejs-7.6.0[inspector]
169 - >=sys-devel/bison-2.4.3
170 - sys-devel/flex
171 - virtual/pkgconfig
172 - js-type-check? ( virtual/jre )
173 -"
174 -
175 -# These are intended for ebuild maintainer use to force clang if GCC is broken.
176 -: ${CHROMIUM_FORCE_CLANG=no}
177 -
178 -if [[ ${CHROMIUM_FORCE_CLANG} == yes ]]; then
179 - BDEPEND+=" >=sys-devel/clang-12"
180 -fi
181 -
182 -if ! has chromium_pkg_die ${EBUILD_DEATH_HOOKS}; then
183 - EBUILD_DEATH_HOOKS+=" chromium_pkg_die";
184 -fi
185 -
186 -DISABLE_AUTOFORMATTING="yes"
187 -DOC_CONTENTS="
188 -Some web pages may require additional fonts to display properly.
189 -Try installing some of the following packages if some characters
190 -are not displayed properly:
191 -- media-fonts/arphicfonts
192 -- media-fonts/droid
193 -- media-fonts/ipamonafont
194 -- media-fonts/noto
195 -- media-fonts/ja-ipafonts
196 -- media-fonts/takao-fonts
197 -- media-fonts/wqy-microhei
198 -- media-fonts/wqy-zenhei
199 -
200 -To fix broken icons on the Downloads page, you should install an icon
201 -theme that covers the appropriate MIME types, and configure this as your
202 -GTK+ icon theme.
203 -
204 -For native file dialogs in KDE, install kde-apps/kdialog.
205 -
206 -To make password storage work with your desktop environment you may
207 -have install one of the supported credentials management applications:
208 -- app-crypt/libsecret (GNOME)
209 -- kde-frameworks/kwallet (KDE)
210 -If you have one of above packages installed, but don't want to use
211 -them in Chromium, then add --password-store=basic to CHROMIUM_FLAGS
212 -in /etc/chromium/default.
213 -"
214 -
215 -python_check_deps() {
216 - has_version -b "dev-python/setuptools[${PYTHON_USEDEP}]"
217 -}
218 -
219 -pre_build_checks() {
220 - if [[ ${MERGE_TYPE} != binary ]]; then
221 - local -x CPP="$(tc-getCXX) -E"
222 - if tc-is-gcc && ! ver_test "$(gcc-version)" -ge 9.2; then
223 - die "At least gcc 9.2 is required"
224 - fi
225 - if [[ ${CHROMIUM_FORCE_CLANG} == yes ]] || tc-is-clang || use libcxx; then
226 - tc-is-cross-compiler && CPP=${CBUILD}-clang++ || CPP=${CHOST}-clang++
227 - CPP+=" -E"
228 - if ! ver_test "$(clang-major-version)" -ge 12; then
229 - die "At least clang 12 is required"
230 - fi
231 - fi
232 - fi
233 -
234 - # Check build requirements, bug #541816 and bug #471810 .
235 - CHECKREQS_MEMORY="4G"
236 - CHECKREQS_DISK_BUILD="10G"
237 - tc-is-cross-compiler && CHECKREQS_DISK_BUILD="13G"
238 - if ( shopt -s extglob; is-flagq '-g?(gdb)?([1-9])' ); then
239 - if use custom-cflags || use component-build; then
240 - CHECKREQS_DISK_BUILD="25G"
241 - fi
242 - if ! use component-build; then
243 - CHECKREQS_MEMORY="16G"
244 - fi
245 - fi
246 - check-reqs_pkg_setup
247 -}
248 -
249 -pkg_pretend() {
250 - pre_build_checks
251 -
252 - if use headless; then
253 - local headless_unused_flags=("cups" "kerberos" "pulseaudio" "vaapi" "wayland")
254 - for myiuse in ${headless_unused_flags[@]}; do
255 - use ${myiuse} && ewarn "Ignoring USE=${myiuse} since USE=headless is set."
256 - done
257 - fi
258 -}
259 -
260 -pkg_setup() {
261 - pre_build_checks
262 -
263 - chromium_suid_sandbox_check_kernel_config
264 -
265 - # nvidia-drivers does not work correctly with Wayland due to unsupported EGLStreams
266 - if use wayland && ! use headless && has_version "x11-drivers/nvidia-drivers"; then
267 - ewarn "Proprietary nVidia driver does not work with Wayland. You can disable"
268 - ewarn "Wayland by setting DISABLE_OZONE_PLATFORM=true in /etc/chromium/default."
269 - fi
270 -}
271 -
272 -src_prepare() {
273 - # Calling this here supports resumption via FEATURES=keepwork
274 - python_setup
275 -
276 - local PATCHES=(
277 - "${WORKDIR}/patches"
278 - "${FILESDIR}/chromium-93-InkDropHost-crash.patch"
279 - "${FILESDIR}/chromium-97-arm-tflite-cast.patch"
280 - "${FILESDIR}/chromium-98-EnumTable-crash.patch"
281 - "${FILESDIR}/chromium-98-gtk4-build.patch"
282 - "${FILESDIR}/chromium-101-libxml-unbundle.patch"
283 - "${FILESDIR}/chromium-use-oauth2-client-switches-as-default.patch"
284 - "${FILESDIR}/chromium-shim_headers.patch"
285 - "${FILESDIR}/chromium-cross-compile.patch"
286 - )
287 -
288 - default
289 -
290 - mkdir -p third_party/node/linux/node-linux-x64/bin || die
291 - ln -s "${EPREFIX}"/usr/bin/node third_party/node/linux/node-linux-x64/bin/node || die
292 -
293 - # adjust python interpreter version
294 - sed -i -e "s|\(^script_executable = \).*|\1\"${EPYTHON}\"|g" .gn || die
295 -
296 - local keeplibs=(
297 - base/third_party/cityhash
298 - base/third_party/double_conversion
299 - base/third_party/dynamic_annotations
300 - base/third_party/icu
301 - base/third_party/nspr
302 - base/third_party/superfasthash
303 - base/third_party/symbolize
304 - base/third_party/valgrind
305 - base/third_party/xdg_mime
306 - base/third_party/xdg_user_dirs
307 - buildtools/third_party/libc++
308 - buildtools/third_party/libc++abi
309 - chrome/third_party/mozilla_security_manager
310 - courgette/third_party
311 - net/third_party/mozilla_security_manager
312 - net/third_party/nss
313 - net/third_party/quic
314 - net/third_party/uri_template
315 - third_party/abseil-cpp
316 - third_party/angle
317 - third_party/angle/src/common/third_party/base
318 - third_party/angle/src/common/third_party/smhasher
319 - third_party/angle/src/common/third_party/xxhash
320 - third_party/angle/src/third_party/libXNVCtrl
321 - third_party/angle/src/third_party/trace_event
322 - third_party/angle/src/third_party/volk
323 - third_party/apple_apsl
324 - third_party/axe-core
325 - third_party/blink
326 - third_party/boringssl
327 - third_party/boringssl/src/third_party/fiat
328 - third_party/breakpad
329 - third_party/breakpad/breakpad/src/third_party/curl
330 - third_party/brotli
331 - third_party/catapult
332 - third_party/catapult/common/py_vulcanize/third_party/rcssmin
333 - third_party/catapult/common/py_vulcanize/third_party/rjsmin
334 - third_party/catapult/third_party/beautifulsoup4-4.9.3
335 - third_party/catapult/third_party/html5lib-1.1
336 - third_party/catapult/third_party/polymer
337 - third_party/catapult/third_party/six
338 - third_party/catapult/tracing/third_party/d3
339 - third_party/catapult/tracing/third_party/gl-matrix
340 - third_party/catapult/tracing/third_party/jpeg-js
341 - third_party/catapult/tracing/third_party/jszip
342 - third_party/catapult/tracing/third_party/mannwhitneyu
343 - third_party/catapult/tracing/third_party/oboe
344 - third_party/catapult/tracing/third_party/pako
345 - third_party/ced
346 - third_party/cld_3
347 - third_party/closure_compiler
348 - third_party/crashpad
349 - third_party/crashpad/crashpad/third_party/lss
350 - third_party/crashpad/crashpad/third_party/zlib
351 - third_party/crc32c
352 - third_party/cros_system_api
353 - third_party/dav1d
354 - third_party/dawn
355 - third_party/dawn/third_party/khronos
356 - third_party/dawn/third_party/tint
357 - third_party/depot_tools
358 - third_party/devscripts
359 - third_party/devtools-frontend
360 - third_party/devtools-frontend/src/front_end/third_party/acorn
361 - third_party/devtools-frontend/src/front_end/third_party/additional_readme_paths.json
362 - third_party/devtools-frontend/src/front_end/third_party/axe-core
363 - third_party/devtools-frontend/src/front_end/third_party/chromium
364 - third_party/devtools-frontend/src/front_end/third_party/codemirror
365 - third_party/devtools-frontend/src/front_end/third_party/diff
366 - third_party/devtools-frontend/src/front_end/third_party/i18n
367 - third_party/devtools-frontend/src/front_end/third_party/intl-messageformat
368 - third_party/devtools-frontend/src/front_end/third_party/lighthouse
369 - third_party/devtools-frontend/src/front_end/third_party/lit-html
370 - third_party/devtools-frontend/src/front_end/third_party/lodash-isequal
371 - third_party/devtools-frontend/src/front_end/third_party/marked
372 - third_party/devtools-frontend/src/front_end/third_party/puppeteer
373 - third_party/devtools-frontend/src/front_end/third_party/wasmparser
374 - third_party/devtools-frontend/src/test/unittests/front_end/third_party/i18n
375 - third_party/devtools-frontend/src/third_party
376 - third_party/distributed_point_functions
377 - third_party/dom_distiller_js
378 - third_party/eigen3
379 - third_party/emoji-segmenter
380 - third_party/farmhash
381 - third_party/fdlibm
382 - third_party/fft2d
383 - third_party/flatbuffers
384 - third_party/freetype
385 - third_party/fusejs
386 - third_party/highway
387 - third_party/libgifcodec
388 - third_party/liburlpattern
389 - third_party/libzip
390 - third_party/gemmlowp
391 - third_party/google_input_tools
392 - third_party/google_input_tools/third_party/closure_library
393 - third_party/google_input_tools/third_party/closure_library/third_party/closure
394 - third_party/googletest
395 - third_party/hunspell
396 - third_party/iccjpeg
397 - third_party/inspector_protocol
398 - third_party/jinja2
399 - third_party/jsoncpp
400 - third_party/jstemplate
401 - third_party/khronos
402 - third_party/leveldatabase
403 - third_party/libXNVCtrl
404 - third_party/libaddressinput
405 - third_party/libaom
406 - third_party/libaom/source/libaom/third_party/fastfeat
407 - third_party/libaom/source/libaom/third_party/vector
408 - third_party/libaom/source/libaom/third_party/x86inc
409 - third_party/libavif
410 - third_party/libgav1
411 - third_party/libjingle
412 - third_party/libjxl
413 - third_party/libphonenumber
414 - third_party/libsecret
415 - third_party/libsrtp
416 - third_party/libsync
417 - third_party/libudev
418 - third_party/libva_protected_content
419 - third_party/libvpx
420 - third_party/libvpx/source/libvpx/third_party/x86inc
421 - third_party/libwebm
422 - third_party/libx11
423 - third_party/libxcb-keysyms
424 - third_party/libxml/chromium
425 - third_party/libyuv
426 - third_party/llvm
427 - third_party/lottie
428 - third_party/lss
429 - third_party/lzma_sdk
430 - third_party/mako
431 - third_party/maldoca
432 - third_party/maldoca/src/third_party/tensorflow_protos
433 - third_party/maldoca/src/third_party/zlibwrapper
434 - third_party/markupsafe
435 - third_party/mesa
436 - third_party/metrics_proto
437 - third_party/minigbm
438 - third_party/modp_b64
439 - third_party/nasm
440 - third_party/nearby
441 - third_party/neon_2_sse
442 - third_party/node
443 - third_party/node/node_modules/polymer-bundler/lib/third_party/UglifyJS2
444 - third_party/one_euro_filter
445 - third_party/opencv
446 - third_party/openscreen
447 - third_party/openscreen/src/third_party/mozilla
448 - third_party/openscreen/src/third_party/tinycbor/src/src
449 - third_party/ots
450 - third_party/pdfium
451 - third_party/pdfium/third_party/agg23
452 - third_party/pdfium/third_party/base
453 - third_party/pdfium/third_party/bigint
454 - third_party/pdfium/third_party/freetype
455 - third_party/pdfium/third_party/lcms
456 - third_party/pdfium/third_party/libopenjpeg20
457 - third_party/pdfium/third_party/libpng16
458 - third_party/pdfium/third_party/libtiff
459 - third_party/pdfium/third_party/skia_shared
460 - third_party/perfetto
461 - third_party/perfetto/protos/third_party/chromium
462 - third_party/pffft
463 - third_party/ply
464 - third_party/polymer
465 - third_party/private-join-and-compute
466 - third_party/private_membership
467 - third_party/protobuf
468 - third_party/protobuf/third_party/six
469 - third_party/pyjson5
470 - third_party/qcms
471 - third_party/rnnoise
472 - third_party/s2cellid
473 - third_party/securemessage
474 - third_party/shell-encryption
475 - third_party/simplejson
476 - third_party/skia
477 - third_party/skia/include/third_party/skcms
478 - third_party/skia/include/third_party/vulkan
479 - third_party/skia/third_party/skcms
480 - third_party/skia/third_party/vulkan
481 - third_party/smhasher
482 - third_party/snappy
483 - third_party/sqlite
484 - third_party/swiftshader
485 - third_party/swiftshader/third_party/astc-encoder
486 - third_party/swiftshader/third_party/llvm-subzero
487 - third_party/swiftshader/third_party/marl
488 - third_party/swiftshader/third_party/subzero
489 - third_party/swiftshader/third_party/SPIRV-Headers/include/spirv/unified1
490 - third_party/tensorflow-text
491 - third_party/tflite
492 - third_party/tflite/src/third_party/eigen3
493 - third_party/tflite/src/third_party/fft2d
494 - third_party/ruy
495 - third_party/six
496 - third_party/ukey2
497 - third_party/unrar
498 - third_party/usrsctp
499 - third_party/utf
500 - third_party/vulkan
501 - third_party/web-animations-js
502 - third_party/webdriver
503 - third_party/webgpu-cts
504 - third_party/webrtc
505 - third_party/webrtc/common_audio/third_party/ooura
506 - third_party/webrtc/common_audio/third_party/spl_sqrt_floor
507 - third_party/webrtc/modules/third_party/fft
508 - third_party/webrtc/modules/third_party/g711
509 - third_party/webrtc/modules/third_party/g722
510 - third_party/webrtc/rtc_base/third_party/base64
511 - third_party/webrtc/rtc_base/third_party/sigslot
512 - third_party/widevine
513 - third_party/woff2
514 - third_party/wuffs
515 - third_party/x11proto
516 - third_party/xcbproto
517 - third_party/zxcvbn-cpp
518 - third_party/zlib/google
519 - url/third_party/mozilla
520 - v8/src/third_party/siphash
521 - v8/src/third_party/valgrind
522 - v8/src/third_party/utf8-decoder
523 - v8/third_party/inspector_protocol
524 - v8/third_party/v8
525 -
526 - # gyp -> gn leftovers
527 - base/third_party/libevent
528 - third_party/speech-dispatcher
529 - third_party/usb_ids
530 - third_party/xdg-utils
531 - )
532 - if ! use system-ffmpeg; then
533 - keeplibs+=( third_party/ffmpeg third_party/opus )
534 - fi
535 - if ! use system-icu; then
536 - keeplibs+=( third_party/icu )
537 - fi
538 - if ! use system-png; then
539 - keeplibs+=( third_party/libpng )
540 - fi
541 - if use libcxx; then
542 - keeplibs+=( third_party/re2 )
543 - fi
544 - if use system-harfbuzz; then
545 - keeplibs+=( third_party/harfbuzz-ng/utils )
546 - else
547 - keeplibs+=( third_party/harfbuzz-ng )
548 - fi
549 - if use wayland && ! use headless ; then
550 - keeplibs+=( third_party/wayland )
551 - fi
552 - if use arm64 || use ppc64 ; then
553 - keeplibs+=( third_party/swiftshader/third_party/llvm-10.0 )
554 - fi
555 - # we need to generate ppc64 stuff because upstream does not ship it yet
556 - # it has to be done before unbundling.
557 - if use ppc64; then
558 - pushd third_party/libvpx >/dev/null || die
559 - mkdir -p source/config/linux/ppc64 || die
560 - # requires git and clang, bug #832803
561 - sed -i -e "s|^update_readme||g; s|clang-format|${EPREFIX}/bin/true|g" \
562 - generate_gni.sh || die
563 - ./generate_gni.sh || die
564 - popd >/dev/null || die
565 -
566 - pushd third_party/ffmpeg >/dev/null || die
567 - cp libavcodec/ppc/h264dsp.c libavcodec/ppc/h264dsp_ppc.c || die
568 - cp libavcodec/ppc/h264qpel.c libavcodec/ppc/h264qpel_ppc.c || die
569 - popd >/dev/null || die
570 - fi
571 -
572 - # Remove most bundled libraries. Some are still needed.
573 - build/linux/unbundle/remove_bundled_libraries.py "${keeplibs[@]}" --do-remove || die
574 -
575 - if use js-type-check; then
576 - ln -s "${EPREFIX}"/usr/bin/java third_party/jdk/current/bin/java || die
577 - fi
578 -
579 - # bundled eu-strip is for amd64 only and we don't want to pre-stripped binaries
580 - mkdir -p buildtools/third_party/eu-strip/bin || die
581 - ln -s "${EPREFIX}"/bin/true buildtools/third_party/eu-strip/bin/eu-strip || die
582 -}
583 -
584 -src_configure() {
585 - # Calling this here supports resumption via FEATURES=keepwork
586 - python_setup
587 -
588 - local myconf_gn=""
589 -
590 - # Make sure the build system will use the right tools, bug #340795.
591 - tc-export AR CC CXX NM
592 -
593 - if { [[ ${CHROMIUM_FORCE_CLANG} == yes ]] || use libcxx; } && ! tc-is-clang; then
594 - # Force clang since gcc is either broken or build is using libcxx.
595 - if tc-is-cross-compiler; then
596 - CC="${CBUILD}-clang -target ${CHOST} --sysroot ${ESYSROOT}"
597 - CXX="${CBUILD}-clang++ -target ${CHOST} --sysroot ${ESYSROOT}"
598 - BUILD_CC=${CBUILD}-clang
599 - BUILD_CXX=${CBUILD}-clang++
600 - else
601 - CC=${CHOST}-clang
602 - CXX=${CHOST}-clang++
603 - fi
604 - strip-unsupported-flags
605 - fi
606 -
607 - if tc-is-clang || use libcxx; then
608 - myconf_gn+=" is_clang=true clang_use_chrome_plugins=false"
609 - else
610 - myconf_gn+=" is_clang=false"
611 - fi
612 -
613 - # Define a custom toolchain for GN
614 - myconf_gn+=" custom_toolchain=\"//build/toolchain/linux/unbundle:default\""
615 -
616 - if tc-is-cross-compiler; then
617 - tc-export BUILD_{AR,CC,CXX,NM}
618 - myconf_gn+=" host_toolchain=\"//build/toolchain/linux/unbundle:host\""
619 - myconf_gn+=" v8_snapshot_toolchain=\"//build/toolchain/linux/unbundle:host\""
620 - myconf_gn+=" pkg_config=\"$(tc-getPKG_CONFIG)\""
621 - myconf_gn+=" host_pkg_config=\"$(tc-getBUILD_PKG_CONFIG)\""
622 -
623 - # setup cups-config, build system only uses --libs option
624 - if use cups; then
625 - mkdir "${T}/cups-config" || die
626 - cp "${ESYSROOT}/usr/bin/${CHOST}-cups-config" "${T}/cups-config/cups-config" || die
627 - export PATH="${PATH}:${T}/cups-config"
628 - fi
629 -
630 - # Don't inherit PKG_CONFIG_PATH from environment
631 - local -x PKG_CONFIG_PATH=
632 - else
633 - myconf_gn+=" host_toolchain=\"//build/toolchain/linux/unbundle:default\""
634 - fi
635 -
636 - # GN needs explicit config for Debug/Release as opposed to inferring it from build directory.
637 - myconf_gn+=" is_debug=false"
638 -
639 - # enable DCHECK with USE=debug only, increases chrome binary size by 30%, bug #811138.
640 - # DCHECK is fatal by default, make it configurable at runtime, #bug 807881.
641 - myconf_gn+=" dcheck_always_on=$(usex debug true false)"
642 - myconf_gn+=" dcheck_is_configurable=$(usex debug true false)"
643 -
644 - # Component build isn't generally intended for use by end users. It's mostly useful
645 - # for development and debugging.
646 - myconf_gn+=" is_component_build=$(usex component-build true false)"
647 -
648 - # Disable nacl, we can't build without pnacl (http://crbug.com/269560).
649 - myconf_gn+=" enable_nacl=false"
650 -
651 - # Use system-provided libraries.
652 - # TODO: freetype -- remove sources (https://bugs.chromium.org/p/pdfium/issues/detail?id=733).
653 - # TODO: use_system_hunspell (upstream changes needed).
654 - # TODO: use_system_protobuf (bug #525560).
655 - # TODO: use_system_sqlite (http://crbug.com/22208).
656 -
657 - # libevent: https://bugs.gentoo.org/593458
658 - local gn_system_libraries=(
659 - flac
660 - fontconfig
661 - freetype
662 - # Need harfbuzz_from_pkgconfig target
663 - #harfbuzz-ng
664 - libdrm
665 - libjpeg
666 - libwebp
667 - libxml
668 - libxslt
669 - openh264
670 - zlib
671 - )
672 - if use system-ffmpeg; then
673 - gn_system_libraries+=( ffmpeg opus )
674 - fi
675 - if use system-icu; then
676 - gn_system_libraries+=( icu )
677 - fi
678 - if use system-png; then
679 - gn_system_libraries+=( libpng )
680 - fi
681 - # re2 library interface relies on std::string and std::vector
682 - if ! use libcxx; then
683 - gn_system_libraries+=( re2 )
684 - fi
685 - build/linux/unbundle/replace_gn_files.py --system-libraries "${gn_system_libraries[@]}" || die
686 -
687 - # See dependency logic in third_party/BUILD.gn
688 - myconf_gn+=" use_system_harfbuzz=$(usex system-harfbuzz true false)"
689 -
690 - # Disable deprecated libgnome-keyring dependency, bug #713012
691 - myconf_gn+=" use_gnome_keyring=false"
692 -
693 - # Optional dependencies.
694 - myconf_gn+=" enable_js_type_check=$(usex js-type-check true false)"
695 - myconf_gn+=" enable_hangout_services_extension=$(usex hangouts true false)"
696 - myconf_gn+=" enable_widevine=$(usex widevine true false)"
697 -
698 - if use headless; then
699 - myconf_gn+=" use_cups=false"
700 - myconf_gn+=" use_kerberos=false"
701 - myconf_gn+=" use_pulseaudio=false"
702 - myconf_gn+=" use_vaapi=false"
703 - myconf_gn+=" rtc_use_pipewire=false"
704 - else
705 - myconf_gn+=" use_cups=$(usex cups true false)"
706 - myconf_gn+=" use_kerberos=$(usex kerberos true false)"
707 - myconf_gn+=" use_pulseaudio=$(usex pulseaudio true false)"
708 - myconf_gn+=" use_vaapi=$(usex vaapi true false)"
709 - myconf_gn+=" rtc_use_pipewire=$(usex screencast true false)"
710 - myconf_gn+=" gtk_version=$(usex gtk4 4 3)"
711 - fi
712 -
713 - # TODO: link_pulseaudio=true for GN.
714 -
715 - myconf_gn+=" disable_fieldtrial_testing_config=true"
716 -
717 - # Never use bundled gold binary. Disable gold linker flags for now.
718 - # Do not use bundled clang.
719 - # Trying to use gold results in linker crash.
720 - myconf_gn+=" use_gold=false use_sysroot=false"
721 - myconf_gn+=" use_custom_libcxx=$(usex libcxx true false)"
722 -
723 - # Disable forced lld, bug 641556
724 - myconf_gn+=" use_lld=false"
725 -
726 - # Disable pseudolocales, only used for testing
727 - myconf_gn+=" enable_pseudolocales=false"
728 -
729 - # Disable code formating of generated files
730 - myconf_gn+=" blink_enable_generated_code_formatting=false"
731 -
732 - ffmpeg_branding="$(usex proprietary-codecs Chrome Chromium)"
733 - myconf_gn+=" proprietary_codecs=$(usex proprietary-codecs true false)"
734 - myconf_gn+=" ffmpeg_branding=\"${ffmpeg_branding}\""
735 -
736 - # Set up Google API keys, see http://www.chromium.org/developers/how-tos/api-keys .
737 - # Note: these are for Gentoo use ONLY. For your own distribution,
738 - # please get your own set of keys. Feel free to contact chromium@g.o
739 - # for more info. The OAuth2 credentials, however, have been left out.
740 - # Those OAuth2 credentials have been broken for quite some time anyway.
741 - # Instead we apply a patch to use the --oauth2-client-id= and
742 - # --oauth2-client-secret= switches for setting GOOGLE_DEFAULT_CLIENT_ID and
743 - # GOOGLE_DEFAULT_CLIENT_SECRET at runtime. This allows signing into
744 - # Chromium without baked-in values.
745 - local google_api_key="AIzaSyDEAOvatFo0eTgsV_ZlEzx0ObmepsMzfAc"
746 - myconf_gn+=" google_api_key=\"${google_api_key}\""
747 - local myarch="$(tc-arch)"
748 -
749 - # Avoid CFLAGS problems, bug #352457, bug #390147.
750 - if ! use custom-cflags; then
751 - replace-flags "-Os" "-O2"
752 - strip-flags
753 -
754 - # Debug info section overflows without component build
755 - # Prevent linker from running out of address space, bug #471810 .
756 - if ! use component-build || use x86; then
757 - filter-flags "-g*"
758 - fi
759 -
760 - # Prevent libvpx build failures. Bug 530248, 544702, 546984.
761 - if [[ ${myarch} == amd64 || ${myarch} == x86 ]]; then
762 - filter-flags -mno-mmx -mno-sse2 -mno-ssse3 -mno-sse4.1 -mno-avx -mno-avx2 -mno-fma -mno-fma4
763 - fi
764 - fi
765 -
766 - if [[ $myarch = amd64 ]] ; then
767 - myconf_gn+=" target_cpu=\"x64\""
768 - ffmpeg_target_arch=x64
769 - elif [[ $myarch = x86 ]] ; then
770 - myconf_gn+=" target_cpu=\"x86\""
771 - ffmpeg_target_arch=ia32
772 -
773 - # This is normally defined by compiler_cpu_abi in
774 - # build/config/compiler/BUILD.gn, but we patch that part out.
775 - append-flags -msse2 -mfpmath=sse -mmmx
776 - elif [[ $myarch = arm64 ]] ; then
777 - myconf_gn+=" target_cpu=\"arm64\""
778 - ffmpeg_target_arch=arm64
779 - elif [[ $myarch = arm ]] ; then
780 - myconf_gn+=" target_cpu=\"arm\""
781 - ffmpeg_target_arch=$(usex cpu_flags_arm_neon arm-neon arm)
782 - elif [[ $myarch = ppc64 ]] ; then
783 - myconf_gn+=" target_cpu=\"ppc64\""
784 - ffmpeg_target_arch=ppc64
785 - else
786 - die "Failed to determine target arch, got '$myarch'."
787 - fi
788 -
789 - # Make sure that -Werror doesn't get added to CFLAGS by the build system.
790 - # Depending on GCC version the warnings are different and we don't want
791 - # the build to fail because of that.
792 - myconf_gn+=" treat_warnings_as_errors=false"
793 -
794 - # Disable fatal linker warnings, bug 506268.
795 - myconf_gn+=" fatal_linker_warnings=false"
796 -
797 - # Disable external code space for V8 for ppc64. It is disabled for ppc64
798 - # by default, but cross-compiling on amd64 enables it again.
799 - if tc-is-cross-compiler; then
800 - if ! use amd64 && ! use arm64; then
801 - myconf_gn+=" v8_enable_external_code_space=false"
802 - fi
803 - fi
804 -
805 - # Bug 491582.
806 - export TMPDIR="${WORKDIR}/temp"
807 - mkdir -p -m 755 "${TMPDIR}" || die
808 -
809 - # https://bugs.gentoo.org/654216
810 - addpredict /dev/dri/ #nowarn
811 -
812 - #if ! use system-ffmpeg; then
813 - if false; then
814 - local build_ffmpeg_args=""
815 - if use pic && [[ "${ffmpeg_target_arch}" == "ia32" ]]; then
816 - build_ffmpeg_args+=" --disable-asm"
817 - fi
818 -
819 - # Re-configure bundled ffmpeg. See bug #491378 for example reasons.
820 - einfo "Configuring bundled ffmpeg..."
821 - pushd third_party/ffmpeg > /dev/null || die
822 - chromium/scripts/build_ffmpeg.py linux ${ffmpeg_target_arch} \
823 - --branding ${ffmpeg_branding} -- ${build_ffmpeg_args} || die
824 - chromium/scripts/copy_config.sh || die
825 - chromium/scripts/generate_gn.py || die
826 - popd > /dev/null || die
827 - fi
828 -
829 - # Disable unknown warning message from clang.
830 - if tc-is-clang; then
831 - append-flags -Wno-unknown-warning-option
832 - if tc-is-cross-compiler; then
833 - export BUILD_CXXFLAGS+=" -Wno-unknown-warning-option"
834 - export BUILD_CFLAGS+=" -Wno-unknown-warning-option"
835 - fi
836 - fi
837 -
838 - # Explicitly disable ICU data file support for system-icu/headless builds.
839 - if use system-icu || use headless; then
840 - myconf_gn+=" icu_use_data_file=false"
841 - fi
842 -
843 - # Enable ozone wayland and/or headless support
844 - myconf_gn+=" use_ozone=true ozone_auto_platforms=false"
845 - myconf_gn+=" ozone_platform_headless=true"
846 - myconf_gn+=" ozone_platform_x11=$(usex headless false true)"
847 - if use wayland || use headless; then
848 - if use headless; then
849 - myconf_gn+=" ozone_platform=\"headless\""
850 - myconf_gn+=" use_xkbcommon=false use_gtk=false"
851 - myconf_gn+=" use_glib=false use_gio=false"
852 - myconf_gn+=" use_pangocairo=false use_alsa=false"
853 - myconf_gn+=" use_libpci=false use_udev=false"
854 - myconf_gn+=" enable_print_preview=false"
855 - myconf_gn+=" enable_remoting=false"
856 - else
857 - myconf_gn+=" ozone_platform_wayland=true"
858 - myconf_gn+=" use_system_libdrm=true"
859 - myconf_gn+=" use_system_minigbm=true"
860 - myconf_gn+=" use_xkbcommon=true"
861 - myconf_gn+=" ozone_platform=\"wayland\""
862 - fi
863 - else
864 - myconf_gn+=" ozone_platform=\"x11\""
865 - fi
866 -
867 - # Enable official builds
868 - myconf_gn+=" is_official_build=$(usex official true false)"
869 - myconf_gn+=" use_thin_lto=false"
870 - if use official; then
871 - # Allow building against system libraries in official builds
872 - sed -i 's/OFFICIAL_BUILD/GOOGLE_CHROME_BUILD/' \
873 - tools/generate_shim_headers/generate_shim_headers.py || die
874 - # Disable CFI: unsupported for GCC, requires clang+lto+lld
875 - myconf_gn+=" is_cfi=false"
876 - # Disable PGO, because profile data is only compatible with >=clang-11
877 - myconf_gn+=" chrome_pgo_phase=0"
878 - # Don't add symbols to build
879 - myconf_gn+=" symbol_level=0"
880 - fi
881 -
882 - einfo "Configuring Chromium..."
883 - set -- gn gen --args="${myconf_gn} ${EXTRA_GN}" out/Release
884 - echo "$@"
885 - "$@" || die
886 -}
887 -
888 -src_compile() {
889 - # Final link uses lots of file descriptors.
890 - ulimit -n 2048
891 -
892 - # Calling this here supports resumption via FEATURES=keepwork
893 - python_setup
894 -
895 - # Don't inherit PYTHONPATH from environment, bug #789021, #812689
896 - local -x PYTHONPATH=
897 -
898 - #"${EPYTHON}" tools/clang/scripts/update.py --force-local-build --gcc-toolchain /usr --skip-checkout --use-system-cmake --without-android || die
899 -
900 - # Build mksnapshot and pax-mark it.
901 - local x
902 - for x in mksnapshot v8_context_snapshot_generator; do
903 - if tc-is-cross-compiler; then
904 - eninja -C out/Release "host/${x}"
905 - pax-mark m "out/Release/host/${x}"
906 - else
907 - eninja -C out/Release "${x}"
908 - pax-mark m "out/Release/${x}"
909 - fi
910 - done
911 -
912 - # Even though ninja autodetects number of CPUs, we respect
913 - # user's options, for debugging with -j 1 or any other reason.
914 - eninja -C out/Release chrome chromedriver
915 - use suid && eninja -C out/Release chrome_sandbox
916 -
917 - pax-mark m out/Release/chrome
918 -
919 - mv out/Release/chromedriver{.unstripped,} || die
920 -
921 - # Build manpage; bug #684550
922 - sed -e 's|@@PACKAGE@@|chromium-browser|g;
923 - s|@@MENUNAME@@|Chromium|g;' \
924 - chrome/app/resources/manpage.1.in > \
925 - out/Release/chromium-browser.1 || die
926 -
927 - # Build desktop file; bug #706786
928 - sed -e 's|@@MENUNAME@@|Chromium|g;
929 - s|@@USR_BIN_SYMLINK_NAME@@|chromium-browser|g;
930 - s|@@PACKAGE@@|chromium-browser|g;
931 - s|\(^Exec=\)/usr/bin/|\1|g;' \
932 - chrome/installer/linux/common/desktop.template > \
933 - out/Release/chromium-browser-chromium.desktop || die
934 -
935 - # Build vk_swiftshader_icd.json; bug #827861
936 - sed -e 's|${ICD_LIBRARY_PATH}|./libvk_swiftshader.so|g' \
937 - third_party/swiftshader/src/Vulkan/vk_swiftshader_icd.json.tmpl > \
938 - out/Release/vk_swiftshader_icd.json || die
939 -}
940 -
941 -src_install() {
942 - local CHROMIUM_HOME="/usr/$(get_libdir)/chromium-browser"
943 - exeinto "${CHROMIUM_HOME}"
944 - doexe out/Release/chrome
945 -
946 - if use suid; then
947 - newexe out/Release/chrome_sandbox chrome-sandbox
948 - fperms 4755 "${CHROMIUM_HOME}/chrome-sandbox"
949 - fi
950 -
951 - doexe out/Release/chromedriver
952 - doexe out/Release/chrome_crashpad_handler
953 -
954 - ozone_auto_session () {
955 - use wayland && ! use headless && echo true || echo false
956 - }
957 - local sedargs=( -e
958 - "s:/usr/lib/:/usr/$(get_libdir)/:g;
959 - s:@@OZONE_AUTO_SESSION@@:$(ozone_auto_session):g"
960 - )
961 - sed "${sedargs[@]}" "${FILESDIR}/chromium-launcher-r7.sh" > chromium-launcher.sh || die
962 - doexe chromium-launcher.sh
963 -
964 - # It is important that we name the target "chromium-browser",
965 - # xdg-utils expect it; bug #355517.
966 - dosym "${CHROMIUM_HOME}/chromium-launcher.sh" /usr/bin/chromium-browser
967 - # keep the old symlink around for consistency
968 - dosym "${CHROMIUM_HOME}/chromium-launcher.sh" /usr/bin/chromium
969 -
970 - dosym "${CHROMIUM_HOME}/chromedriver" /usr/bin/chromedriver
971 -
972 - # Allow users to override command-line options, bug #357629.
973 - insinto /etc/chromium
974 - newins "${FILESDIR}/chromium.default" "default"
975 -
976 - pushd out/Release/locales > /dev/null || die
977 - chromium_remove_language_paks
978 - popd
979 -
980 - insinto "${CHROMIUM_HOME}"
981 - doins out/Release/*.bin
982 - doins out/Release/*.pak
983 - (
984 - shopt -s nullglob
985 - local files=(out/Release/*.so out/Release/*.so.[0-9])
986 - [[ ${#files[@]} -gt 0 ]] && doins "${files[@]}"
987 - )
988 -
989 - if ! use system-icu && ! use headless; then
990 - doins out/Release/icudtl.dat
991 - fi
992 -
993 - doins -r out/Release/locales
994 - doins -r out/Release/MEIPreload
995 -
996 - # Install vk_swiftshader_icd.json; bug #827861
997 - doins out/Release/vk_swiftshader_icd.json
998 -
999 - if [[ -d out/Release/swiftshader ]]; then
1000 - insinto "${CHROMIUM_HOME}/swiftshader"
1001 - doins out/Release/swiftshader/*.so
1002 - fi
1003 -
1004 - # Install icons
1005 - local branding size
1006 - for size in 16 24 32 48 64 128 256 ; do
1007 - case ${size} in
1008 - 16|32) branding="chrome/app/theme/default_100_percent/chromium" ;;
1009 - *) branding="chrome/app/theme/chromium" ;;
1010 - esac
1011 - newicon -s ${size} "${branding}/product_logo_${size}.png" \
1012 - chromium-browser.png
1013 - done
1014 -
1015 - # Install desktop entry
1016 - domenu out/Release/chromium-browser-chromium.desktop
1017 -
1018 - # Install GNOME default application entry (bug #303100).
1019 - insinto /usr/share/gnome-control-center/default-apps
1020 - newins "${FILESDIR}"/chromium-browser.xml chromium-browser.xml
1021 -
1022 - # Install manpage; bug #684550
1023 - doman out/Release/chromium-browser.1
1024 - dosym chromium-browser.1 /usr/share/man/man1/chromium.1
1025 -
1026 - readme.gentoo_create_doc
1027 -}
1028 -
1029 -pkg_postrm() {
1030 - xdg_icon_cache_update
1031 - xdg_desktop_database_update
1032 -}
1033 -
1034 -pkg_postinst() {
1035 - xdg_icon_cache_update
1036 - xdg_desktop_database_update
1037 - readme.gentoo_print_elog
1038 -
1039 - if ! use headless; then
1040 - if use vaapi; then
1041 - elog "VA-API is disabled by default at runtime. You have to enable it"
1042 - elog "by adding --enable-features=VaapiVideoDecoder to CHROMIUM_FLAGS"
1043 - elog "in /etc/chromium/default."
1044 - fi
1045 - if use screencast; then
1046 - elog "Screencast is disabled by default at runtime. Either enable it"
1047 - elog "by navigating to chrome://flags/#enable-webrtc-pipewire-capturer"
1048 - elog "inside Chromium or add --enable-features=WebRTCPipeWireCapturer"
1049 - elog "to CHROMIUM_FLAGS in /etc/chromium/default."
1050 - fi
1051 - if use gtk4; then
1052 - elog "Chromium prefers GTK3 over GTK4 at runtime. To override this"
1053 - elog "behavior you need to pass --gtk-version=4, e.g. by adding it"
1054 - elog "to CHROMIUM_FLAGS in /etc/chromium/default."
1055 - fi
1056 - fi
1057 -}