Comment 24 for bug 1371274

Revision history for this message
Michel-Ekimia (michel.ekimia) wrote :

Hi Anybody on the Ubuntu team work on this ?

I know this is a silly situation because this should be naturally handled by the chromium team, but it seems like they don't really care about chromium users , only the final result in the chrome build, which I'm not really surprised.

What do you think , shall we maybe do that in Oxide so this might be handled one day on Ubuntu Touch ?

The Patch is really simple, I'm just copying from the great work of hogliux (hogliux) :

1) build with the following gyp flags:
ffmpeg_branding='Chrome', proprietary_codecs=1, enable_pepper_cdms=1, enable_webrtc=1

2) Uncomment the version number and strings in src/third_party/widevine/cdm/widevine_cdm_common.h and change it to which ever binary version you have available.

3) in the same folder modify widevine_cdm.gyp. Change 'branding == "Chrome"' to 'branding == "Chromium" in line 10 and 88 (not sure if this is really necessary)

4) When compiling Chromium it will complain about a missing widevine binaries folder (can't remember where it was meant to be located). Create it and copy the binaries over from chrome. It will also complain about missing widevine_cdm_version.h and/or widevine_cdm_common.h. Just copy widevine_cdm_common.h you edited above to the location expected by the build system.