public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "David Seifert" <soap@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-misc/xmind/
Date: Sat, 14 Nov 2020 21:48:25 +0000 (UTC)	[thread overview]
Message-ID: <1605390420.60f1ad733a8bc66c792d1db101a4046e08666f24.soap@gentoo> (raw)

commit:     60f1ad733a8bc66c792d1db101a4046e08666f24
Author:     Jakov Smolic <jakov.smolic <AT> sartura <DOT> hr>
AuthorDate: Sat Nov 14 21:47:00 2020 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sat Nov 14 21:47:00 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=60f1ad73

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 <AT> sartura.hr>
Signed-off-by: David Seifert <soap <AT> gentoo.org>

 app-misc/xmind/xmind-3.5.3.201506180105-r2.ebuild | 17 ++++-------------
 app-misc/xmind/xmind-3.7.6_p201801311814.ebuild   | 16 ++++------------
 2 files changed, 8 insertions(+), 25 deletions(-)

diff --git a/app-misc/xmind/xmind-3.5.3.201506180105-r2.ebuild b/app-misc/xmind/xmind-3.5.3.201506180105-r2.ebuild
index dfb4046680b..1851c251719 100644
--- a/app-misc/xmind/xmind-3.5.3.201506180105-r2.ebuild
+++ b/app-misc/xmind/xmind-3.5.3.201506180105-r2.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=5
 
-inherit desktop eutils multilib gnome2-utils
+inherit desktop eutils multilib optfeature xdg
 
 MY_PN="${PN}-portable"
 MY_P="${MY_PN}-${PV}"
@@ -15,7 +15,6 @@ SRC_URI="http://dl2.xmind.net/xmind-downloads/${MY_P}.zip
 LICENSE="EPL-1.0 LGPL-3"
 SLOT="0"
 KEYWORDS="amd64 x86"
-IUSE=""
 
 DEPEND="app-arch/unzip"
 RDEPEND="
@@ -75,15 +74,7 @@ src_install() {
 	make_desktop_entry ${PN} "XMind" ${PN} "Office" "MimeType=application/x-xmind;"
 }
 
-pkg_preinst() {
-	gnome2_icon_savelist
-}
-
 pkg_postinst() {
-	gnome2_icon_cache_update
-	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
 }

diff --git a/app-misc/xmind/xmind-3.7.6_p201801311814.ebuild b/app-misc/xmind/xmind-3.7.6_p201801311814.ebuild
index 03ce175e13f..67866d5575d 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
 }


             reply	other threads:[~2020-11-14 21:48 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-14 21:48 David Seifert [this message]
  -- strict thread matches above, loose matches on Subject: below --
2021-03-26 20:39 [gentoo-commits] repo/gentoo:master commit in: app-misc/xmind/ Agostino Sarubbo
2021-03-21 19:06 Andreas Sturmlechner
2021-03-21 17:19 Andreas Sturmlechner
2021-01-11  8:02 Sam James
2019-08-29 11:39 David Seifert
2018-06-23 21:48 Aaron Bauman
2018-02-18  1:19 Chris Reffett
2018-02-12  1:27 Chris Reffett
2017-12-30  2:26 Chris Reffett
2017-05-28 19:06 Chris Reffett
2017-05-28 19:06 Chris Reffett
2017-01-16 11:49 Wolfram Schlich
2016-05-24  2:02 Chris Reffett
2016-03-15 17:55 Agostino Sarubbo
2016-03-15 14:34 Agostino Sarubbo
2016-02-29 23:40 Chris Reffett
2015-11-21  0:24 Chris Reffett
2015-09-25  8:11 Justin Lecher

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1605390420.60f1ad733a8bc66c792d1db101a4046e08666f24.soap@gentoo \
    --to=soap@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox