summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2018-11-12 11:03:27 -0500
committerMike Gilbert <floppym@gentoo.org>2018-11-12 16:18:16 -0500
commitc9b3c6c0a2c71bad5d9777630c5b8b97f75b8b2c (patch)
treebeb99db8e4b1b834c96eef50564b5199d468f52a /www-client/google-chrome-beta
parentjava-utils-2.eclass: Drop sys-apps/portage build dependency (diff)
downloadgentoo-c9b3c6c0a2c71bad5d9777630c5b8b97f75b8b2c.tar.gz
gentoo-c9b3c6c0a2c71bad5d9777630c5b8b97f75b8b2c.tar.bz2
gentoo-c9b3c6c0a2c71bad5d9777630c5b8b97f75b8b2c.zip
www-client/google-chrome: unify stable/beta/unstable ebuilds
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
Diffstat (limited to 'www-client/google-chrome-beta')
-rw-r--r--www-client/google-chrome-beta/google-chrome-beta-71.0.3578.44.ebuild10
1 files changed, 7 insertions, 3 deletions
diff --git a/www-client/google-chrome-beta/google-chrome-beta-71.0.3578.44.ebuild b/www-client/google-chrome-beta/google-chrome-beta-71.0.3578.44.ebuild
index 3a03ee42c9b5..88e80e216eba 100644
--- a/www-client/google-chrome-beta/google-chrome-beta-71.0.3578.44.ebuild
+++ b/www-client/google-chrome-beta/google-chrome-beta-71.0.3578.44.ebuild
@@ -13,8 +13,10 @@ DESCRIPTION="The web browser from Google"
HOMEPAGE="https://www.google.com/chrome"
if [[ ${PN} == google-chrome ]]; then
+ KEYWORDS="-* amd64"
MY_PN=${PN}-stable
else
+ KEYWORDS="-* ~amd64"
MY_PN=${PN}
fi
@@ -24,7 +26,6 @@ SRC_URI="https://dl.google.com/linux/chrome/deb/pool/main/g/${MY_PN}/${MY_P}_amd
LICENSE="google-chrome"
SLOT="0"
-KEYWORDS="-* ~amd64"
IUSE="+plugins"
RESTRICT="bindist mirror strip"
@@ -38,7 +39,6 @@ RDEPEND="
dev-libs/glib:2
dev-libs/nspr
>=dev-libs/nss-3.26
- gnome-base/gconf:2
media-libs/alsa-lib
media-libs/fontconfig
media-libs/freetype:2
@@ -104,9 +104,13 @@ src_install() {
-i "${CHROME_HOME}/${PN}" || die
fi
+ local suffix=
+ [[ ${PN} == google-chrome-beta ]] && suffix=_beta
+ [[ ${PN} == google-chrome-unstable ]] && suffix=_dev
+
local size
for size in 16 22 24 32 48 64 128 256 ; do
- newicon -s ${size} "${CHROME_HOME}/product_logo_${size}_beta.png" ${PN}.png
+ newicon -s ${size} "${CHROME_HOME}/product_logo_${size}${suffix}.png" ${PN}.png
done
pax-mark m "${CHROME_HOME}/chrome"