-
Notifications
You must be signed in to change notification settings - Fork 2
/
PKGBUILD.patch
39 lines (37 loc) · 2.15 KB
/
PKGBUILD.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
diff --git a/PKGBUILD b/PKGBUILD
index b5ab3ba..e86afba 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -35,7 +35,9 @@ source=(https://commondatastorage.googleapis.com/chromium-browser-official/chrom
REVERT-roll-src-third_party-ffmpeg-m106.patch
disable-GlobalMediaControlsCastStartStop.patch
angle-wayland-include-protocol.patch
- use-oauth2-client-switches-as-default.patch)
+ use-oauth2-client-switches-as-default.patch
+ https://raw.githubusercontent.com/qcasey/chromium-patches/main/patches/custom-startpage.patch
+ https://raw.githubusercontent.com/qcasey/chromium-patches/main/patches/gtk-dark-mode-switch-fix.patch)
sha256sums=('0607518481a8a5b993fb371eec544f7d20e43c2eb706ca7bf40ef584496cb6fe'
'213e50f48b67feb4441078d50b0fd431df34323be15be97c55302d3fdac4483a'
'40ef8af65e78901bb8554eddbbb5ebc55c0b8e7927f6ca51b2a353d1c7c50652'
@@ -44,7 +46,9 @@ sha256sums=('0607518481a8a5b993fb371eec544f7d20e43c2eb706ca7bf40ef584496cb6fe'
'4c12d31d020799d31355faa7d1fe2a5a807f7458e7f0c374adf55edb37032152'
'7f3b1b22d6a271431c1f9fc92b6eb49c6d80b8b3f868bdee07a6a1a16630a302'
'cd0d9d2a1d6a522d47c3c0891dabe4ad72eabbebc0fe5642b9e22efa3d5ee572'
- 'e393174d7695d0bafed69e868c5fbfecf07aa6969f3b64596d0bae8b067e1711')
+ 'e393174d7695d0bafed69e868c5fbfecf07aa6969f3b64596d0bae8b067e1711'
+ 'ce3ca435bd8cde5708595f89ce65f544e312adb5835a4aa3a4ebc8cd7bdf11cc'
+ '07134c33e3947b8ef6f070f732d79e7998db2d3271b5f29bb28ce06748a5ad79')
provides=('chromium')
conflicts=('chromium')
@@ -156,6 +160,12 @@ prepare() {
python "$_utils/domain_substitution.py" apply -r "$_ungoogled_repo/domain_regex.list" \
-f "$_ungoogled_repo/domain_substitution.list" -c domainsubcache.tar.gz ./
+ # Custom startpage with correct tab focus
+ patch -Np1 -i ../custom-startpage.patch
+
+ # Fix GTK Dark Mode theme switching (or brutally brute force it)
+ patch -Np1 -i ../gtk-dark-mode-switch-fix.patch
+
# Link to system tools required by the build
mkdir -p third_party/node/linux/node-linux-x64/bin
ln -s /usr/bin/node third_party/node/linux/node-linux-x64/bin/