Add in support for the widevine DRM so Netflix will work Reproducible: Always
Created attachment 385306 [details] chrome-binary-plugins-39.0.2159.4_alpha1.ebuild
I can get http://downloads.webmproject.org/demos/adaptive-eme/index.html working but Netflix complains about the component not being listed in chrome://components it is however listed in chrome://plugins/
Comment on attachment 385306 [details] chrome-binary-plugins-39.0.2159.4_alpha1.ebuild --- chrome-binary-plugins-39.0.2159.4_alpha1.ebuild 2014-09-17 02:32:17.000000000 +0200 +++ - 2014-09-22 23:01:19.970828957 +0200 @@ -46,7 +46,7 @@ fi LICENSE="google-chrome" -IUSE="+flash" +IUSE="+drm +flash" RESTRICT="bindist mirror strip" for x in 0 beta stable unstable; do @@ -74,9 +74,23 @@ src_install() { local version flapper - insinto /usr/$(get_libdir)/chromium-browser/ + if use drm; then + insinto /usr/$(get_libdir)/chromium-browser/pepper/ + doins libwidevinecdmadapter.so + doins libwidevinecdm.so + + version="1.4.6.667" + flapper="${ROOT}usr/$(get_libdir)/chromium-browser/pepper/libwidevinecdmadapter.so" + echo -n "CHROMIUM_FLAGS=\"\${CHROMIUM_FLAGS} " > widevine + echo -n "--register-pepper-plugins=$flapper" >> widevine + echo "#WidevineContentDecryptionModule#Enables_Widevine_licenses_for_playback_of_HTML_audio/video_content#$version;application/x-ppapi-widevine-cdm\"" >> widevine + insinto /etc/chromium/ + doins widevine + fi + if use flash; then + insinto /usr/$(get_libdir)/chromium-browser/ doins -r PepperFlash # Since this is a live ebuild, we're forced to, unfortuantely, Also, "unfortuantely".
*** This bug has been marked as a duplicate of bug 522614 ***