summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2018-01-16 14:08:37 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2018-01-16 14:08:37 +0100
commit1bdb774af2f8e350f229e2b7f843bfb29b8a0669 (patch)
tree7afcb0221e64fb78249668c8e3b522213e183ffa /sci-chemistry
parentsci-chemistry/avogadro: 1.2.0_p20170207 version bump (diff)
downloadgentoo-1bdb774af2f8e350f229e2b7f843bfb29b8a0669.tar.gz
gentoo-1bdb774af2f8e350f229e2b7f843bfb29b8a0669.tar.bz2
gentoo-1bdb774af2f8e350f229e2b7f843bfb29b8a0669.zip
sci-chemistry/avogadro: Add xdg-utils
Package-Manager: Portage-2.3.19, Repoman-2.3.6
Diffstat (limited to 'sci-chemistry')
-rw-r--r--sci-chemistry/avogadro/avogadro-1.2.0_p20170207.ebuild12
1 files changed, 11 insertions, 1 deletions
diff --git a/sci-chemistry/avogadro/avogadro-1.2.0_p20170207.ebuild b/sci-chemistry/avogadro/avogadro-1.2.0_p20170207.ebuild
index e24622bdb62c..28d5724b0e50 100644
--- a/sci-chemistry/avogadro/avogadro-1.2.0_p20170207.ebuild
+++ b/sci-chemistry/avogadro/avogadro-1.2.0_p20170207.ebuild
@@ -5,7 +5,7 @@ EAPI=6
COMMIT=258105b4d8957e0245a341cdf1dc12c72234c833
PYTHON_COMPAT=( python2_7 )
-inherit cmake-utils flag-o-matic python-single-r1 vcs-snapshot
+inherit cmake-utils flag-o-matic python-single-r1 vcs-snapshot xdg-utils
DESCRIPTION="Advanced molecular editor that uses Qt4 and OpenGL"
HOMEPAGE="http://avogadro.openmolecules.net/"
@@ -78,3 +78,13 @@ src_configure() {
QT_MKSPECS_RELATIVE=share/qt4/mkspecs cmake-utils_src_configure
}
+
+pkg_postinst() {
+ xdg_mimeinfo_database_update
+ xdg_desktop_database_update
+}
+
+pkg_postrm() {
+ xdg_mimeinfo_database_update
+ xdg_desktop_database_update
+}