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-text/krop/
Date: Sun,  7 Jan 2018 14:51:21 +0000 (UTC)	[thread overview]
Message-ID: <1515336661.5ec0b11c423fcd355d3057c39b4cdcb67cb993ea.asturm@gentoo> (raw)

commit:     5ec0b11c423fcd355d3057c39b4cdcb67cb993ea
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sun Jan  7 14:46:21 2018 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sun Jan  7 14:51:01 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ec0b11c

app-text/krop: Run xdg_{desktop,mimeinfo}_database_update

Package-Manager: Portage-2.3.19, Repoman-2.3.6

 app-text/krop/krop-0.4.13.5.ebuild | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)

diff --git a/app-text/krop/krop-0.4.13.5.ebuild b/app-text/krop/krop-0.4.13.5.ebuild
index f2542d1c596..108c5f32c84 100644
--- a/app-text/krop/krop-0.4.13.5.ebuild
+++ b/app-text/krop/krop-0.4.13.5.ebuild
@@ -4,7 +4,7 @@
 EAPI=6
 PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
 
-inherit eutils distutils-r1
+inherit eutils distutils-r1 xdg-utils
 
 DESCRIPTION="A tool to crop PDF files"
 HOMEPAGE="http://arminstraub.com/software/krop"
@@ -25,3 +25,13 @@ src_install() {
 	distutils-r1_src_install
 	domenu "${WORKDIR}/${P}/${PN}.desktop"
 }
+
+pkg_postinst() {
+	xdg_mimeinfo_database_update
+	xdg_desktop_database_update
+}
+
+pkg_postrm() {
+	xdg_mimeinfo_database_update
+	xdg_desktop_database_update
+}


             reply	other threads:[~2018-01-07 14:51 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-07 14:51 Andreas Sturmlechner [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-01-22 23:14 [gentoo-commits] repo/gentoo:master commit in: app-text/krop/ Andreas Sturmlechner
2024-05-28 20:49 Sam James
2024-04-28  8:13 Andreas K. Hüttel
2023-06-09 14:28 Andreas K. Hüttel
2023-06-09 14:28 Andreas K. Hüttel
2023-06-09 14:28 Andreas K. Hüttel
2023-05-02 15:47 Andreas K. Hüttel
2023-04-10  3:38 Sam James
2022-07-04 15:47 Andreas K. Hüttel
2021-05-24 14:33 Andreas K. Hüttel
2021-02-28 21:07 Andreas K. Hüttel
2021-02-28 21:07 Andreas K. Hüttel
2020-10-09 18:57 Andreas K. Hüttel
2020-04-25 13:34 Andreas K. Hüttel
2020-02-22 20:13 David Seifert
2020-02-05 19:53 Michał Górny
2019-12-20  8:51 Andreas K. Hüttel
2018-12-25 16:52 Andreas K. Hüttel
2018-12-25 16:45 Andreas K. Hüttel
2018-12-25 16:44 Andreas K. Hüttel
2018-01-07 14:51 Andreas Sturmlechner
2018-01-07 14:51 Andreas Sturmlechner
2017-12-27 18:28 Andreas Hüttel
2017-12-04 14:43 Manuel Rüger
2017-07-31  2:28 Andreas Hüttel
2017-07-31  2:28 Andreas Hüttel
2017-05-17 11:28 Manuel Rüger
2017-05-17 11:28 Manuel Rüger
2016-09-01 13:18 Manuel Rüger
2015-11-07 13:02 Manuel Rüger

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=1515336661.5ec0b11c423fcd355d3057c39b4cdcb67cb993ea.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