public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Vadim Misbakh-Soloviov" <mva@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-misc/qcma/
Date: Thu, 29 Dec 2022 00:34:12 +0000 (UTC)	[thread overview]
Message-ID: <1672274044.1697fd889d8126b8e3b09f671c4baffdd6db0cae.mva@gentoo> (raw)

commit:     1697fd889d8126b8e3b09f671c4baffdd6db0cae
Author:     Vadim Misbakh-Soloviov <mva <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 29 00:29:05 2022 +0000
Commit:     Vadim Misbakh-Soloviov <mva <AT> gentoo <DOT> org>
CommitDate: Thu Dec 29 00:34:04 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1697fd88

app-misc/qcma: added xdg incon caching things

Closes: https://bugs.gentoo.org/882765
Signed-off-by: Vadim Misbakh-Soloviov <mva <AT> gentoo.org>

 app-misc/qcma/qcma-0.4.1-r2.ebuild             | 14 +++++++++++++-
 app-misc/qcma/qcma-0.4.2_pre20181227-r2.ebuild | 14 +++++++++++++-
 app-misc/qcma/qcma-9999.ebuild                 | 14 +++++++++++++-
 3 files changed, 39 insertions(+), 3 deletions(-)

diff --git a/app-misc/qcma/qcma-0.4.1-r2.ebuild b/app-misc/qcma/qcma-0.4.1-r2.ebuild
index 011ad13717ee..d6c461d3cc9c 100644
--- a/app-misc/qcma/qcma-0.4.1-r2.ebuild
+++ b/app-misc/qcma/qcma-0.4.1-r2.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-inherit qmake-utils
+inherit qmake-utils xdg-utils
 
 DESCRIPTION="Cross-platform content manager assistant for the PS Vita"
 HOMEPAGE="https://github.com/codestation/qcma"
@@ -51,3 +51,15 @@ src_install() {
 	insinto /usr/share/${PN}/translations
 	doins common/resources/translations/${PN}_*.qm
 }
+
+pkg_postinst() {
+	xdg_desktop_database_update
+	xdg_icon_cache_update
+	xdg_mimeinfo_database_update
+}
+
+pkg_postrm() {
+	xdg_desktop_database_update
+	xdg_icon_cache_update
+	xdg_mimeinfo_database_update
+}

diff --git a/app-misc/qcma/qcma-0.4.2_pre20181227-r2.ebuild b/app-misc/qcma/qcma-0.4.2_pre20181227-r2.ebuild
index d294019b2044..bd1e2fe321dc 100644
--- a/app-misc/qcma/qcma-0.4.2_pre20181227-r2.ebuild
+++ b/app-misc/qcma/qcma-0.4.2_pre20181227-r2.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-inherit qmake-utils vcs-snapshot
+inherit qmake-utils vcs-snapshot xdg-utils
 
 GIT_COMMIT="65f0eab8ca0640447d2e84cdc5fadc66d2c07efb"
 
@@ -53,3 +53,15 @@ src_install() {
 	insinto /usr/share/${PN}/translations
 	doins common/resources/translations/${PN}_*.qm
 }
+
+pkg_postinst() {
+	xdg_desktop_database_update
+	xdg_icon_cache_update
+	xdg_mimeinfo_database_update
+}
+
+pkg_postrm() {
+	xdg_desktop_database_update
+	xdg_icon_cache_update
+	xdg_mimeinfo_database_update
+}

diff --git a/app-misc/qcma/qcma-9999.ebuild b/app-misc/qcma/qcma-9999.ebuild
index 7b9f7476760f..ce4bbebe7511 100644
--- a/app-misc/qcma/qcma-9999.ebuild
+++ b/app-misc/qcma/qcma-9999.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-inherit qmake-utils git-r3
+inherit qmake-utils git-r3 xdg-utils
 
 DESCRIPTION="Cross-platform content manager assistant for the PS Vita"
 HOMEPAGE="https://github.com/codestation/qcma"
@@ -51,3 +51,15 @@ src_install() {
 	insinto /usr/share/${PN}/translations
 	doins common/resources/translations/${PN}_*.qm
 }
+
+pkg_postinst() {
+	xdg_desktop_database_update
+	xdg_icon_cache_update
+	xdg_mimeinfo_database_update
+}
+
+pkg_postrm() {
+	xdg_desktop_database_update
+	xdg_icon_cache_update
+	xdg_mimeinfo_database_update
+}


             reply	other threads:[~2022-12-29  0:34 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-29  0:34 Vadim Misbakh-Soloviov [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-12-31  9:08 [gentoo-commits] repo/gentoo:master commit in: app-misc/qcma/ Andreas Sturmlechner
2024-12-24 11:08 Sam James
2023-05-29 20:53 Sam James
2023-05-29 20:51 Sam James
2022-04-06 13:58 Andreas Sturmlechner
2022-04-06 13:58 Andreas Sturmlechner
2022-04-06 13:58 Andreas Sturmlechner
2022-04-06 13:58 Andreas Sturmlechner
2022-04-04 16:25 Vadim Misbakh-Soloviov
2022-04-04 16:25 Vadim Misbakh-Soloviov

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=1672274044.1697fd889d8126b8e3b09f671c4baffdd6db0cae.mva@gentoo \
    --to=mva@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