www-client/google-chrome-unstable: automated update (151.0.7886.2)

Signed-off-by: Matt Jolly <kangie@gentoo.org>
This commit is contained in:
Matt Jolly
2026-06-18 08:04:20 +10:00
parent 56cc4f7a3a
commit 2ef11d75ea
2 changed files with 130 additions and 0 deletions
@@ -1,3 +1,4 @@
DIST google-chrome-unstable_150.0.7838.0-1_amd64.deb 130783808 BLAKE2B e6688cc842b72b464c43e8d941790fda69484e1063fedd04339b1b18b8bb6c72e40ea190303d65fec88772536e4ce263fdf41c4880e63ff26ccd3671ec7773d9 SHA512 70aad0b462a5e939ab24e3565544c56ef1822e01e37d1904bc5f7ffe677e5315a6c09d1dbf52cbb6230122641ce28bb058e8f08fc76453718a12f0836d7e399d
DIST google-chrome-unstable_150.0.7846.4-1_amd64.deb 131201324 BLAKE2B 502ff9b6360b6aa3a03765aaaa92d2d03b09e3321964a82c6544849351b3e95a9bbef4272d868b548b06cd1fb6e4390e41f4f712b522fc8d705de758b1fe4e56 SHA512 89a98512a3210775c3a2416441b57052e2b127a5de908cb94ddd265bf0027b7c5e75b350cc947d974dbd244dd9dd6cacff59d69b74dc458fb547ed193206c44c
DIST google-chrome-unstable_151.0.7872.0-1_amd64.deb 133358176 BLAKE2B 43c65fef9c3b1a4a6467a9a5a3eec356bac23a7c52a8a8ee3599cf6a5be618b4c1cb354f8a8f21b3138eb123931eaefcfadf1a842b18c3687581ec053b1f3a9f SHA512 79466c94803047263e367e76a406447a7086cf6e5f66c74e15a29e48145891fc510ed47c72f21ba83db9109c9c42190dac8fc19493531bb8958d6d2019ee7c91
DIST google-chrome-unstable_151.0.7886.2-1_amd64.deb 132379908 BLAKE2B 66dc3e3b3b9bf743e74383937ff4557f3f77e73371ecc89c92b8a8ec6c853ce1b934202c4d8f4acf271cd1c7edfbb066e11491cbfc340ffb5670944a11969e7b SHA512 6d64f9d5fb635c4a8c6cf930abcaf7acfe5f9cde189d5ddf1964a9267909c51722bfd47fd78013cb1712fa7b42bab1015ba76faf588eb6c88d3e0b6ca0367b0b
@@ -0,0 +1,129 @@
# 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="https://dl.google.com/linux/chrome/deb/pool/main/g/${MY_PN}/${MY_P}_amd64.deb"
S=${WORKDIR}
LICENSE="google-chrome"
SLOT="0"
KEYWORDS="-* ~amd64"
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 || die "google-chrome only works on amd64"
}
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"
}