From c9b3c6c0a2c71bad5d9777630c5b8b97f75b8b2c Mon Sep 17 00:00:00 2001 From: Mike Gilbert Date: Mon, 12 Nov 2018 11:03:27 -0500 Subject: www-client/google-chrome: unify stable/beta/unstable ebuilds Signed-off-by: Mike Gilbert --- .../google-chrome-beta/google-chrome-beta-71.0.3578.44.ebuild | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'www-client/google-chrome-beta') 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" -- cgit v1.2.3-65-gdbad