Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 203365 Details for
Bug 272805
www-client/google-chrome (new ebuild) (was www-client/google-chrome-bin)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
www-client/google-chrome-bin-4.0.206.0-r25285.ebuild
google-chrome-bin-4.0.206.0-r25285.ebuild (text/plain), 2.96 KB, created by
coderoar
on 2009-09-07 12:21:12 UTC
(
hide
)
Description:
www-client/google-chrome-bin-4.0.206.0-r25285.ebuild
Filename:
MIME Type:
Creator:
coderoar
Created:
2009-09-07 12:21:12 UTC
Size:
2.96 KB
patch
obsolete
># Copyright 1999-2009 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >EAPI="2" > >inherit eutils toolchain-funcs versionator > >MY_PN="${PN%-bin}-unstable" >MY_P="${MY_PN}_${PVR}" >SRC_BASE="http://dl.google.com/linux/deb/pool/main/${MY_PN:0:1}/${MY_PN}/" >DESCRIPTION="A browser that combines a minimal design with sophisticated technology" >HOMEPAGE="http://www.google.com/chrome" >SRC_URI=" > x86? ( ${SRC_BASE}${MY_P}_i386.deb ) > amd64? ( ${SRC_BASE}${MY_P}_amd64.deb )" > >LICENSE="BSD" >SLOT="0" >KEYWORDS="~amd64 ~x86" >IUSE="" > >DEPEND="app-arch/lzma-utils" >RDEPEND=">=sys-devel/gcc-4.2[-nocxx] > || ( media-fonts/liberation-fonts media-fonts/corefonts ) > dev-libs/atk > x11-libs/cairo > media-libs/fontconfig > media-libs/freetype > dev-libs/glib:2 > x11-libs/gtk+:2 > dev-libs/nspr > dev-libs/nss > x11-libs/pango > x11-misc/xdg-utils" > >RESTRICT="primaryuri" > >QA_PRESTRIPPED=" > opt/google/chrome/chrome > opt/google/chrome/chrome-sandbox" > >CHROME_HOME="/opt/google/chrome" > >pkg_nofetch() { > elog "Please download" > for i in ${A}; do > [[ ${i} = ${MY_PN}_* ]] && elog "${SRC_BASE}${i}" > done > elog "and save to ${DISTDIR}" >} > >src_unpack() { > for i in ${A}; do > unpack ${i} > if [[ ${i} = *.deb ]]; then > if [[ -e "${WORKDIR}"/data.tar.lzma ]]; then > mv "${WORKDIR}"/data.tar.lzma "${WORKDIR}"/${i%%_*}.tar.lzma > elif [[ -e "${WORKDIR}"/data.tar.gz ]]; then > mv "${WORKDIR}"/data.tar.gz "${WORKDIR}"/${i%%_*}.tar.gz > else > die "Can't find data from ${i}" > fi > fi > done >} > >src_install() { > cd "${D}" > > lzma -cd "${WORKDIR}"/${MY_PN}.tar.lzma | tar xvf - || die "Couldn't extract" > rm -r "${D}"/{etc,usr/bin/google-chrome} > > sed -i "s|Exec=${CHROME_HOME//\//\\/}\/|Exec=|g" "${D}"${CHROME_HOME}/${PN%-bin}.desktop > domenu "${D}"${CHROME_HOME}/${PN%-bin}.desktop > rm "${D}"${CHROME_HOME}/${PN%-bin}.desktop > > for i in nss/lib{nss{,util},smime,ssl}3.so.1d \ > nspr/lib{pl{ds,c},nspr}4.so.0d ; do > dosym ../../../../usr/$(get_libdir)/${i%.*} \ > ${CHROME_HOME}/${i##*/} > done > > cat <<EOF >"${D}"/usr/bin/google-chrome >#!/bin/sh >exec ${CHROME_HOME}/google-chrome \ > --enable-plugins \ > --enable-greasemonkey \ > --enable-user-scripts \ > --enable-extensions "\$@" >EOF > fperms 0755 /usr/bin/google-chrome > > dosym /usr/$(get_libdir)/nsbrowser/plugins ${CHROME_HOME}/plugins >} > >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 is only available for Debian-based" > elog "distributions, and has been disabled." > 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 >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 272805
:
193642
|
193775
|
194211
|
194580
|
195116
|
196328
|
200621
|
201732
|
201886
|
202637
|
203365
|
204067
|
204555
|
205192
|
205253
|
205893
|
206930
|
209314
|
215424
|
216155
|
219913
|
221707
|
221893
|
233073
|
233885
|
233893
|
233907
|
233911
|
233923
|
234013
|
234047
|
234051
|
234059
|
234065
|
234067
|
234607
|
234795
|
235913
|
240383
|
241945
|
246806