This commit is contained in:
Mario Fetka
2023-04-06 11:47:15 +02:00
parent 011cd6e696
commit 1f44a2d3b4
96 changed files with 3912 additions and 51 deletions

3
app-misc/byobu/Manifest Normal file
View File

@@ -0,0 +1,3 @@
DIST byobu_5.133.orig.tar.gz 761655 BLAKE2B 796cfe22ba60a8cfe41ca6570e4c7f265dd249e7767086341903da7862037f39b1f49434b6dae36d12d82df1ee34306b815ff3f8e703eeedab79cf02e8d86a7d SHA512 4c0ef7a3b483e48c57f3e97dae1c7c77084797016efb677b201f2b56c6b9f4b771739d9a6d9a4fb612203a22e9fa460db80fde30c837b102ad830b1b2919db6c
EBUILD byobu-5.133.ebuild 1139 BLAKE2B 38619acfb296df017ba38e5d060d6f2acf9cab393d7cc04b6149dd06f33fd5259388e56fb8b476489c06871762343c0498b17cee658d68bc0bf600ed80c52fea SHA512 58efb792e3515c6b401c524fabb22ecd164216c2b992fdf327a25b3486c8cb17703333638b9a826957f5315cf8ba401386506684b968210c1625e0e494ea12b5
MISC metadata.xml 990 BLAKE2B 27fb7672ed6a1d6311529e5e384d3993384fa6bcc0283c23e3e29d2d710eb1d77770c8e51b92d490dbf4dc42fb70290bc978467f70fcf079f24c1932b7d72a1b SHA512 6af4fc912b0bdf14bef28e4b0cb53d20eb00cf891a2a4a7705041904f5089274b086c05a0306f10db0203f64531e82ec7973975ccccfd60adf33c322a77d7008

View File

@@ -0,0 +1,48 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{9..11} )
inherit python-single-r1
DESCRIPTION="A set of profiles for the GNU Screen console window manager (app-misc/screen)"
HOMEPAGE="https://byobu.org"
SRC_URI="https://launchpad.net/${PN}/trunk/${PV}/+download/${P/-/_}.orig.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="amd64 ~arm64 ~riscv x86"
IUSE="screen"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
RDEPEND="${PYTHON_DEPS}
$(python_gen_cond_dep 'dev-libs/newt[${PYTHON_USEDEP}]')
screen? ( app-misc/screen )
!screen? ( app-misc/tmux )"
src_prepare() {
default
python_fix_shebang .
# Set default system backend to screen
if use screen ; then
sed -i -e 's/#\(BYOBU_BACKEND\).*/\1="screen"/' etc/byobu/backend || die
fi
}
src_install() {
default
# It's easier than forcing autoconf
mv "${ED}/usr/share/doc/${PN}/"* "${ED}/usr/share/doc/${PF}/" || die
rmdir "${ED}/usr/share/doc/${PN}" || die
# Create symlinks for backends
dosym ${PN} /usr/bin/${PN}-screen
dosym ${PN} /usr/bin/${PN}-tmux
docompress -x /usr/share/doc/${PN}
}

View File

@@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>shell-tools@gentoo.org</email>
<name>Gentoo Shell Tools Project</name>
</maintainer>
<longdescription>
Byobu is a GPLv3 open source text-based window manager and terminal multiplexer.
It was originally designed to provide elegant enhancements to the otherwise
functional, plain, practical GNU Screen, for the Ubuntu server distribution.
Byobu now includes an enhanced profiles, convenient keybindings, configuration
utilities, and toggle-able system status notifications for both the GNU Screen
window manager and the more modern Tmux terminal multiplexer, and works on most
Linux, BSD, and Mac distributions.
</longdescription>
<use>
<flag name="screen">Use <pkg>app-misc/screen</pkg> as the default backend</flag>
</use>
<upstream>
<remote-id type="launchpad">byobu</remote-id>
</upstream>
</pkgmetadata>