public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Lars Wendler" <polynomial-c@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: games-emulation/snes9x/
Date: Tue, 23 Jan 2018 09:56:25 +0000 (UTC)	[thread overview]
Message-ID: <1516701382.9bcb0635f088e4978552720cb91f8699b502ed85.polynomial-c@gentoo> (raw)

commit:     9bcb0635f088e4978552720cb91f8699b502ed85
Author:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Tue Jan 23 09:56:00 2018 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Tue Jan 23 09:56:22 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9bcb0635

games-emulation/snes9x: Use xdg-utils.eclass to handle .desktop files.

Package-Manager: Portage-2.3.20, Repoman-2.3.6

 games-emulation/snes9x/snes9x-1.55.ebuild | 12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)

diff --git a/games-emulation/snes9x/snes9x-1.55.ebuild b/games-emulation/snes9x/snes9x-1.55.ebuild
index ba25e25b642..f95ee81863f 100644
--- a/games-emulation/snes9x/snes9x-1.55.ebuild
+++ b/games-emulation/snes9x/snes9x-1.55.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=6
 
-inherit autotools flag-o-matic gnome2-utils
+inherit autotools flag-o-matic gnome2-utils xdg-utils
 
 DESCRIPTION="Super Nintendo Entertainment System (SNES) emulator"
 HOMEPAGE="https://github.com/snes9xgit/snes9x"
@@ -113,9 +113,15 @@ pkg_preinst() {
 }
 
 pkg_postinst() {
-	use gtk && gnome2_icon_cache_update
+	if use gtk ; then
+		gnome2_icon_cache_update
+		xdg_desktop_database_update
+	fi
 }
 
 pkg_postrm() {
-	use gtk && gnome2_icon_cache_update
+	if use gtk ; then
+		gnome2_icon_cache_update
+		xdg_desktop_database_update
+	fi
 }


             reply	other threads:[~2018-01-23  9:56 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-23  9:56 Lars Wendler [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-07-14 21:32 [gentoo-commits] repo/gentoo:master commit in: games-emulation/snes9x/ Ionen Wolkens
2023-04-05 13:25 Ionen Wolkens
2023-03-31  7:50 Ionen Wolkens
2023-03-28  2:46 Ionen Wolkens
2023-03-28  2:46 Ionen Wolkens
2022-03-05  7:14 Ionen Wolkens
2021-05-27  7:57 Lars Wendler
2020-08-13 20:50 Craig Andrews
2020-03-10  8:20 Lars Wendler
2020-03-10  8:20 Lars Wendler
2019-03-18 16:05 Lars Wendler
2019-03-18 16:05 Lars Wendler
2018-11-13 12:58 Lars Wendler
2018-11-13 12:56 Lars Wendler
2018-11-13 12:56 Lars Wendler
2018-01-21 10:20 David Seifert
2016-12-30 16:47 Agostino Sarubbo

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=1516701382.9bcb0635f088e4978552720cb91f8699b502ed85.polynomial-c@gentoo \
    --to=polynomial-c@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