diff options
Diffstat (limited to 'www-client/google-chrome-unstable')
3 files changed, 178 insertions, 0 deletions
diff --git a/www-client/google-chrome-unstable/Manifest b/www-client/google-chrome-unstable/Manifest new file mode 100644 index 000000000000..a8d9adcbf734 --- /dev/null +++ b/www-client/google-chrome-unstable/Manifest @@ -0,0 +1,5 @@ +DIST google-chrome-unstable_63.0.3230.0-1_amd64.deb 49851312 SHA256 11430f165090c16ee532c2275755701cd1273dacee39a56b2b39fb18ecb9e755 SHA512 98b303cf6822af611bf96b67ed3471e7a172477dfa97440d6b5619a5543c8fb5f237052db8e6e2a3491dd54cf2d6d32efe005a1f1efa92499654290296ba812e WHIRLPOOL 96f2ab0b26c8dae29a28bec0c0bfe050e07be6ec5808193d170e165769b4fb22510e7cd9193f38e3bee43454cddd623759c017159d559e84f249e7e44536c7ce +EBUILD google-chrome-unstable-63.0.3230.0.ebuild 3537 SHA256 69963e5873f27f0805ba0cc65a76f1a2ba7e77b4d6b94b8b6dce338edfa47db8 SHA512 2db889ef7c6a270a30ad4cb84bf4efa76d255593a8a5320894d326605c5d8404565be8e3f1658cfd06ae51fbb52a0a1d1f81713625ef453587462d1956eae07c WHIRLPOOL f6c679cbaac78d521e053b397a0b0a3b1af081296b75c96d0ed2fcfcf1b7a14c47b1e235627d0198f4fa055b6b47246cd2895cef32bb400e3097a99a74dd8613 +MISC ChangeLog 26760 SHA256 d211ce81fe772ad972458400d9065f652f351a6dff428e1ed65abf256476219f SHA512 3341263860b9c45ade48a8bc0c83303b15ddadf6defbfbcabd6864896d67cf51b818afb3fafb064a373cc89c2b93eb1a27af2b2a8f8e8761a54d1bebbbc0b32c WHIRLPOOL 0c61e5cba799fb10a3e6b123f4c63f9cd6c394a40f4226f6f9b7db97fd1f5ed26c0909013e1d2d037ecbdca9539db590a42589bf78aa4e6955cd01ee5c4a9075 +MISC ChangeLog-2015 24195 SHA256 03cd9f706b00090ca8e0a16169bc3c45a48f3e499191f7fb6565f1988b5b8f62 SHA512 6b25f7c076af400be3e91275fcb82401d40b50327dd76a5796f0d94cf16747a6a5e4dcfa1a3da2ee737dc6bf6ed833ce6e7e2bee31a70c913b76c10f8f44e7b6 WHIRLPOOL 3753a9bee1820b25997933975fef361befc8eb3cdb42562d66b9a35b894738ea687866050be7d5e4c9c48cba0255d0797fe881ea36e4bdc5d65599ae5d45eed8 +MISC metadata.xml 624 SHA256 e295fc153645351df4b2501b78b8d6115f66e439acec1e3ae35afc84ee027de1 SHA512 318638d149ddf7c81310b8d1fc6e38525665ea5e3b7fc6830ed3b13547f80635e6a5fba60b60829187742ffc1217beaf7a72bcee2c6b76736316e004ad336786 WHIRLPOOL 4b31e15fcc05fce91aad8bbcfe28511b32f35be1a2d747661be604ff691682be30c73086ce24f5b00a83540bc494d3a4a32585ceaf78cbcd1b4070cf5012e1f2 diff --git a/www-client/google-chrome-unstable/google-chrome-unstable-63.0.3230.0.ebuild b/www-client/google-chrome-unstable/google-chrome-unstable-63.0.3230.0.ebuild new file mode 100644 index 000000000000..15a697bab362 --- /dev/null +++ b/www-client/google-chrome-unstable/google-chrome-unstable-63.0.3230.0.ebuild @@ -0,0 +1,154 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" + +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" + +inherit readme.gentoo-r1 chromium-2 eutils gnome2-utils pax-utils unpacker xdg-utils + +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" + +LICENSE="google-chrome" +SLOT="0" +KEYWORDS="-* ~amd64" +IUSE="+plugins" +RESTRICT="bindist mirror strip" + +DEPEND="" +RDEPEND=" + app-arch/bzip2 + app-misc/ca-certificates + dev-libs/expat + dev-libs/glib:2 + dev-libs/nspr + dev-libs/nss + gnome-base/gconf:2 + 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 + >=x11-libs/libX11-1.5.0 + x11-libs/libXcomposite + x11-libs/libXcursor + x11-libs/libXdamage + x11-libs/libXext + x11-libs/libXfixes + x11-libs/libXi + x11-libs/libXrandr + x11-libs/libXrender + x11-libs/libXScrnSaver + x11-libs/libXtst + x11-libs/pango + x11-misc/xdg-utils +" + +QA_PREBUILT="*" +QA_DESKTOP_FILE="usr/share/applications/google-chrome.*\\.desktop" +S=${WORKDIR} +CHROME_HOME="opt/google/chrome${PN#google-chrome}" + +DISABLE_AUTOFORMATTING="yes" +DOC_CONTENTS=" +Some web pages may require additional fonts to display properly. +Try installing some of the following packages if some characters +are not displayed properly: +- media-fonts/arphicfonts +- media-fonts/bitstream-cyberbit +- media-fonts/droid +- media-fonts/ipamonafont +- media-fonts/ja-ipafonts +- media-fonts/takao-fonts +- media-fonts/wqy-microhei +- media-fonts/wqy-zenhei + +Depending on your desktop environment, you may need +to install additional packages to get icons on the Downloads page. + +For KDE, the required package is kde-frameworks/oxygen-icons. + +For other desktop environments, try one of the following: +- x11-themes/gnome-icon-theme +- x11-themes/tango-icon-theme + +Please notice the bundled flash player (PepperFlash). +You can (de)activate all flash plugins via chrome://plugins +" + +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 + + rm -r etc usr/share/menu || die + mv usr/share/doc/${MY_PN} usr/share/doc/${PF} || die + + pushd "${CHROME_HOME}/locales" > /dev/null || die + chromium_remove_language_paks + popd > /dev/null || die + + if use plugins ; then + local plugins="--extra-plugin-dir=/usr/$(get_libdir)/nsbrowser/plugins" + sed -e "/^exec/ i set -- \"${plugins}\" \"\$@\"" \ + -i "${CHROME_HOME}/${PN}" || die + fi + + local size + for size in 16 22 24 32 48 64 128 256 ; do + newicon -s ${size} "${CHROME_HOME}/product_logo_${size}.png" ${PN}.png + done + + pax-mark m "${CHROME_HOME}/chrome" + + readme.gentoo_create_doc +} + +pkg_preinst() { + gnome2_icon_savelist +} + +pkg_postrm() { + gnome2_icon_cache_update + xdg_desktop_database_update +} + +pkg_postinst() { + gnome2_icon_cache_update + xdg_desktop_database_update + readme.gentoo_print_elog +} diff --git a/www-client/google-chrome-unstable/metadata.xml b/www-client/google-chrome-unstable/metadata.xml new file mode 100644 index 000000000000..a3b5e75ac50c --- /dev/null +++ b/www-client/google-chrome-unstable/metadata.xml @@ -0,0 +1,19 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>floppym@gentoo.org</email> + <name>Mike Gilbert</name> + </maintainer> + <maintainer type="project"> + <email>chromium@gentoo.org</email> + <name>Chromium in Gentoo Project</name> + </maintainer> + <longdescription> + Google Chrome is a browser that combines a minimal design with + sophisticated technology to make the web faster, safer, and easier. + </longdescription> + <use> + <flag name="plugins">Add system plugins path to launcher</flag> + </use> +</pkgmetadata> |