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