Skip to content

Instantly share code, notes, and snippets.

@gyakovlev
Last active July 21, 2020 01:18
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gyakovlev/e7c8ebf682c593352ac672892189ae18 to your computer and use it in GitHub Desktop.
Save gyakovlev/e7c8ebf682c593352ac672892189ae18 to your computer and use it in GitHub Desktop.
gentoo-chromium-ppc64le.md

How to get chromium on gentoo ppc64le

currently works with www-client/chromium-84.0.4147.XX in gentoo repo

  1. Get this script : https://gist.github.com/gyakovlev/d9dee9a554f5f1ff086b15e6f927ebf7

  2. run in, it will download patches to /tmp and will print directory.

  3. Place patches to /etc/portage/patches/www-client/chromium

  4. Tell chromium to use clang
    mkdir -p /etc/portage/env/www-client
    echo 'CHROMIUM_FORCE_CLANG="yes"' > /etc/portage/env/www-client/chromium

  5. add accept-keywords entry for chromium
    it should look like this:
    www-client/chromium **

  6. emerge chromium =)

  7. optional patches
    look at the script source, you can uncomment couple of extra patches not enabled by default.

  8. 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment