summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorsL1pKn072019-05-19 16:09:58 +0200
committersL1pKn072019-05-19 16:09:58 +0200
commitda2751bd881428c8bd164dfc8830c2ed78cc091d (patch)
tree724796eb376cd00860faa3c30ab1e89705e03e8b
parent95c364aa2a9be4d7bb02ef8a79ff59c498a65fd7 (diff)
downloadaur-da2751bd881428c8bd164dfc8830c2ed78cc091d.tar.gz
Update to 76.0.3795.3
-rw-r--r--.SRCINFO14
-rw-r--r--.gitignore2
-rw-r--r--PKGBUILD24
-rw-r--r--chromium-skia-harmony-r1.patch (renamed from chromium-skia-harmony_r1.patch)0
-rw-r--r--enable-vaapi.patch8
5 files changed, 30 insertions, 18 deletions
diff --git a/.SRCINFO b/.SRCINFO
index dccc6dafb50..84002141486 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = chromium-dev
pkgdesc = The open-source project behind Google Chrome (Dev Channel)
- pkgver = 76.0.3788.1
+ pkgver = 76.0.3795.3
pkgrel = 1
url = http://www.chromium.org
install = chromium-dev.install
@@ -42,22 +42,26 @@ pkgbase = chromium-dev
optdepends = libva-vdpau-driver-chromium: HW video acceleration for NVIDIA users
optdepends = libva-mesa-driver: HW video acceleration for Nouveau, R600 and RadeonSI users
optdepends = libva-intel-driver: HW video acceleration for Intel G45 and HD users
- source = https://commondatastorage.googleapis.com/chromium-browser-official/chromium-76.0.3788.1.tar.xz
+ source = https://commondatastorage.googleapis.com/chromium-browser-official/chromium-76.0.3795.3.tar.xz
source = git+https://github.com/foutrelis/chromium-launcher.git
source = chromium-dev.svg
source = enable-vaapi.patch
source = https://raw.githubusercontent.com/chromium/crashpad/master/third_party/lss/BUILD.gn
source = https://raw.githubusercontent.com/chromium/crashpad/master/third_party/lss/lss.h
source = chromium-widevine-r4.patch::https://git.archlinux.org/svntogit/packages.git/plain/trunk/chromium-widevine.patch?h=packages/chromium
- source = chromium-skia-harmony_r1.patch
- sha256sums = 8e7c1522f4042ef3f9eb27062619d592ac35f2b5c45a4e1444297da6bdd4083b
+ source = chromium-skia-harmony-r1.patch
+ source = std_pair.patch.base64::https://chromium-review.googlesource.com/changes/chromium%2Fsrc~1611690/revisions/2/patch?download
+ source = MakeCheckOpValueString.patch.base64::https://chromium-review.googlesource.com/changes/chromium%2Fsrc~1611608/revisions/2/patch?download
+ sha256sums = 8a2bba60809cd38af03cf4befd3b55440b6bc38f89c4612ecd0a380a6a743b3c
sha256sums = SKIP
sha256sums = dd2b5c4191e468972b5ea8ddb4fa2e2fa3c2c94c79fc06645d0efc0e63ce7ee1
- sha256sums = 4b785aeee1cab89bf410de063b7769ef4eb99130888ece60a38a584019747b9f
+ sha256sums = 36e78ad3e6fdd4b8c402d3dd5e38413fd1f33fb992c6522af29a02b0f617ee22
sha256sums = 56e516480b2f0ff6806068df2a77ebb2cabe211c7d3e7d390396e66df3d40a09
sha256sums = 986e5bd28abcc5f7d0c0587bb850f3b4edb8a91eeebf82b3c329752455fa1606
sha256sums = d081f2ef8793544685aad35dea75a7e6264a2cb987ff3541e6377f4a3650a28b
sha256sums = 0dd2fea50a93b26debce63c762c0291737b61816ba5b127ef923999494142b78
+ sha256sums = f71611e94fcff8412513525b78191fa8459138d4bd9a642184865d5f09da66d5
+ sha256sums = a86050ee902a8b7f8bbe4d8f297e49a7d72a32906c13d90e22effab3effa9978
pkgname = chromium-dev
options = !strip
diff --git a/.gitignore b/.gitignore
index 35b0992885c..e5580160e13 100644
--- a/.gitignore
+++ b/.gitignore
@@ -5,4 +5,4 @@
!chromium-dev.install
!chromium-dev.svg
!enable-vaapi.patch
-!chromium-skia-harmony_r1.patch
+!chromium-skia-harmony-r1.patch
diff --git a/PKGBUILD b/PKGBUILD
index bff2f8a7bd6..fcb14ddaaab 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -15,7 +15,7 @@ _use_wayland=0 # Build Wayland NOTE: extremely experimental and don't
## -- Package and components information -- ##
##############################################
pkgname=chromium-dev
-pkgver=76.0.3788.1
+pkgver=76.0.3795.3
pkgrel=1
pkgdesc="The open-source project behind Google Chrome (Dev Channel)"
arch=('x86_64')
@@ -84,9 +84,11 @@ source=(
'enable-vaapi.patch' # Use Saikrishna Arcot patch again :https://raw.githubusercontent.com/saiarcot895/chromium-ubuntu-build/4d40b58013b518373b2544d486d3de40796edd36/debian/patches/enable_vaapi_on_linux_2.diff'
'https://raw.githubusercontent.com/chromium/crashpad/master/third_party/lss/BUILD.gn'
'https://raw.githubusercontent.com/chromium/crashpad/master/third_party/lss/lss.h'
- # Patch from crbug.com (chromium bugtracker), chromium-review.googlesource.com or Arch chromium package.
+ # Patch from crbug.com (chromium bugtracker), chromium-review.googlesource.com / Gerrit or Arch chromium package.
'chromium-widevine-r4.patch::https://git.archlinux.org/svntogit/packages.git/plain/trunk/chromium-widevine.patch?h=packages/chromium'
- 'chromium-skia-harmony_r1.patch'
+ 'chromium-skia-harmony-r1.patch'
+ 'std_pair.patch.base64::https://chromium-review.googlesource.com/changes/chromium%2Fsrc~1611690/revisions/2/patch?download'
+ 'MakeCheckOpValueString.patch.base64::https://chromium-review.googlesource.com/changes/chromium%2Fsrc~1611608/revisions/2/patch?download'
)
sha256sums=(
#"$(curl -sL https://gsdview.appspot.com/chromium-browser-official/chromium-${pkgver}.tar.xz.hashes | grep sha256 | cut -d ' ' -f3)"
@@ -96,12 +98,14 @@ sha256sums=(
# Patch form Gentoo
# Misc Patches
- '4b785aeee1cab89bf410de063b7769ef4eb99130888ece60a38a584019747b9f'
+ '36e78ad3e6fdd4b8c402d3dd5e38413fd1f33fb992c6522af29a02b0f617ee22'
'56e516480b2f0ff6806068df2a77ebb2cabe211c7d3e7d390396e66df3d40a09'
'986e5bd28abcc5f7d0c0587bb850f3b4edb8a91eeebf82b3c329752455fa1606'
# Patch from crbug (chromium bugtracker) or Arch chromium package
'd081f2ef8793544685aad35dea75a7e6264a2cb987ff3541e6377f4a3650a28b'
'0dd2fea50a93b26debce63c762c0291737b61816ba5b127ef923999494142b78'
+ 'f71611e94fcff8412513525b78191fa8459138d4bd9a642184865d5f09da66d5'
+ 'a86050ee902a8b7f8bbe4d8f297e49a7d72a32906c13d90e22effab3effa9978'
)
install=chromium-dev.install
@@ -227,7 +231,6 @@ _keeplibs=(
'third_party/nasm'
'third_party/node'
'third_party/node/node_modules/polymer-bundler/lib/third_party/UglifyJS2'
- 'third_party/openmax_dl'
'third_party/ots'
'third_party/pdfium'
'third_party/pdfium/third_party/agg23'
@@ -491,14 +494,20 @@ prepare() {
patch -p1 -i "${srcdir}/enable-vaapi.patch"
sed 's|/dri/|/|g' -i media/gpu/vaapi/vaapi_wrapper.cc
- # Patch from crbug (chromium bugtracker) or Arch chromium package.
+ # # Patch from crbug.com (chromium bugtracker), chromium-review.googlesource.com / Gerrit or Arch chromium package.
# https://crbug.com/skia/6663#c10.
- patch -p0 -i "${srcdir}/chromium-skia-harmony.patch"
+ patch -p0 -i "${srcdir}/chromium-skia-harmony-r1.patch"
# https://crbug.com/473866.
patch -p1 -i "${srcdir}/chromium-widevine-r4.patch"
+ # https://chromium-review.googlesource.com/c/chromium/src/+/1611690
+ base64 -d ${srcdir}/std_pair.patch.base64 | patch -p1 -i -
+
+ # https://chromium-review.googlesource.com/c/chromium/src/+/1611608
+ base64 -d ${srcdir}/MakeCheckOpValueString.patch.base64 | patch -p1 -i -
+
# Setup nodejs dependency.
mkdir -p third_party/node/linux/node-linux-x64/bin/
ln -sf /usr/bin/node third_party/node/linux/node-linux-x64/bin/node
@@ -643,7 +652,6 @@ package() {
'chrome_200_percent.pak'
'headless_lib.pak'
'resources.pak'
- 'views_mus_resources.pak'
)
for i in "${_resources[@]}"; do
install -Dm644 "${i}" "${pkgdir}/usr/lib/chromium-dev/${i}"
diff --git a/chromium-skia-harmony_r1.patch b/chromium-skia-harmony-r1.patch
index 4a3eb356f88..4a3eb356f88 100644
--- a/chromium-skia-harmony_r1.patch
+++ b/chromium-skia-harmony-r1.patch
diff --git a/enable-vaapi.patch b/enable-vaapi.patch
index d73bbb4fd77..45dd1563afe 100644
--- a/enable-vaapi.patch
+++ b/enable-vaapi.patch
@@ -254,9 +254,9 @@ Index: dev/media/gpu/vaapi/vaapi_video_decode_accelerator.cc
#endif
+#if defined(OS_ANDROID) || defined(OS_CHROMEOS)
- // Returns true if the CPU is an Intel Kaby/Gemini/Sky Lake or later.
- // Cpu platform id's are referenced from the following file in kernel source
- // arch/x86/include/asm/intel-family.h
+ // Returns true if the CPU is an Intel Gemini Lake or later (including Kaby
+ // Lake) Cpu platform id's are referenced from the following file in kernel
+ // source arch/x86/include/asm/intel-family.h
@@ -103,6 +104,7 @@ bool IsSkyLakeOrLater() {
cpuid.model() >= kFirstSkyLakeModelId;
return is_sky_lake_or_later;
@@ -301,7 +301,7 @@ Index: dev/media/gpu/vaapi/vaapi_video_decode_accelerator.cc
@@ -1091,6 +1102,9 @@ VaapiVideoDecodeAccelerator::GetSupporte
VaapiVideoDecodeAccelerator::BufferAllocationMode
- VaapiVideoDecodeAccelerator::DecideBufferAllocationMode() const {
+ VaapiVideoDecodeAccelerator::DecideBufferAllocationMode() {
+#if defined(OS_LINUX) && !defined(OS_ANDROID) && !defined(OS_CHROMEOS)
+ return BufferAllocationMode::kNormal;
+#else