public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Andreas Sturmlechner" <asturm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-misc/xmind/
Date: Sun, 21 Mar 2021 19:06:35 +0000 (UTC)	[thread overview]
Message-ID: <1616353564.1e2ad588144c99bde794caa503273a883a807219.asturm@gentoo> (raw)

commit:     1e2ad588144c99bde794caa503273a883a807219
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 21 16:53:47 2021 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sun Mar 21 19:06:04 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1e2ad588

app-misc/xmind: EAPI-7 bump, add missing pkg_postrm

Package-Manager: Portage-3.0.17, Repoman-3.0.2
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 app-misc/xmind/xmind-3.7.6_p201801311814.ebuild | 26 ++++++++++++-------------
 1 file changed, 12 insertions(+), 14 deletions(-)

diff --git a/app-misc/xmind/xmind-3.7.6_p201801311814.ebuild b/app-misc/xmind/xmind-3.7.6_p201801311814.ebuild
index 7ee0129f5e3..6dd4d5a8ae8 100644
--- a/app-misc/xmind/xmind-3.7.6_p201801311814.ebuild
+++ b/app-misc/xmind/xmind-3.7.6_p201801311814.ebuild
@@ -1,30 +1,28 @@
 # Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=7
 
+MY_P="${PN}-8-update7-linux"
 inherit desktop font optfeature xdg
 
-MY_PV="8-update7"
-MY_P="${PN}-${MY_PV}-linux"
-
-DESCRIPTION="A brainstorming and mind mapping software tool"
+DESCRIPTION="Brainstorming and mind mapping software tool"
 HOMEPAGE="https://www.xmind.net"
 SRC_URI="http://dl2.xmind.net/xmind-downloads/${MY_P}.zip
 	https://dev.gentoo.org/~creffett/distfiles/xmind-icons.tar.xz"
+S="${WORKDIR}"
+
 LICENSE="EPL-1.0 LGPL-3"
 SLOT="0"
 KEYWORDS="amd64 ~x86"
 IUSE=""
 
-DEPEND="app-arch/unzip"
+BDEPEND="app-arch/unzip"
 RDEPEND="
 	>=virtual/jre-1.8
 	x11-libs/gtk+:2
 "
 
-S=${WORKDIR}
-
 QA_PRESTRIPPED="opt/xmind/XMind/libcairo-swt.so"
 QA_FLAGS_IGNORED="
 	opt/xmind/plugins/org.eclipse.equinox.launcher.gtk.linux.x86_1.1.400.v20160518-1444/eclipse_1617.so
@@ -36,12 +34,7 @@ FONT_SUFFIX="ttf"
 FONT_S="${S}/fonts"
 
 src_configure() {
-	if use amd64; then
-		XDIR="XMind_amd64"
-	else
-		XDIR="XMind_i386"
-	fi
-	mv "$XDIR" XMind || die
+	mv "XMind_$(usex amd64 amd64 i386)" XMind || die
 	# force data instance & config area to be at home/.xmind directory
 	sed \
 		-e '/-configuration/d' \
@@ -83,3 +76,8 @@ pkg_postinst() {
 	xdg_pkg_postinst
 	optfeature "audio notes support" media-sound/lame
 }
+
+pkg_postrm() {
+	font_pkg_postrm
+	xdg_pkg_postrm
+}


             reply	other threads:[~2021-03-21 19:06 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-21 19:06 Andreas Sturmlechner [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 17:19 Andreas Sturmlechner
2021-01-11  8:02 Sam James
2020-11-14 21:48 David Seifert
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=1616353564.1e2ad588144c99bde794caa503273a883a807219.asturm@gentoo \
    --to=asturm@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