|
@@ -10,10 +10,10 @@
|
|
# Contributor: Daniel J Griffiths <ghost1227@archlinux.us>
|
|
# Contributor: Daniel J Griffiths <ghost1227@archlinux.us>
|
|
|
|
|
|
pkgname=ungoogled-chromium-xdg
|
|
pkgname=ungoogled-chromium-xdg
|
|
-pkgver=107.0.5304.122
|
|
|
|
-pkgrel=2
|
|
|
|
|
|
+pkgver=108.0.5359.94
|
|
|
|
+pkgrel=1
|
|
_launcher_ver=8
|
|
_launcher_ver=8
|
|
-_gcc_patchset=1
|
|
|
|
|
|
+_gcc_patchset=2
|
|
pkgdesc="A lightweight approach to removing Google web service dependency - without creating a useless ~/.pki directory"
|
|
pkgdesc="A lightweight approach to removing Google web service dependency - without creating a useless ~/.pki directory"
|
|
arch=('x86_64')
|
|
arch=('x86_64')
|
|
url="https://github.com/ungoogled-software/ungoogled-chromium"
|
|
url="https://github.com/ungoogled-software/ungoogled-chromium"
|
|
@@ -31,24 +31,22 @@ options=('debug' '!lto') # Chromium adds its own flags for ThinLTO
|
|
source=(https://commondatastorage.googleapis.com/chromium-browser-official/chromium-$pkgver.tar.xz
|
|
source=(https://commondatastorage.googleapis.com/chromium-browser-official/chromium-$pkgver.tar.xz
|
|
https://github.com/foutrelis/chromium-launcher/archive/v$_launcher_ver/chromium-launcher-$_launcher_ver.tar.gz
|
|
https://github.com/foutrelis/chromium-launcher/archive/v$_launcher_ver/chromium-launcher-$_launcher_ver.tar.gz
|
|
https://github.com/stha09/chromium-patches/releases/download/chromium-${pkgver%%.*}-patchset-$_gcc_patchset/chromium-${pkgver%%.*}-patchset-$_gcc_patchset.tar.xz
|
|
https://github.com/stha09/chromium-patches/releases/download/chromium-${pkgver%%.*}-patchset-$_gcc_patchset/chromium-${pkgver%%.*}-patchset-$_gcc_patchset.tar.xz
|
|
- unbundle-jsoncpp-avoid-CFI-faults-with-is_cfi-true.patch
|
|
|
|
re-fix-TFLite-build-error-on-linux-with-system-zlib.patch
|
|
re-fix-TFLite-build-error-on-linux-with-system-zlib.patch
|
|
- REVERT-enable-GlobalMediaControlsCastStartStop.patch
|
|
|
|
REVERT-roll-src-third_party-ffmpeg-m102.patch
|
|
REVERT-roll-src-third_party-ffmpeg-m102.patch
|
|
REVERT-roll-src-third_party-ffmpeg-m106.patch
|
|
REVERT-roll-src-third_party-ffmpeg-m106.patch
|
|
|
|
+ disable-GlobalMediaControlsCastStartStop.patch
|
|
angle-wayland-include-protocol.patch
|
|
angle-wayland-include-protocol.patch
|
|
use-oauth2-client-switches-as-default.patch
|
|
use-oauth2-client-switches-as-default.patch
|
|
xdg-basedir.patch
|
|
xdg-basedir.patch
|
|
no-omnibox-suggestion-autocomplete.patch
|
|
no-omnibox-suggestion-autocomplete.patch
|
|
index.html)
|
|
index.html)
|
|
-sha256sums=('05c91722709a117b86997d929796225d4489a707135b1a808a45876be96e5238'
|
|
|
|
|
|
+sha256sums=('0607518481a8a5b993fb371eec544f7d20e43c2eb706ca7bf40ef584496cb6fe'
|
|
'213e50f48b67feb4441078d50b0fd431df34323be15be97c55302d3fdac4483a'
|
|
'213e50f48b67feb4441078d50b0fd431df34323be15be97c55302d3fdac4483a'
|
|
- '2b26c16f8326803ef287fb443a17bc139a440673955c5a6a38e9368bcaeed7c4'
|
|
|
|
- 'b908f37c5a886e855953f69e4dd6b90baa35e79f5c74673f7425f2cdb642eb00'
|
|
|
|
|
|
+ '40ef8af65e78901bb8554eddbbb5ebc55c0b8e7927f6ca51b2a353d1c7c50652'
|
|
'9015b9d6d5b4c1e7248d6477a4b4b6bd6a3ebdc57225d2d8efcd79fc61790716'
|
|
'9015b9d6d5b4c1e7248d6477a4b4b6bd6a3ebdc57225d2d8efcd79fc61790716'
|
|
- '779fb13f2494209d3a7f1f23a823e59b9dded601866d3ab095937a1a04e19ac6'
|
|
|
|
'30df59a9e2d95dcb720357ec4a83d9be51e59cc5551365da4c0073e68ccdec44'
|
|
'30df59a9e2d95dcb720357ec4a83d9be51e59cc5551365da4c0073e68ccdec44'
|
|
'4c12d31d020799d31355faa7d1fe2a5a807f7458e7f0c374adf55edb37032152'
|
|
'4c12d31d020799d31355faa7d1fe2a5a807f7458e7f0c374adf55edb37032152'
|
|
|
|
+ '7f3b1b22d6a271431c1f9fc92b6eb49c6d80b8b3f868bdee07a6a1a16630a302'
|
|
'cd0d9d2a1d6a522d47c3c0891dabe4ad72eabbebc0fe5642b9e22efa3d5ee572'
|
|
'cd0d9d2a1d6a522d47c3c0891dabe4ad72eabbebc0fe5642b9e22efa3d5ee572'
|
|
'e393174d7695d0bafed69e868c5fbfecf07aa6969f3b64596d0bae8b067e1711'
|
|
'e393174d7695d0bafed69e868c5fbfecf07aa6969f3b64596d0bae8b067e1711'
|
|
'cd844867b5b2197ad097662fee32579a7091dfba1d46cb438c4c7e696690440a'
|
|
'cd844867b5b2197ad097662fee32579a7091dfba1d46cb438c4c7e696690440a'
|
|
@@ -64,7 +62,7 @@ source=(${source[@]}
|
|
remove-main-main10-profile-limit.patch
|
|
remove-main-main10-profile-limit.patch
|
|
chromium-drirc-disable-10bpc-color-configs.conf)
|
|
chromium-drirc-disable-10bpc-color-configs.conf)
|
|
sha256sums=(${sha256sums[@]}
|
|
sha256sums=(${sha256sums[@]}
|
|
- '2d82330c725c4eeddb83f5f7476add0b5dd888e23d9524881ec241e8df9323a9'
|
|
|
|
|
|
+ '26379c097c7ba655e4d943523575f00647308e2a75ab79c8ff99e4b62b40ae1a'
|
|
'e9e8d3a82da818f0a67d4a09be4ecff5680b0534d7f0198befb3654e9fab5b69'
|
|
'e9e8d3a82da818f0a67d4a09be4ecff5680b0534d7f0198befb3654e9fab5b69'
|
|
'fc810e3c495c77ac60b383a27e48cf6a38b4a95b65dd2984baa297c5df83133c'
|
|
'fc810e3c495c77ac60b383a27e48cf6a38b4a95b65dd2984baa297c5df83133c'
|
|
'babda4f5c1179825797496898d77334ac067149cac03d797ab27ac69671a7feb')
|
|
'babda4f5c1179825797496898d77334ac067149cac03d797ab27ac69671a7feb')
|
|
@@ -83,7 +81,7 @@ declare -gA _system_libs=(
|
|
[libdrm]=
|
|
[libdrm]=
|
|
[jsoncpp]=jsoncpp
|
|
[jsoncpp]=jsoncpp
|
|
[libaom]=aom
|
|
[libaom]=aom
|
|
- #[libavif]=libavif # needs https://github.com/AOMediaCodec/libavif/commit/d22d4de94120
|
|
|
|
|
|
+ [libavif]=libavif
|
|
[libjpeg]=libjpeg
|
|
[libjpeg]=libjpeg
|
|
[libpng]=libpng
|
|
[libpng]=libpng
|
|
#[libvpx]=libvpx
|
|
#[libvpx]=libvpx
|
|
@@ -121,19 +119,18 @@ prepare() {
|
|
patch -Np1 -i ../use-oauth2-client-switches-as-default.patch
|
|
patch -Np1 -i ../use-oauth2-client-switches-as-default.patch
|
|
|
|
|
|
# Upstream fixes
|
|
# Upstream fixes
|
|
- patch -Np1 -i ../unbundle-jsoncpp-avoid-CFI-faults-with-is_cfi-true.patch
|
|
|
|
patch -Np1 -i ../re-fix-TFLite-build-error-on-linux-with-system-zlib.patch
|
|
patch -Np1 -i ../re-fix-TFLite-build-error-on-linux-with-system-zlib.patch
|
|
|
|
|
|
- # Revert kGlobalMediaControlsCastStartStop enabled by default
|
|
|
|
- # https://crbug.com/1314342
|
|
|
|
- patch -Rp1 -F3 -i ../REVERT-enable-GlobalMediaControlsCastStartStop.patch
|
|
|
|
-
|
|
|
|
# Revert ffmpeg roll requiring new channel layout API support
|
|
# Revert ffmpeg roll requiring new channel layout API support
|
|
# https://crbug.com/1325301
|
|
# https://crbug.com/1325301
|
|
patch -Rp1 -i ../REVERT-roll-src-third_party-ffmpeg-m102.patch
|
|
patch -Rp1 -i ../REVERT-roll-src-third_party-ffmpeg-m102.patch
|
|
# Revert switch from AVFrame::pkt_duration to AVFrame::duration
|
|
# Revert switch from AVFrame::pkt_duration to AVFrame::duration
|
|
patch -Rp1 -i ../REVERT-roll-src-third_party-ffmpeg-m106.patch
|
|
patch -Rp1 -i ../REVERT-roll-src-third_party-ffmpeg-m106.patch
|
|
|
|
|
|
|
|
+ # Disable kGlobalMediaControlsCastStartStop by default
|
|
|
|
+ # https://crbug.com/1314342
|
|
|
|
+ patch -Np1 -i ../disable-GlobalMediaControlsCastStartStop.patch
|
|
|
|
+
|
|
# https://crbug.com/angleproject/7582
|
|
# https://crbug.com/angleproject/7582
|
|
patch -Np0 -i ../angle-wayland-include-protocol.patch
|
|
patch -Np0 -i ../angle-wayland-include-protocol.patch
|
|
|
|
|
|
@@ -208,7 +205,7 @@ build() {
|
|
'use_gnome_keyring=false'
|
|
'use_gnome_keyring=false'
|
|
'use_qt=false' # look into enabling this for M108
|
|
'use_qt=false' # look into enabling this for M108
|
|
'use_sysroot=false'
|
|
'use_sysroot=false'
|
|
- 'use_system_libwayland_server=true'
|
|
|
|
|
|
+ 'use_system_libwayland=true'
|
|
'use_system_wayland_scanner=true'
|
|
'use_system_wayland_scanner=true'
|
|
'use_custom_libcxx=false'
|
|
'use_custom_libcxx=false'
|
|
'enable_widevine=true'
|
|
'enable_widevine=true'
|