diff --git a/app-containers/bubblejail/Manifest b/app-containers/bubblejail/Manifest new file mode 100644 index 0000000000..6c625ea66d --- /dev/null +++ b/app-containers/bubblejail/Manifest @@ -0,0 +1 @@ +DIST bubblejail-0.10.3.tar.xz 104468 BLAKE2B 20963af08be6cd99826f22506ce5a67d8ca684ab3c8edd214c8dff5ab422891079de5dc1220a05478dd76f7a7241258f111398ba9eba25074ec3ae8a83364469 SHA512 36073aae7f37cc066a2b8989ea55e9704b9faf00fd0ccbb8d20ceea253dbba3ba887fcb17140395993d5037263153acb4af8fc9661c778372bf895e395adf3bd diff --git a/app-containers/bubblejail/bubblejail-0.10.3.ebuild b/app-containers/bubblejail/bubblejail-0.10.3.ebuild new file mode 100644 index 0000000000..0e4f126145 --- /dev/null +++ b/app-containers/bubblejail/bubblejail-0.10.3.ebuild @@ -0,0 +1,62 @@ +# Copyright 2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{12..15} ) +inherit meson optfeature python-single-r1 xdg + +DESCRIPTION="Bubblewrap-based application sandbox with resource isolation" +HOMEPAGE="https://github.com/igo95862/bubblejail" +SRC_URI="https://github.com/igo95862/${PN}/releases/download/${PV}/${P}.tar.xz" + +LICENSE="GPL-3+ MPL-2.0" +SLOT="0" +KEYWORDS="~amd64" + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND=" + ${PYTHON_DEPS} + $(python_gen_cond_dep ' + dev-python/cattrs[${PYTHON_USEDEP}] + dev-python/pyqt6[gui,widgets,${PYTHON_USEDEP}] + dev-python/pyxdg[${PYTHON_USEDEP}] + dev-python/tomli-w[${PYTHON_USEDEP}] + ') + >=sys-apps/bubblewrap-0.5.0 + sys-apps/xdg-dbus-proxy + sys-libs/libseccomp +" +DEPEND="${PYTHON_DEPS}" +BDEPEND=" + app-text/scdoc + $(python_gen_cond_dep ' + dev-python/jinja2[${PYTHON_USEDEP}] + ') +" + +src_configure() { + local emesonargs=( + -Dman=true + -Duse-vendored-python-lxns=enabled + ) + meson_src_configure +} + +src_install() { + meson_src_install + python_fix_shebang "${ED}"/usr/bin "${ED}"/usr/$(get_libdir)/bubblejail + python_optimize "${ED}"/usr/lib/bubblejail/python-packages +} + +pkg_postinst() { + xdg_pkg_postinst + optfeature "desktop entry registration" dev-util/desktop-file-utils + optfeature "desktop notifications" x11-libs/libnotify + optfeature "alternative network stack" app-containers/slirp4netns +} + +pkg_postrm() { + xdg_pkg_postrm +} diff --git a/app-containers/bubblejail/metadata.xml b/app-containers/bubblejail/metadata.xml new file mode 100644 index 0000000000..cfcd39464b --- /dev/null +++ b/app-containers/bubblejail/metadata.xml @@ -0,0 +1,12 @@ + + + + + dev@wangxianggang.com + Xianggang Wang + + + igo95862/bubblejail + https://github.com/igo95862/bubblejail/issues + +