From d94f874253b808e4a36bca497b0bd4c498954a09 Mon Sep 17 00:00:00 2001 From: Denis Reva Date: Tue, 20 Dec 2022 17:17:30 +0500 Subject: [PATCH] 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 --- ...ydroid-1.3.4-r4.ebuild => waydroid-1.3.4-r5.ebuild} | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) rename app-emulation/waydroid/{waydroid-1.3.4-r4.ebuild => waydroid-1.3.4-r5.ebuild} (92%) 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 b67ca2647f..df767cedce 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 +}