From: "Esteve Varela Colominas" <esteve.varela@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: app-containers/waydroid/
Date: Thu, 21 Mar 2024 22:11:01 +0000 (UTC) [thread overview]
Message-ID: <1711059044.f235c2515d3f4305d97f39de4cc0794057f02546.esteve.varela@gentoo> (raw)
commit: f235c2515d3f4305d97f39de4cc0794057f02546
Author: Esteve Varela Colominas <esteve.varela <AT> gmail <DOT> com>
AuthorDate: Thu Mar 21 18:22:56 2024 +0000
Commit: Esteve Varela Colominas <esteve.varela <AT> gmail <DOT> com>
CommitDate: Thu Mar 21 22:10:44 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f235c251
app-containers/waydroid: Minor improvements
Use xdg.eclass instead of calling the functions individually, support
Gentoo Prefix by using EROOT.
Signed-off-by: Esteve Varela Colominas <esteve.varela <AT> gmail.com>
app-containers/waydroid/waydroid-1.4.0.ebuild | 12 +++---------
app-containers/waydroid/waydroid-1.4.2.ebuild | 12 +++---------
2 files changed, 6 insertions(+), 18 deletions(-)
diff --git a/app-containers/waydroid/waydroid-1.4.0.ebuild b/app-containers/waydroid/waydroid-1.4.0.ebuild
index 17e3547703..64f69da5d3 100644
--- a/app-containers/waydroid/waydroid-1.4.0.ebuild
+++ b/app-containers/waydroid/waydroid-1.4.0.ebuild
@@ -4,7 +4,7 @@
EAPI=8
PYTHON_COMPAT=( python3_{10..11} )
-inherit linux-info xdg-utils python-single-r1
+inherit linux-info xdg python-single-r1
DESCRIPTION="Container-based approach to boot a full Android system on Linux systems"
HOMEPAGE="https://waydro.id"
@@ -57,8 +57,7 @@ src_install() {
}
pkg_postinst() {
- xdg_desktop_database_update
- xdg_mimeinfo_database_update
+ xdg_pkg_postinst
elog "After package installation run either 'emerge --config app-containers/waydroid'"
elog "or 'waydroid init' from root shell to install android container runtime"
@@ -83,11 +82,6 @@ pkg_postinst() {
fi
}
-pkg_postrm() {
- xdg_desktop_database_update
- xdg_mimeinfo_database_update
-}
-
pkg_config() {
- "${ROOT}"/usr/bin/waydroid init
+ "${EROOT}"/usr/bin/waydroid init
}
diff --git a/app-containers/waydroid/waydroid-1.4.2.ebuild b/app-containers/waydroid/waydroid-1.4.2.ebuild
index 5d5b8a91f8..10bd38daf4 100644
--- a/app-containers/waydroid/waydroid-1.4.2.ebuild
+++ b/app-containers/waydroid/waydroid-1.4.2.ebuild
@@ -4,7 +4,7 @@
EAPI=8
PYTHON_COMPAT=( python3_{10..12} )
-inherit linux-info xdg-utils python-single-r1
+inherit linux-info xdg python-single-r1
DESCRIPTION="Container-based approach to boot a full Android system on Linux systems"
HOMEPAGE="https://waydro.id"
@@ -57,8 +57,7 @@ src_install() {
}
pkg_postinst() {
- xdg_desktop_database_update
- xdg_mimeinfo_database_update
+ xdg_pkg_postinst
elog "After package installation run either 'emerge --config app-containers/waydroid'"
elog "or 'waydroid init' from root shell to install android container runtime"
@@ -83,11 +82,6 @@ pkg_postinst() {
fi
}
-pkg_postrm() {
- xdg_desktop_database_update
- xdg_mimeinfo_database_update
-}
-
pkg_config() {
- "${ROOT}"/usr/bin/waydroid init
+ "${EROOT}"/usr/bin/waydroid init
}
next reply other threads:[~2024-03-21 22:11 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-21 22:11 Esteve Varela Colominas [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-08-06 14:22 [gentoo-commits] repo/proj/guru:dev commit in: app-containers/waydroid/ Denis Reva
2024-07-20 9:27 Takuya Wakazono
2024-05-15 17:00 [gentoo-commits] repo/proj/guru:master " Julien Roy
2024-05-15 16:55 ` [gentoo-commits] repo/proj/guru:dev " Julien Roy
2024-03-22 18:55 Esteve Varela Colominas
2024-03-21 22:11 Esteve Varela Colominas
2024-03-21 22:11 Esteve Varela Colominas
2024-03-21 22:11 Esteve Varela Colominas
2024-03-21 22:11 Esteve Varela Colominas
2024-03-21 22:11 Esteve Varela Colominas
2024-02-19 22:00 [gentoo-commits] repo/proj/guru:master " Julien Roy
2024-02-19 21:47 ` [gentoo-commits] repo/proj/guru:dev " Julien Roy
2024-02-19 21:47 Julien Roy
2024-02-19 14:03 Denis Reva
2024-02-18 19:53 Julien Roy
2024-02-18 19:53 Julien Roy
2023-10-30 11:30 David Roman
2023-02-18 7:16 Denis Reva
2022-12-29 11:33 [gentoo-commits] repo/proj/guru:master " Florian Schmaus
2022-12-29 11:33 ` [gentoo-commits] repo/proj/guru:dev " Florian Schmaus
2022-12-29 11:33 Florian Schmaus
2022-12-29 11:28 Florian Schmaus
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1711059044.f235c2515d3f4305d97f39de4cc0794057f02546.esteve.varela@gentoo \
--to=esteve.varela@gmail.com \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox