-
Get this script : https://gist.github.com/gyakovlev/d9dee9a554f5f1ff086b15e6f927ebf7
-
run in, it will download patches to /tmp and will print directory.
-
Place patches to /etc/portage/patches/www-client/chromium
-
Tell chromium to use clang
mkdir -p /etc/portage/env/www-client
echo 'CHROMIUM_FORCE_CLANG="yes"' > /etc/portage/env/www-client/chromium
-
add accept-keywords entry for chromium
it should look like this:
www-client/chromium ** -
emerge chromium
=) -
optional patches
look at the script source, you can uncomment couple of extra patches not enabled by default. -
optional steps and add this line to
/etc/portage/env/www-client/chromium
EXTRA_GN=" use_vaapi=true"
if you decide to use vaapi patch.