commit 44e517bb2ec6466234ae979142c59637e68e6be1
Author: Akarshan Biswas <akarshan.biswas(a)gmail.com>
Date: Fri Dec 21 21:39:28 2018 +0530
Re enable the non effective enable_widevine flag
chromium-vaapi.spec | 5 ++++-
widevine.patch | 25 ++++++++++++++++++-------
2 files changed, 22 insertions(+), 8 deletions(-)
---
diff --git a/chromium-vaapi.spec b/chromium-vaapi.spec
index da9093c..d2a0769 100644
--- a/chromium-vaapi.spec
+++ b/chromium-vaapi.spec
@@ -76,7 +76,7 @@
##############################Package Definitions######################################
Name: chromium-vaapi
Version: 71.0.3578.98
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: A Chromium web browser with video decoding acceleration
License: BSD and LGPLv2+ and ASL 2.0 and IJG and MIT and GPLv2+ and ISC and OpenSSL
and (MPLv1.1 or GPLv2 or LGPLv2)
URL:
https://www.chromium.org/Home
@@ -692,6 +692,9 @@ appstream-util validate-relax --nonet
"%{buildroot}%{_metainfodir}/%{name}.appda
%{chromiumdir}/locales/*.pak
#########################################changelogs#################################################
%changelog
+* Fri Dec 21 2018 Akarshan Biswas <akarshan.biswas(a)hotmail.com> 71.0.3578.98-2
+- Re enable the non effective enable_widevine flag
+
* Sat Dec 15 2018 Akarshan Biswas <akarshan.biswas(a)hotmail.com> 71.0.3578.98-1
- Update to 71.0.3578.98
diff --git a/widevine.patch b/widevine.patch
index 4a9f78f..3ecf0e7 100644
--- a/widevine.patch
+++ b/widevine.patch
@@ -1,11 +1,22 @@
-Index: chromium-71.0.3573.0/third_party/widevine/cdm/widevine_cdm_version.h
-===================================================================
---- chromium-71.0.3573.0.orig/third_party/widevine/cdm/widevine_cdm_version.h
-+++ chromium-71.0.3573.0/third_party/widevine/cdm/widevine_cdm_version.h
-@@ -11,5 +11,6 @@
- // If the Widevine CDM is available define the following:
+diff -upr chromium-71.0.3578.80.orig/chrome/common/chrome_content_client.cc
chromium-71.0.3578.80/chrome/common/chrome_content_client.cc
+--- chromium-71.0.3578.80.orig/chrome/common/chrome_content_client.cc 2018-12-21
20:16:43.000000000 +0000
++++ chromium-71.0.3578.80/chrome/common/chrome_content_client.cc 2018-12-21
21:34:28.658206942 +0000
+@@ -99,7 +99,7 @@
+ // Registers Widevine CDM if Widevine is enabled, the Widevine CDM is
+ // bundled and not a component. When the Widevine CDM is a component, it is
+ // registered in widevine_cdm_component_installer.cc.
+-#if BUILDFLAG(BUNDLE_WIDEVINE_CDM) && !BUILDFLAG(ENABLE_WIDEVINE_CDM_COMPONENT)
++#if BUILDFLAG(ENABLE_WIDEVINE) && !BUILDFLAG(ENABLE_WIDEVINE_CDM_COMPONENT)
+ #define REGISTER_BUNDLED_WIDEVINE_CDM
+ #include "third_party/widevine/cdm/widevine_cdm_common.h" // nogncheck
+ //
TODO(crbug.com/663554): Needed for WIDEVINE_CDM_VERSION_STRING. Support
+diff -upr chromium-71.0.3578.80.orig/third_party/widevine/cdm/widevine_cdm_version.h
chromium-71.0.3578.80/third_party/widevine/cdm/widevine_cdm_version.h
+--- chromium-71.0.3578.80.orig/third_party/widevine/cdm/widevine_cdm_version.h 2018-12-03
20:18:01.000000000 +0000
++++ chromium-71.0.3578.80/third_party/widevine/cdm/widevine_cdm_version.h 2018-12-04
21:37:45.635374949 +0000
+@@ -12,4 +12,6 @@
// - WIDEVINE_CDM_VERSION_STRING (with the version of the CDM that's available
// as a string, e.g., "1.0.123.456").
-+#define WIDEVINE_CDM_VERSION_STRING "unknown"
++#define WIDEVINE_CDM_VERSION_STRING "unknown"
++
#endif // WIDEVINE_CDM_VERSION_H_