summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakov Smolic <jakov.smolic@sartura.hr>2020-11-14 22:47:00 +0100
committerDavid Seifert <soap@gentoo.org>2020-11-14 22:47:00 +0100
commit60f1ad733a8bc66c792d1db101a4046e08666f24 (patch)
tree4ad70e70a268f731c0dd0b485676e367cfb94fc3 /app-misc/xmind/xmind-3.7.6_p201801311814.ebuild
parentapp-misc/ranger: update desktop mimeinfo cache (diff)
downloadgentoo-60f1ad733a8bc66c792d1db101a4046e08666f24.tar.gz
gentoo-60f1ad733a8bc66c792d1db101a4046e08666f24.tar.bz2
gentoo-60f1ad733a8bc66c792d1db101a4046e08666f24.zip
app-misc/xmind: inherit xdg.eclass and optfeature.eclass
Closes: https://bugs.gentoo.org/734254 Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr> Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'app-misc/xmind/xmind-3.7.6_p201801311814.ebuild')
-rw-r--r--app-misc/xmind/xmind-3.7.6_p201801311814.ebuild16
1 files changed, 4 insertions, 12 deletions
diff --git a/app-misc/xmind/xmind-3.7.6_p201801311814.ebuild b/app-misc/xmind/xmind-3.7.6_p201801311814.ebuild
index 03ce175e13f3..67866d5575d9 100644
--- a/app-misc/xmind/xmind-3.7.6_p201801311814.ebuild
+++ b/app-misc/xmind/xmind-3.7.6_p201801311814.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
-inherit desktop font gnome2-utils
+inherit desktop font optfeature xdg
MY_PV="8-update7"
MY_P="${PN}-${MY_PV}-linux"
@@ -78,16 +78,8 @@ src_install() {
font_src_install
}
-pkg_preinst() {
- gnome2_icon_savelist
-}
-
pkg_postinst() {
- gnome2_icon_cache_update
font_pkg_postinst
- elog "For audio notes support, install media-sound/lame"
-}
-
-pkg_postrm() {
- gnome2_icon_cache_update
+ xdg_pkg_postinst
+ optfeature "audio notes support" media-sound/lame
}