Skip to content
Open
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-beta/Manifest
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
DIST google-chrome-beta-149.0.7827.22_amd64.deb 130360996 BLAKE2B 7f67f6f3304b33ad34049d43c4f34bed1b227dc7888b3d4ad583c3312cf2ffcca88fc399b2d75412a1c0f3132c2bde7e3710178038847a7ed57fc26b040091a4 SHA512 83e900eb0d803d4d70577eafa8d8b0aafec1c49878d3abfda7c1ad267cc18fae6cb3e410d2978670998746a35b14626be704e61da273aa96bae532503d066755
DIST google-chrome-beta-149.0.7827.53_amd64.deb 130395104 BLAKE2B e17eb9b3d002fd956b1cefc4e7c79f99930fdbfd8dce62740ef222445edc4619ff6a8d9d34693a090453537891ab06c79886199fc047f9333f95ba3e9531d329 SHA512 467434bc3908cb9e9dff56a0c27c931d533f12f2bc195096bcd8b37910d2dc21318bc70f871a602dc147c019f95e9813a0bdcf6f5b2f606adb84551953755581
DIST google-chrome-beta-150.0.7871.13_amd64.deb 133813604 BLAKE2B 8249ec9090dedb3993a62ef4151d1977e59c3a936381f828e333ea15ff2e14609df57c6875c7f0cc45f53bb2ee6ffa67ec03a3546dac82f6958ce089ba3b8ef8 SHA512 145c09614de58c6a31680a96ef5b611d55cb07916fdb09bd8f0e5adcf5078fdc85cb9cba954e525a5e94d122938f08f0da47c9c8ce54464f23ea4f1fe4ba9e4c
DIST google-chrome-beta-151.0.7922.19_amd64.deb 139915056 BLAKE2B 4585c677149f0c25f26a31a2154d33711ee5378e456fa857939a066f6c609e0a4c1510e8a197d84da00e18bf585ba040501430bee5f5b1d75d3122ad6f66fb32 SHA512 c82077615bfd16b99100eba36da2d447389bf571c52432220ed8412f845019bdec39d282c1283382db3e0ebdef1d727a83669363ed43bf04cafa319aeff22e5d
103 changes: 103 additions & 0 deletions www-client/google-chrome-beta/google-chrome-beta-151.0.7922.19.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 (beta channel)"
HOMEPAGE="https://www.google.com/chrome"
SRC_URI="https://dl.google.com/linux/chrome/deb/pool/main/g/google-chrome-beta/google-chrome-beta_151.0.7922.19-1_amd64.deb -> google-chrome-beta-151.0.7922.19_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}"
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=_beta
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