commit: d0ce3c70344fdd8538adcba31066c0be8b2c6ed3 Author: Matt Jolly <kangie <AT> gentoo <DOT> org> AuthorDate: Fri Oct 31 00:23:43 2025 +0000 Commit: Matt Jolly <kangie <AT> gentoo <DOT> org> CommitDate: Fri Oct 31 00:23:43 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d0ce3c70
www-client/google-chrome: automated update (142.0.7444.59) Bug: https://bugs.gentoo.org/965344 Signed-off-by: Matt Jolly <kangie <AT> gentoo.org> www-client/google-chrome/Manifest | 1 + .../google-chrome-142.0.7444.59.ebuild | 129 +++++++++++++++++++++ 2 files changed, 130 insertions(+) diff --git a/www-client/google-chrome/Manifest b/www-client/google-chrome/Manifest index 1d46ef3ba0b9..a7807b876b8b 100644 --- a/www-client/google-chrome/Manifest +++ b/www-client/google-chrome/Manifest @@ -1 +1,2 @@ DIST google-chrome-stable_141.0.7390.107-1_amd64.deb 120556940 BLAKE2B 30075afc39ba771aa9d40cc366efd4d52296cdc269dfef0f5e8ee457181622ef00e614417c62b894b792d58c381d56f77ee3c92e2d8e6efed6f698074dd38488 SHA512 d5ae65f08224a64151c4348ecc8459a50e8ae2d00b0688a5216be2c9faad44962309a1c57bd091b7974a35b6cd8ea8a51c2213c2a9e4c09898ab2938d01f00ae +DIST google-chrome-stable_142.0.7444.59-1_amd64.deb 117592096 BLAKE2B 64f2633bab62602ba6f37037cf5ff51d8f404a55f579213653693d409b7c6f0191a4d30e8aad997ac878915e18c7cab26393ea90aec4234ed49ea0cf96c10d45 SHA512 2fa011ed0669c20c8e101268050e591581a697861357030e84af460017f8e8321fa7d14718ef88af3420a7a37aeacab4bbb801b2be91d5c02b76e6e45ed2b839 diff --git a/www-client/google-chrome/google-chrome-142.0.7444.59.ebuild b/www-client/google-chrome/google-chrome-142.0.7444.59.ebuild new file mode 100644 index 000000000000..966ea1c307ef --- /dev/null +++ b/www-client/google-chrome/google-chrome-142.0.7444.59.ebuild @@ -0,0 +1,129 @@ +# Copyright 2011-2025 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" +}
