diff -urpN chromium-44.0.2403.61.orig/third_party/widevine/cdm/widevine_cdm.gyp chromium-44.0.2403.61/third_party/widevine/cdm/widevine_cdm.gyp --- chromium-44.0.2403.61.orig/third_party/widevine/cdm/widevine_cdm.gyp 2015-06-23 12:01:06.000000000 -0700 +++ chromium-44.0.2403.61/third_party/widevine/cdm/widevine_cdm.gyp 2015-06-25 12:20:05.852194351 -0700 @@ -49,13 +49,34 @@ 'widevine_cdm_version_h_file%': 'android/widevine_cdm_version.h', }], - [ 'branding != "Chrome" and OS != "android" and enable_widevine == 1', { + [ 'branding != "Chrome" and OS != "android" and OS != "linux" and enable_widevine == 1', { # If enable_widevine==1 then create a dummy widevinecdm. On Win/Mac # the component updater will get the latest version and use it. # Other systems are not currently supported. 'widevine_cdm_version_h_file%': 'stub/widevine_cdm_version.h', }], + [ 'branding != "Chrome" and OS == "linux" and enable_widevine == 1', { + # + # (__) + # / .\/. ______ + # | /\_| | \ + # | |___ | | + # | ---@ |_______| + # * | | ---- | | + # \ | |_____ + # \|________| + # + # Larry the Cow, discovering that upstream disabled building libwidevinecdm + # on his Gentoo HTPC, ostensibly in a deliberate effort to degrade the linux + # user-experience for those who dare to compile their own browsers. + # + 'widevine_cdm_version_h_file%': + 'linux/<(target_arch)/widevine_cdm_version.h', + 'widevine_cdm_binary_files%': [ + 'linux/<(target_arch)/libwidevinecdm.so', + ], + }], ], }, 'includes': [