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-142.0.7444.59_amd64.deb 117592096 BLAKE2B 64f2633bab62602ba6f37037cf5ff51d8f404a55f579213653693d409b7c6f0191a4d30e8aad997ac878915e18c7cab26393ea90aec4234ed49ea0cf96c10d45 SHA512 2fa011ed0669c20c8e101268050e591581a697861357030e84af460017f8e8321fa7d14718ef88af3420a7a37aeacab4bbb801b2be91d5c02b76e6e45ed2b839
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-142.0.7444.59.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_142.0.7444.59-1_amd64.deb -> google-chrome-142.0.7444.59_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 || true
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