commit:     98dad4cb00c676a496ce6a76d197535f4352c3e7
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Tue Oct 28 12:05:43 2025 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Tue Oct 28 14:29:04 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=98dad4cb

app-containers/distrobox: bump to 1.8.2.0

Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 app-containers/distrobox/Manifest                 |  1 +
 app-containers/distrobox/distrobox-1.8.2.0.ebuild | 59 +++++++++++++++++++++++
 2 files changed, 60 insertions(+)

diff --git a/app-containers/distrobox/Manifest 
b/app-containers/distrobox/Manifest
index 9e9ba85ed5f2..c7d8be5480ee 100644
--- a/app-containers/distrobox/Manifest
+++ b/app-containers/distrobox/Manifest
@@ -1 +1,2 @@
 DIST distrobox-1.8.1.2.tar.gz 1966405 BLAKE2B 
90f55785c15889ab75f7d0fce3b1d25d38fe1e481d9de20b959d9f2a0138675b45cbc225d1246dc12cf0a1a8ff089272f362a1b50474dffc41a67d9e596233ac
 SHA512 
32cb3ddbc89fec68d44c4e5ab5791755323a6da7be825959b1b868bdbd8144ac5bdb59420f7d06b32c27d4235b95995f8a6af9f79505efbeba2286122519c25e
+DIST distrobox-1.8.2.0.gh.tar.gz 2002251 BLAKE2B 
841366148f386e1d7080078f4d4ebf2a4296ca72da3a6dfeb97000ee471045be99b11750888bc07bd844bfcdd39cd96f6b44165dbd862721a5b1bec7db07e763
 SHA512 
860eb6cd253b271a23146870aae2aee82add201e0071df97c1c43868b1b03680a70e075b59de1b9dd34b16af91bfe7de55424ebad6cf2302c8d19b4c07dc5764

diff --git a/app-containers/distrobox/distrobox-1.8.2.0.ebuild 
b/app-containers/distrobox/distrobox-1.8.2.0.ebuild
new file mode 100644
index 000000000000..f9ed801ebce4
--- /dev/null
+++ b/app-containers/distrobox/distrobox-1.8.2.0.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit xdg-utils
+
+DESCRIPTION="Use any Linux distribution inside your terminal (powered by 
docker/podman)"
+HOMEPAGE="https://distrobox.it/
+       https://github.com/89luca89/distrobox/";
+
+if [[ "${PV}" == *9999* ]] ; then
+       inherit git-r3
+
+       EGIT_REPO_URI="https://github.com/89luca89/${PN}";
+else
+       SRC_URI="https://github.com/89luca89/${PN}/archive/${PV}.tar.gz
+               -> ${P}.gh.tar.gz"
+
+       KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
+fi
+
+LICENSE="GPL-3"  # GPL-3.0-only !
+SLOT="0"
+IUSE="gui"
+
+RDEPEND="
+       || (
+               app-containers/docker
+               app-containers/podman
+       )
+"
+
+_gui_cache_update() {
+       if use gui ; then
+               xdg_icon_cache_update
+               xdg_desktop_database_update
+       fi
+}
+
+src_install() {
+       sh ./install --prefix "${ED}/usr" || die "${PN} install script failed"
+
+       if use gui ; then
+               :
+       else
+               rm -r "${ED}/usr/share/icons" || die
+       fi
+
+       dodoc *.md
+}
+
+pkg_postinst() {
+       _gui_cache_update
+}
+
+pkg_postrm() {
+       _gui_cache_update
+}

Reply via email to