summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarty E. Plummer <hanetzer@startmail.com>2021-12-24 12:43:43 -0600
committerMarek Szuba <marecki@gentoo.org>2021-12-29 00:00:06 +0000
commitbe283a4dab527e6c7a2b24713ffacac88f046775 (patch)
tree7d0e757f7b7e8f10741473a9d3dda4acab7bf9ff /app-emulation
parentmedia-gfx/darktable-3.6.0: update documentation URI (diff)
downloadgentoo-be283a4dab527e6c7a2b24713ffacac88f046775.tar.gz
gentoo-be283a4dab527e6c7a2b24713ffacac88f046775.tar.bz2
gentoo-be283a4dab527e6c7a2b24713ffacac88f046775.zip
app-emulation/protontricks: call xdg_desktop_database_update
Closes: https://github.com/gentoo/gentoo/pull/23500 Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Marty E. Plummer <hanetzer@startmail.com> Signed-off-by: Marek Szuba <marecki@gentoo.org>
Diffstat (limited to 'app-emulation')
-rw-r--r--app-emulation/protontricks/protontricks-1.6.2-r1.ebuild (renamed from app-emulation/protontricks/protontricks-1.6.2.ebuild)8
1 files changed, 7 insertions, 1 deletions
diff --git a/app-emulation/protontricks/protontricks-1.6.2.ebuild b/app-emulation/protontricks/protontricks-1.6.2-r1.ebuild
index 3edec59a76f4..8ff35081420b 100644
--- a/app-emulation/protontricks/protontricks-1.6.2.ebuild
+++ b/app-emulation/protontricks/protontricks-1.6.2-r1.ebuild
@@ -7,7 +7,7 @@ PYTHON_COMPAT=( python3_{8..10} pypy3 )
DISTUTILS_SINGLE_IMPL=1
DISTUTILS_USE_SETUPTOOLS=rdepend
-inherit distutils-r1
+inherit distutils-r1 xdg-utils
DESCRIPTION="app-emulation/winetricks wrapper for Proton (Steam Play) games"
HOMEPAGE="https://github.com/Matoking/protontricks"
@@ -42,6 +42,8 @@ python_prepare_all() {
}
pkg_postinst() {
+ xdg_desktop_database_update
+
elog
if ! use gui; then
@@ -54,3 +56,7 @@ pkg_postinst() {
elog "Make sure to run a Proton game at least once before trying to use protontricks on it."
elog
}
+
+pkg_postrm() {
+ xdg_desktop_database_update
+}