mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
extra/chromium to 125.0.6422.141-1
This commit is contained in:
parent
6621f21aac
commit
1e0384f6ee
3 changed files with 58 additions and 5 deletions
|
@ -1,6 +1,6 @@
|
|||
pkgbase = chromium
|
||||
pkgdesc = A web browser built for speed, simplicity, and security
|
||||
pkgver = 125.0.6422.112
|
||||
pkgver = 125.0.6422.141
|
||||
pkgrel = 1
|
||||
url = https://www.chromium.org/Home
|
||||
arch = x86_64
|
||||
|
@ -53,17 +53,19 @@ pkgbase = chromium
|
|||
optdepends = org.freedesktop.secrets: password storage backend on GNOME / Xfce
|
||||
optdepends = kwallet: support for storing passwords in KWallet on Plasma
|
||||
options = !lto
|
||||
source = https://commondatastorage.googleapis.com/chromium-browser-official/chromium-125.0.6422.112.tar.xz
|
||||
source = https://commondatastorage.googleapis.com/chromium-browser-official/chromium-125.0.6422.141.tar.xz
|
||||
source = https://github.com/foutrelis/chromium-launcher/archive/v8/chromium-launcher-8.tar.gz
|
||||
source = https://gitlab.com/Matt.Jolly/chromium-patches/-/archive/125/chromium-patches-125.tar.bz2
|
||||
source = fix-a-missing-build-dependency.patch
|
||||
source = allow-ANGLEImplementation-kVulkan.patch
|
||||
source = drop-flag-unsupported-by-clang17.patch
|
||||
source = compiler-rt-adjust-paths.patch
|
||||
source = use-oauth2-client-switches-as-default.patch
|
||||
sha256sums = ba48d13e506ae68bd6d01a808cdc186ee09322daafeb0bddf95dae59b0b4276b
|
||||
sha256sums = 9966b50279d0cfaaf4b58570387f0d526388f8d5f6dd990e3f083a55d8d8e603
|
||||
sha256sums = 213e50f48b67feb4441078d50b0fd431df34323be15be97c55302d3fdac4483a
|
||||
sha256sums = 58c8787bd215c4818893405dbb88c17b08bf13039fb5fbcb9dfe95ac51a86f3e
|
||||
sha256sums = 75e1482d1b27c34ebe9d4bf27104fedcc219cdd95ce71fc41e77a486befd3f93
|
||||
sha256sums = 8f81059d79040ec598b5fb077808ec69d26d6c9cbebf9c4f4ea48b388a2596c5
|
||||
sha256sums = 3bd35dab1ded5d9e1befa10d5c6c4555fe0a76d909fb724ac57d0bf10cb666c1
|
||||
sha256sums = b3de01b7df227478687d7517f61a777450dca765756002c80c4915f271e2d961
|
||||
sha256sums = 69d2f076223cab0cf1094ae58c39b5687a98f69bf4545414a35f6a4d2708ed83
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
highmem=1
|
||||
|
||||
pkgname=chromium
|
||||
pkgver=125.0.6422.112
|
||||
pkgver=125.0.6422.141
|
||||
pkgrel=1
|
||||
_launcher_ver=8
|
||||
_manual_clone=0
|
||||
|
@ -39,16 +39,18 @@ source=(https://commondatastorage.googleapis.com/chromium-browser-official/chrom
|
|||
https://github.com/foutrelis/chromium-launcher/archive/v$_launcher_ver/chromium-launcher-$_launcher_ver.tar.gz
|
||||
https://gitlab.com/Matt.Jolly/chromium-patches/-/archive/${pkgver%%.*}/chromium-patches-${pkgver%%.*}.tar.bz2
|
||||
fix-a-missing-build-dependency.patch
|
||||
allow-ANGLEImplementation-kVulkan.patch
|
||||
drop-flag-unsupported-by-clang17.patch
|
||||
compiler-rt-adjust-paths.patch
|
||||
use-oauth2-client-switches-as-default.patch
|
||||
0001-widevine-support-for-arm.patch
|
||||
0002-Run-blink-bindings-generation-single-threaded.patch
|
||||
0003-Fix-eu-strip-build-for-newer-GCC.patch)
|
||||
sha256sums=('ba48d13e506ae68bd6d01a808cdc186ee09322daafeb0bddf95dae59b0b4276b'
|
||||
sha256sums=('9966b50279d0cfaaf4b58570387f0d526388f8d5f6dd990e3f083a55d8d8e603'
|
||||
'213e50f48b67feb4441078d50b0fd431df34323be15be97c55302d3fdac4483a'
|
||||
'58c8787bd215c4818893405dbb88c17b08bf13039fb5fbcb9dfe95ac51a86f3e'
|
||||
'75e1482d1b27c34ebe9d4bf27104fedcc219cdd95ce71fc41e77a486befd3f93'
|
||||
'8f81059d79040ec598b5fb077808ec69d26d6c9cbebf9c4f4ea48b388a2596c5'
|
||||
'3bd35dab1ded5d9e1befa10d5c6c4555fe0a76d909fb724ac57d0bf10cb666c1'
|
||||
'b3de01b7df227478687d7517f61a777450dca765756002c80c4915f271e2d961'
|
||||
'69d2f076223cab0cf1094ae58c39b5687a98f69bf4545414a35f6a4d2708ed83'
|
||||
|
@ -141,6 +143,7 @@ prepare() {
|
|||
|
||||
# Upstream fixes
|
||||
patch -Np1 -i ../fix-a-missing-build-dependency.patch
|
||||
patch -Np1 -i ../allow-ANGLEImplementation-kVulkan.patch
|
||||
|
||||
# Drop compiler flag that needs newer clang
|
||||
patch -Np1 -i ../drop-flag-unsupported-by-clang17.patch
|
||||
|
|
48
extra/chromium/allow-ANGLEImplementation-kVulkan.patch
Normal file
48
extra/chromium/allow-ANGLEImplementation-kVulkan.patch
Normal file
|
@ -0,0 +1,48 @@
|
|||
From 9ca21ac45af570ce11a1b0b96fdb163985b59178 Mon Sep 17 00:00:00 2001
|
||||
From: Ho Cheung <hocheung@chromium.org>
|
||||
Date: Wed, 29 May 2024 00:10:25 +0000
|
||||
Subject: [PATCH] [ozone+wayland] Allow ANGLEImplementation::kVulkan when ozone
|
||||
platform is Wayland
|
||||
|
||||
When passing `gl=egl-angle,angle=vulkan` flags on
|
||||
a device with an AMD graphics card and using
|
||||
`ozone wayland`, since
|
||||
`gl::ANGLEImplementation::kVulkan` is not in
|
||||
`WaylandSurfaceFactory::GetAllowedGLImplementations`,
|
||||
As a result, it cannot be initialized normally.
|
||||
|
||||
This CL adds `gl::ANGLEImplementation::kVulkan` to
|
||||
`WaylandSurfaceFactory::GetAllowedGLImplementations`
|
||||
to ensure that it can be initialized normally.
|
||||
|
||||
In addition, the changes made in this CL have been
|
||||
verified by many developers or users in the Linux
|
||||
community, and should not break other things
|
||||
without passing specific flags.
|
||||
|
||||
Get VAAPI acceleration working on amdgpus,such as
|
||||
Radeon 780M.
|
||||
|
||||
Bug: 334275637,40722838,41392107
|
||||
Change-Id: Id1c9720159ee6149b620e12e5dc7b9df89d38409
|
||||
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5568860
|
||||
Commit-Queue: Ho Cheung <hocheung@chromium.org>
|
||||
Reviewed-by: Kramer Ge <fangzhoug@chromium.org>
|
||||
Reviewed-by: Nick Yamane <nickdiego@igalia.com>
|
||||
Cr-Commit-Position: refs/heads/main@{#1307136}
|
||||
---
|
||||
ui/ozone/platform/wayland/gpu/wayland_surface_factory.cc | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/ui/ozone/platform/wayland/gpu/wayland_surface_factory.cc b/ui/ozone/platform/wayland/gpu/wayland_surface_factory.cc
|
||||
index b6e99324c02b..7602a6b8e693 100644
|
||||
--- a/ui/ozone/platform/wayland/gpu/wayland_surface_factory.cc
|
||||
+++ b/ui/ozone/platform/wayland/gpu/wayland_surface_factory.cc
|
||||
@@ -214,6 +214,7 @@ WaylandSurfaceFactory::GetAllowedGLImplementations() {
|
||||
impls.emplace_back(gl::ANGLEImplementation::kOpenGL);
|
||||
impls.emplace_back(gl::ANGLEImplementation::kOpenGLES);
|
||||
impls.emplace_back(gl::ANGLEImplementation::kSwiftShader);
|
||||
+ impls.emplace_back(gl::ANGLEImplementation::kVulkan);
|
||||
impls.emplace_back(gl::kGLImplementationEGLGLES2);
|
||||
}
|
||||
return impls;
|
Loading…
Reference in a new issue