summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2011-12-05 22:03:41 +0000
committerLars Wendler <polynomial-c@gentoo.org>2011-12-05 22:03:41 +0000
commit6fbfa24eac07e16ed7dc3829433ace38fd9ab696 (patch)
tree64ace423667869f5be744abf26885f99a042e182 /www-client/firefox-bin
parentEbuild improvements (diff)
downloadgentoo-2-6fbfa24eac07e16ed7dc3829433ace38fd9ab696.tar.gz
gentoo-2-6fbfa24eac07e16ed7dc3829433ace38fd9ab696.tar.bz2
gentoo-2-6fbfa24eac07e16ed7dc3829433ace38fd9ab696.zip
Ebuild improvements
(Portage version: 2.2.0_alpha79/cvs/Linux x86_64)
Diffstat (limited to 'www-client/firefox-bin')
-rw-r--r--www-client/firefox-bin/ChangeLog5
-rw-r--r--www-client/firefox-bin/firefox-bin-8.0.ebuild13
2 files changed, 15 insertions, 3 deletions
diff --git a/www-client/firefox-bin/ChangeLog b/www-client/firefox-bin/ChangeLog
index fbabf7eb06f9..03bba5ada05a 100644
--- a/www-client/firefox-bin/ChangeLog
+++ b/www-client/firefox-bin/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for www-client/firefox-bin
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-client/firefox-bin/ChangeLog,v 1.73 2011/11/29 22:51:59 chainsaw Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-client/firefox-bin/ChangeLog,v 1.74 2011/12/05 22:03:41 polynomial-c Exp $
+
+ 05 Dec 2011; Lars Wendler <polynomial-c@gentoo.org> firefox-bin-8.0.ebuild:
+ Ebuild improvements.
29 Nov 2011; Tony Vroon <chainsaw@gentoo.org> firefox-bin-8.0.ebuild:
Marked stable on AMD64 based on arch testing by Agostino "ago" Sarubbo,
diff --git a/www-client/firefox-bin/firefox-bin-8.0.ebuild b/www-client/firefox-bin/firefox-bin-8.0.ebuild
index 23940105930d..f38fffba98c3 100644
--- a/www-client/firefox-bin/firefox-bin-8.0.ebuild
+++ b/www-client/firefox-bin/firefox-bin-8.0.ebuild
@@ -1,10 +1,10 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-client/firefox-bin/firefox-bin-8.0.ebuild,v 1.3 2011/11/29 22:51:59 chainsaw Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-client/firefox-bin/firefox-bin-8.0.ebuild,v 1.4 2011/12/05 22:03:41 polynomial-c Exp $
EAPI="3"
-inherit eutils mozilla-launcher multilib mozextension pax-utils
+inherit eutils mozilla-launcher multilib mozextension pax-utils fdo-mime gnome2-utils
# Can be updated using scripts/get_langs.sh from mozilla overlay
LANGS=(af ak ar ast be bg bn-BD bn-IN br bs ca cs cy da de el en en-GB en-US
@@ -154,6 +154,10 @@ src_install() {
pax-mark m "${ED}"/${MOZILLA_FIVE_HOME}/{firefox,firefox-bin,plugin-container}
}
+pkg_preinst() {
+ gnome2_icon_savelist
+}
+
pkg_postinst() {
if ! has_version 'gnome-base/gconf' || ! has_version 'gnome-base/orbit' \
|| ! has_version 'net-misc/curl'; then
@@ -168,8 +172,13 @@ pkg_postinst() {
einfo "if you have curl emerged with the nss USE-flag"
einfo
fi
+
+ # Update mimedb for the new .desktop file
+ fdo-mime_desktop_database_update
+ gnome2_icon_cache_update
}
pkg_postrm() {
update_mozilla_launcher_symlinks
+ gnome2_icon_cache_update
}