Gentoo Archives: gentoo-commits

From: "Jason Donenfeld (zx2c4)" <zx2c4@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in www-client/chromium/files: chromium-widevine.patch
Date: Sun, 08 Feb 2015 16:43:42
Message-Id: 20150208164338.4A66C11553@oystercatcher.gentoo.org
1 zx2c4 15/02/08 16:43:38
2
3 Added: chromium-widevine.patch
4 Log:
5 Support widevine
6
7 (Portage version: 2.2.15/cvs/Linux x86_64, RepoMan options: --force, signed Manifest commit with key A5DE03AE)
8
9 Revision Changes Path
10 1.1 www-client/chromium/files/chromium-widevine.patch
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/chromium/files/chromium-widevine.patch?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/chromium/files/chromium-widevine.patch?rev=1.1&content-type=text/plain
14
15 Index: chromium-widevine.patch
16 ===================================================================
17 --- chromium-39.0.2171.95/third_party/widevine/cdm/widevine_cdm_version.h.orig 2014-12-10 05:36:13.000000000 +0100
18 +++ chromium-39.0.2171.95/third_party/widevine/cdm/widevine_cdm_version.h 2014-12-28 20:47:39.080795240 +0100
19 @@ -14,4 +14,8 @@
20 // - WIDEVINE_CDM_VERSION_STRING (with the version of the CDM that's available
21 // as a string, e.g., "1.0.123.456").
22
23 +#include "third_party/widevine/cdm/widevine_cdm_common.h"
24 +#define WIDEVINE_CDM_AVAILABLE
25 +#define WIDEVINE_CDM_VERSION_STRING "@WIDEVINE_VERSION@"
26 +
27 #endif // WIDEVINE_CDM_VERSION_H_
28 --- chromium-39.0.2171.95/third_party/widevine/cdm/widevine_cdm.gyp.orig 2014-12-10 05:54:35.000000000 +0100
29 +++ chromium-39.0.2171.95/third_party/widevine/cdm/widevine_cdm.gyp 2014-12-28 20:50:48.163269989 +0100
30 @@ -7,7 +7,7 @@
31 'widevine_cdm_version_h_file%': 'widevine_cdm_version.h',
32 'widevine_cdm_binary_files%': [],
33 'conditions': [
34 - [ 'branding == "Chrome"', {
35 + [ 'branding == "Chromium"', {
36 'conditions': [
37 [ 'chromeos == 1', {
38 'widevine_cdm_version_h_file%':
39 @@ -54,7 +54,7 @@
40 'target_name': 'widevinecdmadapter',
41 'type': 'none',
42 'conditions': [
43 - [ 'branding == "Chrome" and enable_pepper_cdms==1', {
44 + [ 'branding == "Chromium" and enable_pepper_cdms==1', {
45 'dependencies': [
46 '<(DEPTH)/ppapi/ppapi.gyp:ppapi_cpp',
47 '<(DEPTH)/media/media_cdm_adapter.gyp:cdmadapter',