mirror of
https://github.com/termux-pacman/termux-packages.git
synced 2026-01-28 13:42:37 +00:00
chromium: bump to 142.0.7444.59 (#27060)
This commit is contained in:
@@ -2,9 +2,9 @@ TERMUX_PKG_HOMEPAGE=https://www.chromium.org/Home
|
||||
TERMUX_PKG_DESCRIPTION="Chromium web browser"
|
||||
TERMUX_PKG_LICENSE="BSD 3-Clause"
|
||||
TERMUX_PKG_MAINTAINER="@licy183"
|
||||
TERMUX_PKG_VERSION="141.0.7390.122"
|
||||
TERMUX_PKG_VERSION=142.0.7444.59
|
||||
TERMUX_PKG_SRCURL=https://commondatastorage.googleapis.com/chromium-browser-official/chromium-$TERMUX_PKG_VERSION.tar.xz
|
||||
TERMUX_PKG_SHA256=2abd5f1175328a15bea8363d6105c584fe499d513c88e26cae64de27fe0eae49
|
||||
TERMUX_PKG_SHA256=eaf6a4941d117b0ce0baaae0ad0111b2ad456be4e3abcdd05ec31d7046cdc192
|
||||
TERMUX_PKG_DEPENDS="atk, cups, dbus, fontconfig, gtk3, krb5, libc++, libevdev, libxkbcommon, libminizip, libnss, libx11, mesa, openssl, pango, pulseaudio, zlib"
|
||||
TERMUX_PKG_BUILD_DEPENDS="chromium-host-tools, libffi-static"
|
||||
# TODO: Split chromium-common and chromium-headless
|
||||
@@ -105,6 +105,20 @@ termux_step_configure() {
|
||||
export PATH="$TERMUX_PKG_CACHEDIR/depot_tools:$PATH"
|
||||
$TERMUX_PKG_CACHEDIR/depot_tools/ensure_bootstrap
|
||||
|
||||
# Write gpu/webgpu/dawn_commit_hash.h
|
||||
if [ ! -f "$TERMUX_PKG_SRCDIR/gpu/webgpu/dawn_commit_hash.h" ]; then
|
||||
cat << EOF > $TERMUX_PKG_SRCDIR/gpu/webgpu/dawn_commit_hash.h
|
||||
/* Generated by lastchange.py, do not edit.*/
|
||||
|
||||
#ifndef GPU_WEBGPU_DAWN_COMMIT_HASH_H_
|
||||
#define GPU_WEBGPU_DAWN_COMMIT_HASH_H_
|
||||
|
||||
#define DAWN_COMMIT_HASH "$(cat $TERMUX_PKG_SRCDIR/gpu/webgpu/DAWN_VERSION)"
|
||||
|
||||
#endif // GPU_WEBGPU_DAWN_COMMIT_HASH_H_
|
||||
EOF
|
||||
fi
|
||||
|
||||
# Remove termux's dummy pkg-config
|
||||
local _target_pkg_config=$(command -v pkg-config)
|
||||
local _host_pkg_config="$(cat $_target_pkg_config | grep exec | awk '{print $2}')"
|
||||
@@ -270,7 +284,7 @@ build_tflite_with_opencl = false
|
||||
build_tflite_with_nnapi = true
|
||||
# Enable rust
|
||||
custom_target_rust_abi_target = \"$CARGO_TARGET_NAME\"
|
||||
llvm_android_mainline = true
|
||||
clang_warning_suppression_file = \"\"
|
||||
exclude_unwind_tables = false
|
||||
# Enable jumbo build (unified build)
|
||||
use_jumbo_build = true
|
||||
|
||||
Reference in New Issue
Block a user