commit:     d94f874253b808e4a36bca497b0bd4c498954a09
Author:     Denis Reva <denis7774 <AT> gmail <DOT> com>
AuthorDate: Tue Dec 20 12:17:30 2022 +0000
Commit:     Denis Reva <denis7774 <AT> gmail <DOT> com>
CommitDate: Tue Dec 20 12:17:30 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d94f8742

app-emulation/waydroid: Bug fixes: fixed mimeinfo update and closes fixed in 
previous version bug

Closes: https://bugs.gentoo.org/878081
Closes: https://bugs.gentoo.org/887295
Bug: https://bugs.gentoo.org/834025
Signed-off-by: Denis Reva <denis7774 <AT> gmail.com>

 .../{waydroid-1.3.4-r4.ebuild => waydroid-1.3.4-r5.ebuild}     | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/app-emulation/waydroid/waydroid-1.3.4-r4.ebuild 
b/app-emulation/waydroid/waydroid-1.3.4-r5.ebuild
similarity index 92%
rename from app-emulation/waydroid/waydroid-1.3.4-r4.ebuild
rename to app-emulation/waydroid/waydroid-1.3.4-r5.ebuild
index b67ca2647..df767cedc 100644
--- a/app-emulation/waydroid/waydroid-1.3.4-r4.ebuild
+++ b/app-emulation/waydroid/waydroid-1.3.4-r5.ebuild
@@ -4,7 +4,7 @@
 EAPI=8
 
 PYTHON_COMPAT=( python3_{9..11} )
-inherit linux-info python-single-r1
+inherit linux-info xdg-utils python-single-r1
 
 DESCRIPTION="Container-based approach to boot a full Android system on Linux 
systems"
 HOMEPAGE="https://waydro.id";
@@ -48,6 +48,9 @@ src_install() {
 }
 
 pkg_postinst() {
+       xdg_desktop_database_update
+       xdg_mimeinfo_database_update
+
        if not use apparmor; then
                ewarn "If you use app-containers/lxc without apparmor, make 
sure you deleted or commented out in waydroid LXC config"
                ewarn "(generated after waydroid init) in 
/var/lib/waydroid/lxc/waydroid/config the following string:"
@@ -62,3 +65,8 @@ pkg_postinst() {
        einfo "Contact https://docs.waydro.id/usage/install-on-desktops for 
how-to guides"
        einfo "(does not cover Gentoo-specific things sadly)"
 }
+
+pkg_postrm() {
+       xdg_desktop_database_update
+       xdg_mimeinfo_database_update
+}

Reply via email to