Instead of hardcoding --ppapi-flash-version, it should be determined from pepper flash's manifest.json, which contains a field "version". One way to do this would be to set the version as follows: --ppapi-flash-version=$(grep '"version":' /usr/lib64/chromium-browser/PepperFlash/manifest.json| grep -Po '(?<=version": ")(?:\d|\.)*') Of course, you (c|sh)ould rewrite this to work without the pcre USE flag on grep (use sed?), and probably substitute the chromium installation path suitably. This is just what I do on my system. Reproducible: Always
Obviously I am too stupid to type, should be www-client/chromium.
Err... have a look at src_install in the chrome-binary-plugins ebuild. There's no reason to recompute that every time we start chromium.