summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-misc/metromap/metromap-0.1.4-r1.ebuild')
-rw-r--r--app-misc/metromap/metromap-0.1.4-r1.ebuild19
1 files changed, 17 insertions, 2 deletions
diff --git a/app-misc/metromap/metromap-0.1.4-r1.ebuild b/app-misc/metromap/metromap-0.1.4-r1.ebuild
index 3b4a4cf7bec5..30288d179737 100644
--- a/app-misc/metromap/metromap-0.1.4-r1.ebuild
+++ b/app-misc/metromap/metromap-0.1.4-r1.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/metromap/metromap-0.1.4-r1.ebuild,v 1.2 2013/05/31 15:06:33 maksbotan Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/metromap/metromap-0.1.4-r1.ebuild,v 1.3 2014/04/08 17:20:12 maksbotan Exp $
EAPI="5"
@@ -20,6 +20,7 @@ IUSE=""
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
RDEPEND="${PYTHON_DEPS}
+ dev-python/pygobject:2[${PYTHON_USEDEP}]
>=dev-python/pygtk-2.8:2[${PYTHON_USEDEP}]
"
DEPEND="${RDEPEND}"
@@ -35,3 +36,17 @@ src_install() {
emake DESTDIR="${ED}"/usr install
python_optimize "${ED}"/usr/share/metromap/modules/
}
+
+pkg_preinst() {
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ fdo-mime_desktop_database_update
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ fdo-mime_desktop_database_update
+ gnome2_icon_cache_update
+}