Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions www-client/google-chrome/Manifest
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
DIST google-chrome-138.0.7204.183_amd64.deb 117907496 BLAKE2B 0501f326313578dc18b3b0709708b60659edb61cf71159d5832785310f7a196b15d64e45cecf77b0d2cb07a4552f016b64177341cb7123d3e05fb0793902b66c SHA512 76aa8a1cf43f1264fcf81d50a97e8953609cfe77001bcfd7625aff907660584dfb2b9063a2379a7051055c371a27d6b6e08802e6d26cbdb694103765e0dcfc71
DIST google-chrome-139.0.7258.154_amd64.deb 118595680 BLAKE2B d2658400505bb6f69fad13d64671b6467a411dee1e1153c67923f61e282824d79c8eecf59b00688599f8fb4119db52a5c388edcd18744970ca33d73a7f3ca9f1 SHA512 42db46ce5553ac580db97e4983ce716a47de0fc68711ddd69aa17595e7ab2505d5df6ef6f8dfb4288c42a2bf4cce784db7d6b17addf9fedb2a0bfa07825a1f5f
DIST google-chrome-stable_137.0.7151.55-1_amd64.deb 117262088 BLAKE2B 4b081ba10d23b9d3eff37c98b044a3722f59177b667ccdcc7ab9da2f82b6b559d4beba381e4635325df118f98aabfb00a9800fb843f41e4d6c77ee2396dbebd8 SHA512 1db26e4c0b1f0e80bd33341979b45b2630fe2c50d3ad3a95e88094f042c8373353f20755356c5070ad981decbc807592371b9f3db6c5db440b9476c9c6e60b2f
103 changes: 103 additions & 0 deletions www-client/google-chrome/google-chrome-139.0.7258.154.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,103 @@
# Distributed under the terms of the GNU General Public License v2
# Autogen by MARK Devkit

EAPI=7
CHROMIUM_LANGS="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 vi zh-CN zh-TW"

QA_PREBUILT="*"
QA_DESKTOP_FILE="usr/share/applications/google-chrome.*\\.desktop"
CHROME_HOME="opt/google/chrome${PN#google-chrome}"
inherit chromium-2 eutils gnome2-utils pax-utils unpacker xdg-utils

DESCRIPTION="The web browser from Google (stable channel)"
HOMEPAGE="https://www.google.com/chrome"
SRC_URI="https://dl.google.com/linux/chrome/deb/pool/main/g/google-chrome-stable/google-chrome-stable_139.0.7258.154-1_amd64.deb -> google-chrome-139.0.7258.154_amd64.deb"
LICENSE="google-chrome"
SLOT="0"
KEYWORDS="*"
IUSE="selinux amd64"
RESTRICT="bindist strip"
RDEPEND="dev-libs/wayland
app-accessibility/at-spi2-atk:2
app-arch/bzip2
app-misc/ca-certificates
dev-libs/atk
dev-libs/expat
dev-libs/glib:2
dev-libs/nspr
>=dev-libs/nss-3.26
media-libs/alsa-lib
media-libs/fontconfig
media-libs/freetype:2
net-print/cups
sys-apps/dbus
sys-libs/libcap
x11-libs/cairo
x11-libs/gdk-pixbuf:2
x11-libs/gtk+:3[X]
x11-libs/libX11
x11-libs/libXcomposite
x11-libs/libXcursor
x11-libs/libXdamage
x11-libs/libXext
x11-libs/libXfixes
x11-libs/libXi
x11-libs/libxkbcommon
x11-libs/libXrandr
x11-libs/libXrender
x11-libs/libXScrnSaver
x11-libs/libXtst
x11-libs/libxcb
x11-libs/pango
x11-misc/xdg-utils
selinux? ( sec-policy/selinux-chromium )

"
S="${WORKDIR}"
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() {
local MY_PN="${PN}-stable"
dodir /
cd "${ED}" || die
unpacker
rm -r etc usr/share/menu || die
mv usr/share/doc/${MY_PN} usr/share/doc/${PF} || die
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
local suffix=""
local size
for size in 16 24 32 48 64 128 256 ; do
insinto "/usr/share/icons/hicolor/${size}x${size}/apps"
newins "${CHROME_HOME}/product_logo_${size}${suffix}.png" ${PN}.png
done
pax-mark m "${CHROME_HOME}/chrome"
}
pkg_postrm() {
xdg_icon_cache_update
xdg_desktop_database_update
}
pkg_postinst() {
xdg_icon_cache_update
xdg_desktop_database_update
}


# vim: filetype=ebuild