www-client/google-chrome-beta: automated update (156.0.8078.4)

Signed-off-by: Matt Jolly <kangie@gentoo.org>
This commit is contained in:
Matt Jolly
2026-10-01 15:03:13 +10:00
parent 184a2afd05
commit b6570fbd32
2 changed files with 134 additions and 0 deletions
+2
View File
@@ -4,3 +4,5 @@ DIST google-chrome-beta_152.0.7977.30-1_amd64.deb 140865608 BLAKE2B b82e44c67fcd
DIST google-chrome-beta_152.0.7977.30-1_arm64.deb 133021608 BLAKE2B dbb152b10128d3c00cd493a539a9278eba25e118d5cb7fb28b36e078426e78089bd66e08d93eae027f0f2dd0b2efb15aaf26f80572a0a716afae7b1adb8d7a85 SHA512 31290c8fe2f3f99caf3a226238d875c6d0faccac905a966f5357fd61896482a5a47570f56b56be6542cc4e63e533543f65a6699d1979651cf7e6045f8c88b5a5
DIST google-chrome-beta_155.0.8059.12-1_amd64.deb 143605280 BLAKE2B c61da480e05b6da92f77c5a50df4870981b6097cc06c71597f4317346d8d42fa99e3151f92b4c8e565622cafb9ad6a0a810989a58b3c3854f85c6e349091e83c SHA512 63e39d2bed7cab9cee876dad071eb928e6509443cc8397232cc7d334047aba610235b25bdad241e14104e6a5ae457d01370dd67d445aac7bf1222ce341055ddc
DIST google-chrome-beta_155.0.8059.12-1_arm64.deb 135813912 BLAKE2B d44ec2ec4d33d484a5ac56f836749eb2dfe3f7789d45f1cabd12842ca3ffe9743973eeb31750bfdf3a5de72df10d6894992ce9eabe92b71698b0f1bd38d5a82f SHA512 e811af724fc4294df0488816490ea3e35a9124e7f113a7c03c511934e9ddcc49d39b2462699c568050dec010c8e0347cc601eea04be20057e8b59e5d10033dd1
DIST google-chrome-beta_156.0.8078.4-1_amd64.deb 144860768 BLAKE2B 8d1802e9fcefb1be2d946ddc74430dabe490b49041291dc3bd907ec62ff506b627662388fa038f33a2001a7b11afb27d23581725fb685403569a1bd7915f28f1 SHA512 4f43eed048a4a648a42f9d28a7ab9e7db8a911be7066e13b0811ea941886abc1421390d5d66cfefbe915e373e67f979395679343ebaaef7b19dde84215ef87cd
DIST google-chrome-beta_156.0.8078.4-1_arm64.deb 136586204 BLAKE2B 66e88833ebad934229dab42af8e9d078643aea0382e438ba458f6f3251ff6eec464a87ff507cfd5dccfedbd1372b02c38809fe51cc788241bb0289eb5dd3c3f7 SHA512 1dede01b45ff8f6bac8c7fd4db06866edfe93407859297d2e8f9557356e6845d8841a5b24e013153479d903be932bbb6e7ece9a8ad6e48ace3882037ef8f23f9
@@ -0,0 +1,132 @@
# Copyright 2011-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
CHROMIUM_LANGS="af am ar bg bn ca cs da de el en-GB es es-419 et fa fi fil fr gu he
hi hr hu id it ja kn ko lt lv ml mr ms nb nl pl pt-BR pt-PT ro ru sk sl sr
sv sw ta te th tr uk ur vi zh-CN zh-TW"
inherit chromium-2 desktop pax-utils unpacker xdg
DESCRIPTION="The web browser from Google"
HOMEPAGE="https://www.google.com/chrome/"
if [[ ${PN} == google-chrome ]]; then
MY_PN=${PN}-stable
else
MY_PN=${PN}
fi
MY_P="${MY_PN}_${PV}-1"
SRC_URI="
amd64? ( https://dl.google.com/linux/chrome/deb/pool/main/g/${MY_PN}/${MY_P}_amd64.deb )
arm64? ( https://dl.google.com/linux/chrome/deb/pool/main/g/${MY_PN}/${MY_P}_arm64.deb )
"
S=${WORKDIR}
LICENSE="google-chrome"
SLOT="0"
KEYWORDS="-* ~amd64 ~arm64"
IUSE="qt6 selinux"
RESTRICT="bindist mirror strip"
RDEPEND="
>=app-accessibility/at-spi2-core-2.46.0:2
app-misc/ca-certificates
dev-libs/expat
dev-libs/glib:2
dev-libs/nspr
>=dev-libs/nss-3.26
media-fonts/liberation-fonts
media-libs/alsa-lib
media-libs/mesa[gbm(+)]
net-misc/curl
net-print/cups
sys-apps/dbus
sys-libs/glibc
sys-libs/libcap
x11-libs/cairo
x11-libs/gdk-pixbuf:2
|| (
x11-libs/gtk+:3[X]
gui-libs/gtk:4[X]
)
x11-libs/libdrm
>=x11-libs/libX11-1.5.0
x11-libs/libXcomposite
x11-libs/libXdamage
x11-libs/libXext
x11-libs/libXfixes
x11-libs/libXrandr
x11-libs/libxcb
x11-libs/libxkbcommon
x11-libs/libxshmfence
x11-libs/pango
x11-misc/xdg-utils
qt6? ( dev-qt/qtbase:6[gui,widgets] )
selinux? ( sec-policy/selinux-chromium )
"
QA_PREBUILT="*"
QA_DESKTOP_FILE="usr/share/applications/google-chrome.*\\.desktop"
CHROME_HOME="opt/google/chrome${PN#google-chrome}"
pkg_nofetch() {
eerror "Please wait 24 hours and sync your tree before reporting a bug for google-chrome fetch failures."
}
pkg_pretend() {
# Protect against people using autounmask overzealously
use amd64 || use arm64 || die "${PN} only works on supported architectures (amd64, arm64)."
}
pkg_setup() {
chromium_suid_sandbox_check_kernel_config
}
src_unpack() {
:
}
src_install() {
dodir /
cd "${ED}" || die
unpacker
mv usr/share/doc/${MY_PN} usr/share/doc/${PF} || die
# Since M141 Google Chrome comes with its own bundled cron
# scripts which invoke `apt` directly. Useless on Gentoo!
rm -r etc/cron.daily || die "Failed to remove cron scripts"
rm -r "${CHROME_HOME}"/cron || die "Failed to remove cron scripts"
gzip -d usr/share/doc/${PF}/changelog.gz || die
gzip -d usr/share/man/man1/${MY_PN}.1.gz || die
if [[ -L usr/share/man/man1/google-chrome.1.gz ]]; then
rm usr/share/man/man1/google-chrome.1.gz || die
dosym ${MY_PN}.1 usr/share/man/man1/google-chrome.1
fi
pushd "${CHROME_HOME}/locales" > /dev/null || die
chromium_remove_language_paks
popd > /dev/null || die
rm "${CHROME_HOME}/libqt5_shim.so" || die
if ! use qt6; then
rm "${CHROME_HOME}/libqt6_shim.so" || die
fi
local suffix=
[[ ${PN} == google-chrome-beta ]] && suffix=_beta
[[ ${PN} == google-chrome-unstable ]] && suffix=_dev
local size
for size in 16 24 32 48 64 128 256 ; do
newicon -s ${size} "${CHROME_HOME}/product_logo_${size}${suffix}.png" ${PN}.png
done
pax-mark m "${CHROME_HOME}/chrome"
}