summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'x11-misc/nitrogen/nitrogen-1.6.0.ebuild')
-rw-r--r--x11-misc/nitrogen/nitrogen-1.6.0.ebuild12
1 files changed, 11 insertions, 1 deletions
diff --git a/x11-misc/nitrogen/nitrogen-1.6.0.ebuild b/x11-misc/nitrogen/nitrogen-1.6.0.ebuild
index ef9b9eba61f..c01c0bc04cc 100644
--- a/x11-misc/nitrogen/nitrogen-1.6.0.ebuild
+++ b/x11-misc/nitrogen/nitrogen-1.6.0.ebuild
@@ -3,7 +3,7 @@
# $Id$
EAPI=6
-inherit autotools flag-o-matic
+inherit autotools fdo-mime flag-o-matic
DESCRIPTION="A background browser and setter for X"
HOMEPAGE="http://projects.l3ib.org/nitrogen/"
@@ -30,6 +30,8 @@ DEPEND="
src_prepare() {
default
+ sed -i -e '/^UPDATE_DESKTOP/s#=.*#= :#g' data/Makefile.am || die
+
eautoreconf
}
@@ -39,3 +41,11 @@ src_configure() {
$(use_enable nls) \
$(use_enable xinerama)
}
+
+pkg_postinst() {
+ fdo-mime_desktop_database_update
+}
+
+pkg_postrm() {
+ fdo-mime_desktop_database_update
+}