From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id DA8CD158020 for ; Tue, 20 Dec 2022 17:24:00 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2957EE0984; Tue, 20 Dec 2022 17:23:56 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 0E126E0982 for ; Tue, 20 Dec 2022 17:23:55 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 18FBC3414C9 for ; Tue, 20 Dec 2022 17:23:55 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 841747FA for ; Tue, 20 Dec 2022 17:23:51 +0000 (UTC) From: "Haelwenn Monnier" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Haelwenn Monnier" Message-ID: <1671538650.d94f874253b808e4a36bca497b0bd4c498954a09.lanodan@gentoo> Subject: [gentoo-commits] repo/proj/guru:master commit in: app-emulation/waydroid/ X-VCS-Repository: repo/proj/guru X-VCS-Files: app-emulation/waydroid/waydroid-1.3.4-r4.ebuild app-emulation/waydroid/waydroid-1.3.4-r5.ebuild X-VCS-Directories: app-emulation/waydroid/ X-VCS-Committer: lanodan X-VCS-Committer-Name: Haelwenn Monnier X-VCS-Revision: d94f874253b808e4a36bca497b0bd4c498954a09 X-VCS-Branch: master Date: Tue, 20 Dec 2022 17:23:51 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 9888ce61-6de7-45d1-9d9f-f20a0d9a2e50 X-Archives-Hash: 73f8bc73011e5b2ff479751fc20f6dcc commit: d94f874253b808e4a36bca497b0bd4c498954a09 Author: Denis Reva gmail com> AuthorDate: Tue Dec 20 12:17:30 2022 +0000 Commit: Haelwenn Monnier hacktivis me> 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 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 +}