From 25922912c7e37f3bc3000e71b647e77677d8f2c5 Mon Sep 17 00:00:00 2001 From: coast Date: Mon, 12 Oct 2026 14:41:07 +0330 Subject: sync --- .../bubblejail/bubblejail-0.10.4.exheres-0 | 73 ++++++++++++++++++++++ .../distrobox/distrobox-1.8.2.5.exheres-0 | 54 ++++++++++++++++ 2 files changed, 127 insertions(+) create mode 100644 packages/app-virtualization/bubblejail/bubblejail-0.10.4.exheres-0 create mode 100644 packages/app-virtualization/distrobox/distrobox-1.8.2.5.exheres-0 (limited to 'packages/app-virtualization') diff --git a/packages/app-virtualization/bubblejail/bubblejail-0.10.4.exheres-0 b/packages/app-virtualization/bubblejail/bubblejail-0.10.4.exheres-0 new file mode 100644 index 0000000..5e96581 --- /dev/null +++ b/packages/app-virtualization/bubblejail/bubblejail-0.10.4.exheres-0 @@ -0,0 +1,73 @@ +# Copyright 2026 Gurov +# Distributed under the terms of the GNU General Public License v2 + +require python [ blacklist="2 3.9 3.10" multibuild=false ] meson [ meson_minimum_version=1.3.0 ] gtk-icon-cache + +SUMMARY="Bubblewrap-based sandboxing utility" +HOMEPAGE="https://github.com/igo95862/bubblejail" +DOWNLOADS="${HOMEPAGE}/releases/download/${PV}/${PNV}.tar.xz" + +LICENCES="GPL-3+ MIT MPL-2.0" +SLOT="0" +PLATFORMS="~amd64" +MYOPTIONS="doc gui bash-completion fish-completion" + +DEPENDENCIES=" + build: + dev-python/Jinja2[python_abis:*(-)?] + doc? ( app-doc/scdoc ) + + run: + dev-python/cattrs[python_abis:*(-)?] + dev-python/pyxdg[python_abis:*(-)?] + dev-python/tomli-w[python_abis:*(-)?] + sys-apps/bubblewrap[>=0.5.0] + sys-apps/xdg-dbus-proxy + sys-libs/libseccomp + gui? ( + dev-python/PyQt6[python_abis:*(-)?] + x11-themes/hicolor-icon-theme + ) +" + +MESON_SRC_CONFIGURE_PARAMS=( -Duse-vendored-python-lxns=enabled ) +MESON_SRC_CONFIGURE_OPTION_SWITCHES=( 'doc man' ) + +src_prepare() { + meson_src_prepare + edo sed -i "1s@/usr/bin/python3@/usr/$(exhost --target)/bin/python$(python_get_abi)@" \ + templates/bubblejail_launch_base.py.jinja +} + +src_install() { + meson_src_install + + if ! option gui; then + edo rm -f "${IMAGE}/usr/$(exhost --target)/bin/bubblejail-config" \ + "${IMAGE}/usr/share/applications/bubblejail-config.desktop" \ + "${IMAGE}/usr/share/icons/hicolor/128x128/apps/bubblejail-config.png" \ + "${IMAGE}/usr/share/icons/hicolor/scalable/apps/bubblejail-config.svg" + fi + if ! option bash-completion; then + edo rm -f "${IMAGE}/usr/share/bash-completion/completions/bubblejail" + fi + if ! option fish-completion; then + edo rm -f "${IMAGE}/usr/share/fish/vendor_completions.d/bubblejail.fish" + fi + + edo find "${IMAGE}/usr/share" -depth -type d -empty -delete + keepdir /etc/bubblejail/profiles + python_bytecompile +} + +pkg_postinst() { + if option gui; then + gtk-icon-cache_pkg_postinst + fi +} + +pkg_postrm() { + if option gui; then + gtk-icon-cache_pkg_postrm + fi +} diff --git a/packages/app-virtualization/distrobox/distrobox-1.8.2.5.exheres-0 b/packages/app-virtualization/distrobox/distrobox-1.8.2.5.exheres-0 new file mode 100644 index 0000000..96b90fe --- /dev/null +++ b/packages/app-virtualization/distrobox/distrobox-1.8.2.5.exheres-0 @@ -0,0 +1,54 @@ +# Copyright 2026 Gurov +# Distributed under the terms of the GNU General Public License v2 + +SUMMARY="Use any Linux distribution inside your terminal" +HOMEPAGE=" + https://distrobox.it/ + https://github.com/89luca89/distrobox +" + +DOWNLOADS=" + https://github.com/89luca89/distrobox/archive/refs/tags/${PV}.tar.gz + -> ${PNV}.tar.gz +" + +LICENCES="GPL-3" +SLOT="0" +PLATFORMS="~amd64" + +MYOPTIONS=" + gui [[ + description = [ Install Distrobox's desktop icons ] + ]] +" + +DEPENDENCIES=" + run: + || ( + app-virtualization/podman + app-virtualization/docker-cli + ) +" + +src_install() { + dobin distrobox* + + doman man/man1/* + + insinto /usr/share/bash-completion/completions + doins completions/bash/* + + insinto /usr/share/zsh/site-functions + doins completions/zsh/* + + if option gui; then + insinto /usr/share/icons/hicolor/scalable/apps + doins icons/terminal-distrobox-icon.svg + + local size + for size in 16 22 24 32 36 48 64 72 96 128 256; do + insinto "/usr/share/icons/hicolor/${size}x${size}/apps" + doins "icons/hicolor/${size}x${size}/apps/terminal-distrobox-icon.png" + done + fi +} -- cgit v1.3