Skip to content

Commit

Permalink
chromium: bump to 112.0.5615.49
Browse files Browse the repository at this point in the history
  • Loading branch information
licy183 committed Sep 23, 2023
1 parent 4ce9b7e commit e9425bd
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions tur-continuous/chromium/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ TERMUX_PKG_HOMEPAGE=https://www.chromium.org/Home
TERMUX_PKG_DESCRIPTION="Chromium web browser"
TERMUX_PKG_LICENSE="BSD 3-Clause"
TERMUX_PKG_MAINTAINER="Chongyun Lee <[email protected]>"
_CHROMIUM_VERSION=111.0.5563.64
_CHROMIUM_VERSION=112.0.5615.49
TERMUX_PKG_VERSION=$_CHROMIUM_VERSION
TERMUX_PKG_SRCURL=(https://commondatastorage.googleapis.com/chromium-browser-official/chromium-$_CHROMIUM_VERSION.tar.xz)
TERMUX_PKG_SHA256=(7d5ca0e2bdb22a97713e6bfce74c651006d71aa883056c8e2c2a148039fe4074)
TERMUX_PKG_SHA256=(ddfd37373c1fa0f433a6ac11f0baa2b1f3fdfb9c7b5867e32a4300f2eb5aff41)
TERMUX_PKG_DEPENDS="atk, cups, dbus, gtk3, krb5, libc++, libxkbcommon, libminizip, libnss, libwayland, libx11, mesa, openssl, pango, pulseaudio, libdrm, libjpeg-turbo, libpng, libwebp, libflac, fontconfig, freetype, zlib, libxml2, libxslt, libopus, libsnappy"
# TODO: Split chromium-common and chromium-headless
# TERMUX_PKG_DEPENDS+=", chromium-common"
Expand Down Expand Up @@ -213,6 +213,11 @@ use_thin_lto = false
echo "arm_float_abi = \"softfp\"" >> $_common_args_file
fi

# TODO: Generate v8_context_snapshot.bin for arm
if [ "$TERMUX_ARCH" = "arm" ]; then
echo "use_v8_context_snapshot = false" >> $_common_args_file
fi

# Use custom toolchain
mkdir -p $TERMUX_PKG_CACHEDIR/custom-toolchain
cp -f $TERMUX_PKG_BUILDER_DIR/toolchain.gn.in $TERMUX_PKG_CACHEDIR/custom-toolchain/BUILD.gn
Expand Down Expand Up @@ -269,7 +274,6 @@ termux_step_make_install() {

# V8 Snapshot data
snapshot_blob.bin
v8_context_snapshot.bin

# ICU Data
icudtl.dat
Expand Down Expand Up @@ -300,6 +304,10 @@ termux_step_make_install() {
libqt5_shim.so
)

if [ "$TERMUX_ARCH" != "arm" ]; then
normal_files+=(v8_context_snapshot.bin)
fi

cp "${normal_files[@]/#/out/Release/}" "$TERMUX_PREFIX/lib/chromium/"

cp -Rf out/Release/angledata $TERMUX_PREFIX/lib/chromium/
Expand Down

0 comments on commit e9425bd

Please sign in to comment.