commit:     1be71cfbc7c47da6b7d74e38b75bcd2bcad20caf
Author:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Thu Jul 14 16:46:00 2016 +0000
Commit:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Thu Jul 14 16:46:00 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1be71cfb

www-client/google-chrome-beta: convert to chromium-2 eclass

Package-Manager: portage-2.3.0_p11

 .../google-chrome-beta-52.0.2743.75.ebuild             | 18 ++++++++++++------
 www-client/google-chrome-beta/metadata.xml             |  1 -
 2 files changed, 12 insertions(+), 7 deletions(-)

diff --git 
a/www-client/google-chrome-beta/google-chrome-beta-52.0.2743.75.ebuild 
b/www-client/google-chrome-beta/google-chrome-beta-52.0.2743.75.ebuild
index 759c056..733359b 100644
--- a/www-client/google-chrome-beta/google-chrome-beta-52.0.2743.75.ebuild
+++ b/www-client/google-chrome-beta/google-chrome-beta-52.0.2743.75.ebuild
@@ -4,11 +4,11 @@
 
 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 fake_bidi"
+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 eutils pax-utils unpacker
+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";
@@ -127,6 +127,7 @@ src_install() {
 
        insinto /
        doins -r opt usr
+       dosym "/${CHROME_HOME}/${PN}" "/usr/bin/${PN}"
 
        find "${ED}" -type d -empty -delete || die
        chmod 755 
"${ED}${CHROME_HOME}"/{chrome,${PN},nacl_helper{,_bootstrap},xdg-{mime,settings}}
 || die
@@ -137,11 +138,16 @@ src_install() {
 }
 
 pkg_preinst() {
-       chromium_pkg_preinst
+       gnome2_icon_savelist
+}
+
+pkg_postrm() {
+       gnome2_icon_cache_update
+       xdg_desktop_database_update
 }
 
 pkg_postinst() {
-       fdo-mime_desktop_database_update
        gnome2_icon_cache_update
+       xdg_desktop_database_update
        readme.gentoo_print_elog
 }

diff --git a/www-client/google-chrome-beta/metadata.xml 
b/www-client/google-chrome-beta/metadata.xml
index 5870a76..ca28e10 100644
--- a/www-client/google-chrome-beta/metadata.xml
+++ b/www-client/google-chrome-beta/metadata.xml
@@ -18,7 +18,6 @@
                sophisticated technology to make the web faster, safer, and 
easier.
        </longdescription>
        <use>
-               <flag name="linguas_fake_bidi">Install fake-bidi 
translation</flag>
                <flag name="plugins">Add system plugins path to launcher</flag>
        </use>
 </pkgmetadata>

Reply via email to