commit:     be283a4dab527e6c7a2b24713ffacac88f046775
Author:     Marty E. Plummer <hanetzer <AT> startmail <DOT> com>
AuthorDate: Fri Dec 24 18:43:43 2021 +0000
Commit:     Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Wed Dec 29 00:00:06 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=be283a4d

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 <AT> startmail.com>
Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>

 .../{protontricks-1.6.2.ebuild => protontricks-1.6.2-r1.ebuild}   | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/app-emulation/protontricks/protontricks-1.6.2.ebuild 
b/app-emulation/protontricks/protontricks-1.6.2-r1.ebuild
similarity index 92%
rename from app-emulation/protontricks/protontricks-1.6.2.ebuild
rename to 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
+}

Reply via email to