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@gmail.com>
This commit is contained in:
Denis Reva
2022-12-20 17:17:30 +05:00
parent 3f0c826036
commit d94f874253

View File

@@ -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
}