diff options
author | Maxim Baz | 2018-12-06 21:19:01 +0100 |
---|---|---|
committer | Maxim Baz | 2018-12-06 21:19:01 +0100 |
commit | 6b3d74eda3344227bed4bd2f1f766a5b8a0228dc (patch) | |
tree | fbfeb10ef8fb9675eb6fb807ad19b4e0a28770b5 | |
parent | 4e9c5c851ed4d08ee03b3daad90d5f367239b679 (diff) | |
download | aur-6b3d74eda3344227bed4bd2f1f766a5b8a0228dc.tar.gz |
71.0.3578.80
-rw-r--r-- | .SRCINFO | 12 | ||||
-rw-r--r-- | PKGBUILD | 24 | ||||
-rw-r--r-- | chromium-widevine-r2.patch | 39 | ||||
-rw-r--r-- | chromium-widevine.patch | 22 | ||||
-rw-r--r-- | include-stdint.h-in-pdfium_mem_buffer_file_write.h.patch | 30 |
5 files changed, 40 insertions, 87 deletions
@@ -1,6 +1,6 @@ pkgbase = chromium-vaapi pkgdesc = Chromium with VA-API support to enable hardware acceleration - pkgver = 70.0.3538.110 + pkgver = 71.0.3578.80 pkgrel = 1 url = https://www.chromium.org/Home install = chromium.install @@ -56,21 +56,19 @@ pkgbase = chromium-vaapi optdepends = libva-vdpau-driver-chromium: support HW acceleration on Nvidia graphics cards provides = chromium conflicts = chromium - source = https://commondatastorage.googleapis.com/chromium-browser-official/chromium-70.0.3538.110.tar.xz + source = https://commondatastorage.googleapis.com/chromium-browser-official/chromium-71.0.3578.80.tar.xz source = chromium-launcher-6.tar.gz::https://github.com/foutrelis/chromium-launcher/archive/v6.tar.gz - source = include-stdint.h-in-pdfium_mem_buffer_file_write.h.patch source = chromium-harfbuzz-r0.patch - source = chromium-widevine-r2.patch source = chromium-system-icu.patch + source = chromium-widevine.patch source = chromium-skia-harmony.patch source = cfi-vaapi-fix.patch source = chromium-vaapi-r21.patch - sha256sums = 445ef88fcf283206c1eba4faeb1c186c805e053d8b4ffeac1fcb88187bc1942f + sha256sums = 025b3520750d11f260acc4cbff5759137444ffb4c82361138dfd22f87b77ad0d sha256sums = 04917e3cd4307d8e31bfb0027a5dce6d086edb10ff8a716024fbb8bb0c7dccf1 - sha256sums = cd1e87bf3618b7897c5caf7b0f4213cfa5ce917acb0613ecd2ab3f830f0cbfbb sha256sums = 1b370d49c43e88acfe7c0b1f9517047e927f3407bd80b4a48bba32c001f80136 - sha256sums = 02c69bb3954087db599def7f5b6d65cf8f7cf2ed81dfbdaa4bb7b51863b4df15 sha256sums = c4f2d1bed9034c02b8806f00c2e8165df24de467803855904bff709ceaf11af5 + sha256sums = d081f2ef8793544685aad35dea75a7e6264a2cb987ff3541e6377f4a3650a28b sha256sums = feca54ab09ac0fc9d0626770a6b899a6ac5a12173c7d0c1005bc3964ec83e7b3 sha256sums = adf301b50b5a03c98b7602c17e1f34e37260c07c88bcb7e1661122af61f50e23 sha256sums = 7985b5b6820300beeb119b601bb9fe3d2a662daf5dc90619a0f125ea84907ce5 @@ -10,7 +10,7 @@ # Contributor: Daniel J Griffiths <ghost1227@archlinux.us> pkgname=chromium-vaapi -pkgver=70.0.3538.110 +pkgver=71.0.3578.80 pkgrel=1 _launcher_ver=6 pkgdesc="Chromium with VA-API support to enable hardware acceleration" @@ -34,19 +34,17 @@ optdepends=('pepper-flash: support for Flash content' install=chromium.install source=(https://commondatastorage.googleapis.com/chromium-browser-official/chromium-$pkgver.tar.xz chromium-launcher-$_launcher_ver.tar.gz::https://github.com/foutrelis/chromium-launcher/archive/v$_launcher_ver.tar.gz - include-stdint.h-in-pdfium_mem_buffer_file_write.h.patch chromium-harfbuzz-r0.patch - chromium-widevine-r2.patch chromium-system-icu.patch + chromium-widevine.patch chromium-skia-harmony.patch cfi-vaapi-fix.patch chromium-vaapi-r21.patch) -sha256sums=('445ef88fcf283206c1eba4faeb1c186c805e053d8b4ffeac1fcb88187bc1942f' +sha256sums=('025b3520750d11f260acc4cbff5759137444ffb4c82361138dfd22f87b77ad0d' '04917e3cd4307d8e31bfb0027a5dce6d086edb10ff8a716024fbb8bb0c7dccf1' - 'cd1e87bf3618b7897c5caf7b0f4213cfa5ce917acb0613ecd2ab3f830f0cbfbb' '1b370d49c43e88acfe7c0b1f9517047e927f3407bd80b4a48bba32c001f80136' - '02c69bb3954087db599def7f5b6d65cf8f7cf2ed81dfbdaa4bb7b51863b4df15' 'c4f2d1bed9034c02b8806f00c2e8165df24de467803855904bff709ceaf11af5' + 'd081f2ef8793544685aad35dea75a7e6264a2cb987ff3541e6377f4a3650a28b' 'feca54ab09ac0fc9d0626770a6b899a6ac5a12173c7d0c1005bc3964ec83e7b3' 'adf301b50b5a03c98b7602c17e1f34e37260c07c88bcb7e1661122af61f50e23' '7985b5b6820300beeb119b601bb9fe3d2a662daf5dc90619a0f125ea84907ce5') @@ -99,28 +97,32 @@ prepare() { third_party/blink/renderer/core/xml/parser/xml_document_parser.cc \ third_party/libxml/chromium/libxml_utils.cc - # https://crbug.com/879900 - patch -Np1 -i ../include-stdint.h-in-pdfium_mem_buffer_file_write.h.patch + # Load Widevine CDM if available + patch -Np1 -i ../chromium-widevine.patch # https://crbug.com/skia/6663#c10 patch -Np4 -i ../chromium-skia-harmony.patch # Fixes from Gentoo patch -Np1 -i ../chromium-harfbuzz-r0.patch - patch -Np1 -i ../chromium-widevine-r2.patch # https://bugs.gentoo.org/661880#c21 patch -Np1 -i ../chromium-system-icu.patch + + # Remove compiler flags not supported by our system clang + sed -i \ + -e '/"-Wno-defaulted-function-deleted"/d' \ + build/config/compiler/BUILD.gn + # Force script incompatible with Python 3 to use /usr/bin/python2 sed -i '1s|python$|&2|' third_party/dom_distiller_js/protoc_plugins/*.py mkdir -p third_party/node/linux/node-linux-x64/bin ln -s /usr/bin/node third_party/node/linux/node-linux-x64/bin/ - # VA-API patch msg2 'Applying VA-API patches' - patch -Np1 -i ../cfi-vaapi-fix.patch + # patch -Np1 -i ../cfi-vaapi-fix.patch patch -Np1 -i ../chromium-vaapi-r21.patch # Remove bundled libraries for which we will use the system copies; this diff --git a/chromium-widevine-r2.patch b/chromium-widevine-r2.patch deleted file mode 100644 index 5527f7f293c6..000000000000 --- a/chromium-widevine-r2.patch +++ /dev/null @@ -1,39 +0,0 @@ -Minimal patch to get chromium to compile with widevine support. - -Exactly the same as -r1, but we now need to patch -ninja to pretty please not terminate our build. - -caveat emptor: it's in no way clear that building chromium this -way is safer, from a security perspective, than whatever Google -Chrome does. - -Upstream appears to be cooking up a code-signing trust-chain -which may protect users against malicious cdm blobs; I doubt -we benefit from these using this kludge. Ideally, someone -would look into this more carefully than I have ... tbh as -soon as I got my "stories" back, I pretty much lost interest :) - --gmt - --- ---- a/third_party/widevine/cdm/stub/widevine_cdm_version.h -+++ b/third_party/widevine/cdm/stub/widevine_cdm_version.h -@@ -10,6 +10,7 @@ - - #include "third_party/widevine/cdm/widevine_cdm_common.h" - -+#define WIDEVINE_CDM_VERSION_STRING "unknown" - #define WIDEVINE_CDM_AVAILABLE - - #endif // WIDEVINE_CDM_VERSION_H_ ---- a/third_party/widevine/cdm/BUILD.gn -+++ b/third_party/widevine/cdm/BUILD.gn -@@ -11,7 +11,7 @@ import("//third_party/widevine/cdm/widev - # Internal Cast builds set enable_widevine=true to bring in Widevine support. - # TODO(xhwang): Support component updated CDM on other platforms and remove this - # assert. --assert(!enable_widevine || is_win || is_mac || is_chromecast, -+assert(!enable_widevine || is_win || is_mac || is_chromecast || is_linux, - "Component updated CDM only supported on Windows and Mac for now.") - - widevine_arch = current_cpu diff --git a/chromium-widevine.patch b/chromium-widevine.patch new file mode 100644 index 000000000000..1a1a3f228bf5 --- /dev/null +++ b/chromium-widevine.patch @@ -0,0 +1,22 @@ +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-03 20:16:43.000000000 +0000 ++++ chromium-71.0.3578.80/chrome/common/chrome_content_client.cc 2018-12-04 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" ++ + #endif // WIDEVINE_CDM_VERSION_H_ diff --git a/include-stdint.h-in-pdfium_mem_buffer_file_write.h.patch b/include-stdint.h-in-pdfium_mem_buffer_file_write.h.patch deleted file mode 100644 index 1cfa4c55c29e..000000000000 --- a/include-stdint.h-in-pdfium_mem_buffer_file_write.h.patch +++ /dev/null @@ -1,30 +0,0 @@ -From e3ad3deb6a6e79284f3748fa7410311d87df91c5 Mon Sep 17 00:00:00 2001 -From: Henrique Nakashima <hnakashima@chromium.org> -Date: Tue, 4 Sep 2018 16:49:51 +0000 -Subject: [PATCH] IWYU: stdint.h in pdfium_mem_buffer_file_write.h for uint8_t - -Bug: 879900 -Change-Id: I9c15d1c280a23c53d31f2d72c9d0d1db79eab886 -Reviewed-on: https://chromium-review.googlesource.com/1204410 -Reviewed-by: Lei Zhang <thestig@chromium.org> -Commit-Queue: Henrique Nakashima <hnakashima@chromium.org> -Cr-Commit-Position: refs/heads/master@{#588547} ---- - pdf/pdfium/pdfium_mem_buffer_file_write.h | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/pdf/pdfium/pdfium_mem_buffer_file_write.h b/pdf/pdfium/pdfium_mem_buffer_file_write.h -index 03c54bb63800..82e82d23684d 100644 ---- a/pdf/pdfium/pdfium_mem_buffer_file_write.h -+++ b/pdf/pdfium/pdfium_mem_buffer_file_write.h -@@ -6,6 +6,7 @@ - #define PDF_PDFIUM_PDFIUM_MEM_BUFFER_FILE_WRITE_H_ - - #include <stddef.h> -+#include <stdint.h> - - #include <vector> - --- -2.19.0 - |