summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJustKidding <jk@vin.ovh>2023-01-14 10:46:19 -0500
committerJustKidding <jk@vin.ovh>2023-01-14 10:46:19 -0500
commitaea04fcdfeabb388368a4de83ae87b6287ae6eaa (patch)
tree65751e505394ce9fd7fd52204fc7c7ad9dee0d06
parent749f82a0ae3a045d8272ef0013c5014f48331804 (diff)
downloadungoogled-chromium-aea04fcdfeabb388368a4de83ae87b6287ae6eaa.tar.gz
ungoogled-chromium-aea04fcdfeabb388368a4de83ae87b6287ae6eaa.tar.bz2
ungoogled-chromium-aea04fcdfeabb388368a4de83ae87b6287ae6eaa.zip
upgpkg: ungoogled-chromium 109.0.5414.74-2
add gamma patch
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD7
-rw-r--r--skia-gamma.patch13
3 files changed, 22 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 1cdcb16..4ff7d27 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = ungoogled-chromium
pkgdesc = A lightweight approach to removing Google web service dependency
pkgver = 109.0.5414.74
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/ungoogled-software/ungoogled-chromium
arch = x86_64
license = BSD
@@ -74,6 +74,7 @@ pkgbase = ungoogled-chromium
source = use-oauth2-client-switches-as-default.patch
source = ungoogled-chromium-109.0.5414.74-1.tar.gz::https://github.com/ungoogled-software/ungoogled-chromium/archive/109.0.5414.74-1.tar.gz
source = ozone-add-va-api-support-to-wayland.patch
+ source = skia-gamma.patch
source = remove-main-main10-profile-limit.patch
sha256sums = eded233c26ab631be325ad49cb306c338513b6a6528197d42653e66187548e5d
sha256sums = 213e50f48b67feb4441078d50b0fd431df34323be15be97c55302d3fdac4483a
@@ -87,6 +88,7 @@ pkgbase = ungoogled-chromium
sha256sums = e393174d7695d0bafed69e868c5fbfecf07aa6969f3b64596d0bae8b067e1711
sha256sums = 2e07a6833ca7531ee5f64c24e31069192256bad5abbe1091ca12802ba2ad3a75
sha256sums = e9e8d3a82da818f0a67d4a09be4ecff5680b0534d7f0198befb3654e9fab5b69
+ sha256sums = fb8b991b5c639e795bbcb0bd4b47c05d4e8907bf59969e359526671c604329fc
sha256sums = fc810e3c495c77ac60b383a27e48cf6a38b4a95b65dd2984baa297c5df83133c
pkgname = ungoogled-chromium
diff --git a/PKGBUILD b/PKGBUILD
index 476b8eb..b68a4cb 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -10,7 +10,7 @@
pkgname=ungoogled-chromium
pkgver=109.0.5414.74
-pkgrel=1
+pkgrel=2
_launcher_ver=8
_gcc_patchset=1
pkgdesc="A lightweight approach to removing Google web service dependency"
@@ -56,10 +56,12 @@ _uc_ver=$pkgver-1
source=(${source[@]}
$pkgname-$_uc_ver.tar.gz::https://github.com/$_uc_usr/ungoogled-chromium/archive/$_uc_ver.tar.gz
ozone-add-va-api-support-to-wayland.patch
+ skia-gamma.patch
remove-main-main10-profile-limit.patch)
sha256sums=(${sha256sums[@]}
'2e07a6833ca7531ee5f64c24e31069192256bad5abbe1091ca12802ba2ad3a75'
'e9e8d3a82da818f0a67d4a09be4ecff5680b0534d7f0198befb3654e9fab5b69'
+ 'fb8b991b5c639e795bbcb0bd4b47c05d4e8907bf59969e359526671c604329fc'
'fc810e3c495c77ac60b383a27e48cf6a38b4a95b65dd2984baa297c5df83133c')
# Possible replacements are listed in build/linux/unbundle/replace_gn_files.py
@@ -147,6 +149,9 @@ prepare() {
# Remove HEVC profile limits
patch -Np1 -i ../remove-main-main10-profile-limit.patch
+ # Fix gamma values
+ patch -Np1 -i ../skia-gamma.patch
+
# Ungoogled Chromium changes
_ungoogled_repo="$srcdir/$pkgname-$_uc_ver"
_utils="${_ungoogled_repo}/utils"
diff --git a/skia-gamma.patch b/skia-gamma.patch
new file mode 100644
index 0000000..94f4343
--- /dev/null
+++ b/skia-gamma.patch
@@ -0,0 +1,13 @@
+diff --git a/skia/BUILD.gn b/skia/BUILD.gn
+index b2c8b79..7e2ee53 100644
+--- a/skia/BUILD.gn
++++ b/skia/BUILD.gn
+@@ -139,7 +139,7 @@ config("skia_library_config") {
+ # Settings for text blitting, chosen to approximate the system browser.
+ if (is_linux || is_chromeos) {
+ defines += [
+- "SK_GAMMA_EXPONENT=1.2",
++ "SK_GAMMA_EXPONENT=2.2",
+ "SK_GAMMA_CONTRAST=0.2",
+ ]
+ } else if (is_android) {