From: "Michael Weber" <xmw@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] dev/xmw:master commit in: www-client/google-chrome/
Date: Mon, 2 May 2011 10:25:03 +0000 (UTC) [thread overview]
Message-ID: <151e09548f5391a9d74f65d0635451c1df05ba5d.xmw@gentoo> (raw)
commit: 151e09548f5391a9d74f65d0635451c1df05ba5d
Author: Michael Weber <xmw <AT> gentoo <DOT> org>
AuthorDate: Mon May 2 10:24:52 2011 +0000
Commit: Michael Weber <xmw <AT> gentoo <DOT> org>
CommitDate: Mon May 2 10:24:52 2011 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=dev/xmw.git;a=commit;h=151e0954
www-client/google-chrome: initial import
(Portage version: 2.1.9.42/git/Linux x86_64, signed Manifest commit with key 62EEF090)
---
www-client/google-chrome/ChangeLog | 12 ++
www-client/google-chrome/Manifest | 18 +++
.../google-chrome-11.0.696.57-r82915.ebuild | 148 ++++++++++++++++++++
.../google-chrome-12.0.742.12-r83281.ebuild | 148 ++++++++++++++++++++
www-client/google-chrome/metadata.xml | 14 ++
5 files changed, 340 insertions(+), 0 deletions(-)
diff --git a/www-client/google-chrome/ChangeLog b/www-client/google-chrome/ChangeLog
new file mode 100644
index 0000000..fa2a8fe
--- /dev/null
+++ b/www-client/google-chrome/ChangeLog
@@ -0,0 +1,12 @@
+# ChangeLog for www-client/google-chrome
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+*google-chrome-12.0.742.12-r83281 (02 May 2011)
+*google-chrome-11.0.696.57-r82915 (02 May 2011)
+
+ 02 May 2011; Michael Weber <xmw@gentoo.org>
+ +google-chrome-11.0.696.57-r82915.ebuild,
+ +google-chrome-12.0.742.12-r83281.ebuild, +metadata.xml:
+ Initial import, bug 272805
+
diff --git a/www-client/google-chrome/Manifest b/www-client/google-chrome/Manifest
new file mode 100644
index 0000000..a495397
--- /dev/null
+++ b/www-client/google-chrome/Manifest
@@ -0,0 +1,18 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
+DIST google-chrome-stable_11.0.696.57-r82915_amd64.deb 22087914 RMD160 d65c999ec6b8852d6576aa0741c63374a52722a8 SHA1 90f56bea4ebad12063cd6e6e50a31175bb4a0d68 SHA256 d7cd3d7afaece835584ad1e22ed6827e5bd4cc509d714d616b9a901e0cf87286
+DIST google-chrome-stable_11.0.696.57-r82915_i386.deb 24076114 RMD160 750ba9f1bd4b3c953b552b75d55160f72e268770 SHA1 b9b53c1205a99799ec4f975a04387bcfab9b4a61 SHA256 5fc29151fdd474313dc718847a0be164512ec1d04763faf400e732755914022f
+DIST google-chrome-unstable_12.0.742.12-r83281_amd64.deb 22366400 RMD160 874578dd268d9bd661083f992519017cab7c9896 SHA1 312e2b6c2d640603f759c5e8887e7c12058373be SHA256 85325b7f74805d33fca7326fb5d625aad1aad62b9eb45e10c1ec952b61cdc700
+DIST google-chrome-unstable_12.0.742.12-r83281_i386.deb 24490370 RMD160 083b12e1bd7a2edbb0810239db397566e13bfb99 SHA1 9ad116b9b557fc39ea9948d8e7c67dd584e6623e SHA256 85fa62ba934615eede75f39d50779a5c131080246620156ab000e05da2446d6d
+EBUILD google-chrome-11.0.696.57-r82915.ebuild 3969 RMD160 ccabd8f10c0cb49a785c7f5c3ea25ab46f9e5d09 SHA1 6ad92669969e59d0feeba100d62a5817931a8b51 SHA256 4f53a34c331f26287ba491d6db9b13b4c161aad45f09158b871211acffc2e1bd
+EBUILD google-chrome-12.0.742.12-r83281.ebuild 3971 RMD160 c393dac910ab1716ab8f87b47a5ce189823126e7 SHA1 8fc1011d8df1bd448af66ac8a1fb5ab472dd6c1b SHA256 bcefc90212bbbf66df16c49ca834ca3020bbb84ef57b87c30dc7089f2795d1d3
+MISC ChangeLog 401 RMD160 c8118b5193be1e2951f0ce9c47f91fe4686451cb SHA1 b771fb4b9e6eaf0ad72b815bf7d1a61eefd97cec SHA256 c34396f1adb3bbe5868185e50989d5d302c553e15ef2c5142b850e415af66a24
+MISC metadata.xml 387 RMD160 b870f41ac98357b111248d1590451abae2338919 SHA1 0d5ba4a953cd9432fa10bafbf633dc9e043b4455 SHA256 369912f6c33361210b8e413da0c6fce05c9c511a5825ef71f68de86d46aa2bad
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.17 (GNU/Linux)
+
+iF4EAREIAAYFAk2+hnQACgkQknrdDGLu8JDBRwD+KPYDkmGa9n8LpdeOYVMWO211
+v12URKAeoAWnhCy4InwA/3zRbl4cC6SYWu+t5o0U1YMOgQLyO9Z7Cjg9OVvJTxMc
+=1W5m
+-----END PGP SIGNATURE-----
diff --git a/www-client/google-chrome/google-chrome-11.0.696.57-r82915.ebuild b/www-client/google-chrome/google-chrome-11.0.696.57-r82915.ebuild
new file mode 100644
index 0000000..4ea5bec
--- /dev/null
+++ b/www-client/google-chrome/google-chrome-11.0.696.57-r82915.ebuild
@@ -0,0 +1,148 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="2"
+inherit eutils toolchain-funcs versionator
+
+# Latest revision can be found at
+# wget -qO- http://dl.google.com/linux/chrome/deb/dists/stable/main/binary-amd64/Packages|grep Filename
+
+CHAN="stable"
+MY_P="${PN}-${CHAN}_${PVR}"
+
+KEYWORDS="~amd64 ~x86"
+
+DESCRIPTION="A browser that combines a minimal design with sophisticated technology (binary only)"
+HOMEPAGE="http://www.google.com/chrome"
+
+SRC_BASE="http://dl.google.com/linux/chrome/deb/pool/main/${PN:0:1}/${PN}-${CHAN}/"
+SRC_URI="amd64? ( ${SRC_BASE}${MY_P}_amd64.deb )
+ x86? ( ${SRC_BASE}${MY_P}_i386.deb )"
+
+LICENSE="BSD"
+SLOT="0"
+IUSE="+suid +plugins-symlink"
+
+LANGS="am ar bg bn ca cs da de el en_GB en_US es_419 es et fil fi fr gu he hi hr
+ hu id it ja kn ko lt lv ml mr nb nl pl pt_BR pt_PT ro ru sk sl sr sv sw ta te th
+ tr uk vi zh_CN zh_TW"
+
+for l in ${LANGS} ; do
+ IUSE="${IUSE} linguas_${l}"
+done
+
+DEPEND="|| (
+ app-arch/xz-utils
+ app-arch/lzma-utils
+ )
+ !~app-arch/deb2targz-1
+ !www-client/google-chrome-bin"
+RDEPEND="app-misc/ca-certificates
+ dev-libs/atk
+ dev-libs/dbus-glib
+ dev-libs/expat
+ dev-libs/glib:2
+ >=dev-libs/nspr-4.7
+ >=dev-libs/nss-3.12.3
+ gnome-base/gconf:2
+ || (
+ media-fonts/liberation-fonts
+ media-fonts/corefonts
+ )
+ media-libs/alsa-lib
+ media-libs/fontconfig
+ media-libs/freetype:2
+ <media-libs/jpeg-7
+ =media-libs/libpng-1.2*
+ sys-apps/dbus
+ >=sys-devel/gcc-4.2[-nocxx]
+ >=sys-libs/glibc-2.6
+ x11-libs/cairo
+ x11-libs/gtk+:2
+ x11-libs/libX11
+ x11-libs/libXext
+ x11-libs/libXrender
+ x11-libs/libXScrnSaver
+ x11-libs/pango
+ x11-misc/xdg-utils
+"
+
+# Incompatible system plugins:
+# www-plugins/gecko-mediaplayer, bug #309231.
+RDEPEND+="plugins-symlink? (
+ !www-plugins/gecko-mediaplayer[gnome]
+ )"
+
+RESTRICT="primaryuri strip"
+
+QA_EXECSTACK="opt/google/chrome/chrome"
+QA_PRESTRIPPED="opt/google/chrome/chrome
+ opt/google/chrome/chrome-sandbox
+ opt/google/chrome/libffmpegsumo.so
+ opt/google/chrome/libgcflashplayer.so"
+
+QA_TEXTRELS="opt/google/chrome/libffmpegsumo.so"
+
+src_unpack() {
+ unpack ${A}
+ unpack ./data.tar.lzma
+}
+
+src_install() {
+ local CHROME_HOME="/opt/google/chrome"
+ local nss_subdir=$(has_version ">=dev-libs/nss-3.12.5-r1" || echo nss/)
+ local nspr_subdir=$(has_version ">=dev-libs/nspr-4.8.3-r3" || echo nspr/)
+
+ mv "${WORKDIR}"/{opt,usr} "${D}" || die
+
+ if use suid; then
+ fperms 4755 "${CHROME_HOME}"/chrome-sandbox
+ else
+ rm "${D}${CHROME_HOME}"/chrome-sandbox
+ fi
+
+ for i in ${nss_subdir}lib{nss{,util},smime,ssl}3.so.1d \
+ ${nspr_subdir}lib{pl{ds,c},nspr}4.so.0d ; do
+ dosym /usr/$(get_libdir)/${i%.*} \
+ ${CHROME_HOME}/${i##*/}
+ done
+
+ domenu "${D}${CHROME_HOME}/${PN}.desktop"
+ rm "${D}${CHROME_HOME}/${PN}.desktop"
+
+ # Copy icon into system-wide location
+ newicon "${D}${CHROME_HOME}/product_logo_256.png" "${PN}.png" || die "newicon failed"
+
+ # Plugins symlink, optional wrt bug #301911
+ if use plugins-symlink; then
+ dosym "/usr/$(get_libdir)/nsbrowser/plugins" "${CHROME_HOME}/plugins"
+ fi
+
+ # Only remove unwanted locales if LINGUAS is set.
+ if ! [[ -z ${LINGUAS} ]] ; then
+ for l in ${LANGS} ; do
+ if ! use linguas_${l} ; then
+ rm "${D}"${CHROME_HOME}/locales/${l/_/-}.pak || die
+ fi
+ done
+ fi
+}
+
+pkg_postinst() {
+ elog "This Chrome binary package is from the developer preview channel. It is"
+ elog "not guaranteed to be stable or even usable."
+ elog ""
+ elog "Chrome's auto-update mechanism has been disabled."
+ elog "It is only available for Debian and RPM based distributions."
+ elog ""
+ elog "Please see"
+ elog " http://dev.chromium.org/for-testers/bug-reporting-guidlines-for-the-mac-linux-builds"
+ elog "before filing any bugs."
+ if ! version_is_at_least 4.2 "$(gcc-version)" || [[ -z $(tc-getCXX) ]]; then
+ einfo ""
+ ewarn "This Chrome binary package depends on C++ libraries from >=sys-devel/gcc-4.2,"
+ ewarn "which do not appear to be available. Google Chrome may not run."
+ ebeep
+ fi
+}
diff --git a/www-client/google-chrome/google-chrome-12.0.742.12-r83281.ebuild b/www-client/google-chrome/google-chrome-12.0.742.12-r83281.ebuild
new file mode 100644
index 0000000..1eb6f59
--- /dev/null
+++ b/www-client/google-chrome/google-chrome-12.0.742.12-r83281.ebuild
@@ -0,0 +1,148 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="2"
+inherit eutils toolchain-funcs versionator
+
+# Latest revision can be found at
+# wget -qO- http://dl.google.com/linux/chrome/deb/dists/stable/main/binary-amd64/Packages|grep Filename
+
+CHAN="unstable"
+MY_P="${PN}-${CHAN}_${PVR}"
+
+KEYWORDS="~amd64 ~x86"
+
+DESCRIPTION="A browser that combines a minimal design with sophisticated technology (binary only)"
+HOMEPAGE="http://www.google.com/chrome"
+
+SRC_BASE="http://dl.google.com/linux/chrome/deb/pool/main/${PN:0:1}/${PN}-${CHAN}/"
+SRC_URI="amd64? ( ${SRC_BASE}${MY_P}_amd64.deb )
+ x86? ( ${SRC_BASE}${MY_P}_i386.deb )"
+
+LICENSE="BSD"
+SLOT="0"
+IUSE="+suid +plugins-symlink"
+
+LANGS="am ar bg bn ca cs da de el en_GB en_US es_419 es et fil fi fr gu he hi hr
+ hu id it ja kn ko lt lv ml mr nb nl pl pt_BR pt_PT ro ru sk sl sr sv sw ta te th
+ tr uk vi zh_CN zh_TW"
+
+for l in ${LANGS} ; do
+ IUSE="${IUSE} linguas_${l}"
+done
+
+DEPEND="|| (
+ app-arch/xz-utils
+ app-arch/lzma-utils
+ )
+ !~app-arch/deb2targz-1
+ !www-client/google-chrome-bin"
+RDEPEND="app-misc/ca-certificates
+ dev-libs/atk
+ dev-libs/dbus-glib
+ dev-libs/expat
+ dev-libs/glib:2
+ >=dev-libs/nspr-4.7
+ >=dev-libs/nss-3.12.3
+ gnome-base/gconf:2
+ || (
+ media-fonts/liberation-fonts
+ media-fonts/corefonts
+ )
+ media-libs/alsa-lib
+ media-libs/fontconfig
+ media-libs/freetype:2
+ <media-libs/jpeg-7
+ =media-libs/libpng-1.2*
+ sys-apps/dbus
+ >=sys-devel/gcc-4.2[-nocxx]
+ >=sys-libs/glibc-2.6
+ x11-libs/cairo
+ x11-libs/gtk+:2
+ x11-libs/libX11
+ x11-libs/libXext
+ x11-libs/libXrender
+ x11-libs/libXScrnSaver
+ x11-libs/pango
+ x11-misc/xdg-utils
+"
+
+# Incompatible system plugins:
+# www-plugins/gecko-mediaplayer, bug #309231.
+RDEPEND+="plugins-symlink? (
+ !www-plugins/gecko-mediaplayer[gnome]
+ )"
+
+RESTRICT="primaryuri strip"
+
+QA_EXECSTACK="opt/google/chrome/chrome"
+QA_PRESTRIPPED="opt/google/chrome/chrome
+ opt/google/chrome/chrome-sandbox
+ opt/google/chrome/libffmpegsumo.so
+ opt/google/chrome/libgcflashplayer.so"
+
+QA_TEXTRELS="opt/google/chrome/libffmpegsumo.so"
+
+src_unpack() {
+ unpack ${A}
+ unpack ./data.tar.lzma
+}
+
+src_install() {
+ local CHROME_HOME="/opt/google/chrome"
+ local nss_subdir=$(has_version ">=dev-libs/nss-3.12.5-r1" || echo nss/)
+ local nspr_subdir=$(has_version ">=dev-libs/nspr-4.8.3-r3" || echo nspr/)
+
+ mv "${WORKDIR}"/{opt,usr} "${D}" || die
+
+ if use suid; then
+ fperms 4755 "${CHROME_HOME}"/chrome-sandbox
+ else
+ rm "${D}${CHROME_HOME}"/chrome-sandbox
+ fi
+
+ for i in ${nss_subdir}lib{nss{,util},smime,ssl}3.so.1d \
+ ${nspr_subdir}lib{pl{ds,c},nspr}4.so.0d ; do
+ dosym /usr/$(get_libdir)/${i%.*} \
+ ${CHROME_HOME}/${i##*/}
+ done
+
+ domenu "${D}${CHROME_HOME}/${PN}.desktop"
+ rm "${D}${CHROME_HOME}/${PN}.desktop"
+
+ # Copy icon into system-wide location
+ newicon "${D}${CHROME_HOME}/product_logo_256.png" "${PN}.png" || die "newicon failed"
+
+ # Plugins symlink, optional wrt bug #301911
+ if use plugins-symlink; then
+ dosym "/usr/$(get_libdir)/nsbrowser/plugins" "${CHROME_HOME}/plugins"
+ fi
+
+ # Only remove unwanted locales if LINGUAS is set.
+ if ! [[ -z ${LINGUAS} ]] ; then
+ for l in ${LANGS} ; do
+ if ! use linguas_${l} ; then
+ rm "${D}"${CHROME_HOME}/locales/${l/_/-}.pak || die
+ fi
+ done
+ fi
+}
+
+pkg_postinst() {
+ elog "This Chrome binary package is from the developer preview channel. It is"
+ elog "not guaranteed to be stable or even usable."
+ elog ""
+ elog "Chrome's auto-update mechanism has been disabled."
+ elog "It is only available for Debian and RPM based distributions."
+ elog ""
+ elog "Please see"
+ elog " http://dev.chromium.org/for-testers/bug-reporting-guidlines-for-the-mac-linux-builds"
+ elog "before filing any bugs."
+ if ! version_is_at_least 4.2 "$(gcc-version)" || [[ -z $(tc-getCXX) ]]; then
+ einfo ""
+ ewarn "This Chrome binary package depends on C++ libraries from >=sys-devel/gcc-4.2,"
+ ewarn "which do not appear to be available. Google Chrome may not run."
+ ebeep
+ fi
+}
diff --git a/www-client/google-chrome/metadata.xml b/www-client/google-chrome/metadata.xml
new file mode 100644
index 0000000..ff21576
--- /dev/null
+++ b/www-client/google-chrome/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>no-herd</herd>
+<maintainer>
+<email>maintainer-wanted@gentoo.org</email>
+</maintainer>
+<use>
+<flag name="linguas_es_419">esperanto</flag>
+<flag name="linguas_fil">language fil</flag>
+<flag name="plugins-symlink">symlink plugins</flag>
+</use>
+</pkgmetadata>
+
next reply other threads:[~2011-05-02 10:25 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-02 10:25 Michael Weber [this message]
-- strict thread matches above, loose matches on Subject: below --
2011-05-03 21:17 [gentoo-commits] dev/xmw:master commit in: www-client/google-chrome/ Michael Weber
2011-05-06 7:30 Michael Weber
2011-05-08 17:11 Michael Weber
2011-05-09 21:29 Michael Weber
2011-05-10 9:25 Michael Weber
2011-05-14 1:31 Michael Weber
2011-05-18 7:01 Michael Weber
2011-05-27 11:50 Michael Weber
2011-06-02 19:50 Michael Weber
2011-06-06 10:20 Michael Weber
2011-06-11 16:52 Michael Weber
2011-06-27 21:58 Michael Weber
2011-06-28 1:59 Michael Weber
2011-06-29 17:02 Michael Weber
2011-07-12 23:08 Michael Weber
2011-07-26 23:28 Michael Weber
2011-07-28 23:04 Michael Weber
2011-07-31 13:08 Michael Weber
2011-08-03 15:21 Michael Weber
2011-08-06 23:56 Michael Weber
2011-08-11 22:05 Michael Weber
2011-08-14 0:20 Michael Weber
2011-08-22 21:23 Michael Weber
2011-08-27 20:48 Michael Weber
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=151e09548f5391a9d74f65d0635451c1df05ba5d.xmw@gentoo \
--to=xmw@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox