app-containers/bubblejail: new package, add 0.10.3

Signed-off-by: Xianggang Wang <dev@wangxianggang.com>
This commit is contained in:
Xianggang Wang committed 2026-07-21 10:40:06 +08:00
1 parent 6b7b2501b1
commit acb15e0eb8
3 files changed
+75

No files matched your search

+1
View File
@@ -0,0 +1 @@
DIST bubblejail-0.10.3.tar.xz 104468 BLAKE2B 20963af08be6cd99826f22506ce5a67d8ca684ab3c8edd214c8dff5ab422891079de5dc1220a05478dd76f7a7241258f111398ba9eba25074ec3ae8a83364469 SHA512 36073aae7f37cc066a2b8989ea55e9704b9faf00fd0ccbb8d20ceea253dbba3ba887fcb17140395993d5037263153acb4af8fc9661c778372bf895e395adf3bd
@@ -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
}
+12
View File
@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>dev@wangxianggang.com</email>
<name>Xianggang Wang</name>
</maintainer>
<upstream>
<remote-id type="github">igo95862/bubblejail</remote-id>
<bugs-to>https://github.com/igo95862/bubblejail/issues</bugs-to>
</upstream>
</pkgmetadata>