40 lines
1.6 KiB
Bash
Executable File
40 lines
1.6 KiB
Bash
Executable File
## MANUALLY ##
|
|
# Copy the "patch" lines from aur-ungoogled-chromium/PKGBUILD into the following target
|
|
# add cd chromium-src && before each line
|
|
# rename "../patches" to "../chromium-patches"
|
|
# rename "../" to "../aur-patches"
|
|
|
|
set -x
|
|
|
|
# Use the --oauth2-client-id= and --oauth2-client-secret= switches for
|
|
# setting GOOGLE_DEFAULT_CLIENT_ID and GOOGLE_DEFAULT_CLIENT_SECRET at
|
|
# runtime -- this allows signing into Chromium without baked-in values
|
|
patch -Np1 -i ../aur-patches/use-oauth2-client-switches-as-default.patch
|
|
|
|
# Upstream fixes
|
|
patch -Np1 -i ../aur-patches/re-fix-TFLite-build-error-on-linux-with-system-zlib.patch
|
|
patch -Np1 -i ../aur-patches/chromium-icu72.patch
|
|
patch -Np1 -d v8 < ../aur-patches/v8-enhance-Date-parser-to-take-Unicode-SPACE.patch
|
|
|
|
# Revert ffmpeg roll requiring new channel layout API support
|
|
# https://crbug.com/1325301
|
|
patch -Rp1 -i ../aur-patches/REVERT-roll-src-third_party-ffmpeg-m102.patch
|
|
# Revert switch from AVFrame::pkt_duration to AVFrame::duration
|
|
patch -Rp1 -i ../aur-patches/REVERT-roll-src-third_party-ffmpeg-m106.patch
|
|
|
|
# Disable kGlobalMediaControlsCastStartStop by default
|
|
# https://crbug.com/1314342
|
|
patch -Np1 -i ../aur-patches/disable-GlobalMediaControlsCastStartStop.patch
|
|
|
|
# https://crbug.com/angleproject/7582
|
|
patch -Np0 -i ../aur-patches/angle-wayland-include-protocol.patch
|
|
|
|
# Fixes for building with libstdc++ instead of libc++
|
|
patch -Np1 -i ../chromium-patches/chromium-103-VirtualCursor-std-layout.patch
|
|
|
|
# Enable vaapi on wayland
|
|
patch -Np1 -i ../aur-patches/ozone-add-va-api-support-to-wayland.patch
|
|
|
|
# Remove HEVC profile limits
|
|
patch -Np1 -i ../aur-patches/remove-main-main10-profile-limit.patch
|