summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVadim Misbakh-Soloviov <mva@gentoo.org>2022-12-29 07:29:05 +0700
committerVadim Misbakh-Soloviov <mva@gentoo.org>2022-12-29 07:34:04 +0700
commit1697fd889d8126b8e3b09f671c4baffdd6db0cae (patch)
tree1f6e93321fededd4bfdb935ad0865ce314ec1023
parentnet-misc/curl: Stabilize 7.87.0 ppc, #888801 (diff)
downloadgentoo-1697fd889d8126b8e3b09f671c4baffdd6db0cae.tar.gz
gentoo-1697fd889d8126b8e3b09f671c4baffdd6db0cae.tar.bz2
gentoo-1697fd889d8126b8e3b09f671c4baffdd6db0cae.zip
app-misc/qcma: added xdg incon caching things
Closes: https://bugs.gentoo.org/882765 Signed-off-by: Vadim Misbakh-Soloviov <mva@gentoo.org>
-rw-r--r--app-misc/qcma/qcma-0.4.1-r2.ebuild14
-rw-r--r--app-misc/qcma/qcma-0.4.2_pre20181227-r2.ebuild14
-rw-r--r--app-misc/qcma/qcma-9999.ebuild14
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
+}