diff options
author | Tim Harder <radhermit@gentoo.org> | 2012-02-26 05:31:02 +0000 |
---|---|---|
committer | Tim Harder <radhermit@gentoo.org> | 2012-02-26 05:31:02 +0000 |
commit | f4332b6802877a361c2408091bcd6478abc8d792 (patch) | |
tree | 295a6c602cb1df1758e7e6bfddcf416fb7e4b793 /app-misc/byobu | |
parent | Restricting jython (diff) | |
download | gentoo-2-f4332b6802877a361c2408091bcd6478abc8d792.tar.gz gentoo-2-f4332b6802877a361c2408091bcd6478abc8d792.tar.bz2 gentoo-2-f4332b6802877a361c2408091bcd6478abc8d792.zip |
Version bump. Add screen use flag to allow using app-misc/screen as the default backend (fixes bug #398969).
(Portage version: 2.2.0_alpha87/cvs/Linux x86_64)
Diffstat (limited to 'app-misc/byobu')
-rw-r--r-- | app-misc/byobu/ChangeLog | 9 | ||||
-rw-r--r-- | app-misc/byobu/byobu-5.15.ebuild | 38 | ||||
-rw-r--r-- | app-misc/byobu/metadata.xml | 3 |
3 files changed, 49 insertions, 1 deletions
diff --git a/app-misc/byobu/ChangeLog b/app-misc/byobu/ChangeLog index e494dafaca1a..a0c02cce5c6e 100644 --- a/app-misc/byobu/ChangeLog +++ b/app-misc/byobu/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for app-misc/byobu # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-misc/byobu/ChangeLog,v 1.34 2012/02/15 09:14:01 radhermit Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-misc/byobu/ChangeLog,v 1.35 2012/02/26 05:31:02 radhermit Exp $ + +*byobu-5.15 (26 Feb 2012) + + 26 Feb 2012; Tim Harder <radhermit@gentoo.org> +byobu-5.15.ebuild, + metadata.xml: + Version bump. Add screen use flag to allow using app-misc/screen as the + default backend (fixes bug #398969). 15 Feb 2012; Tim Harder <radhermit@gentoo.org> -byobu-4.55.ebuild, -byobu-5.0.ebuild, -byobu-5.1.ebuild, -byobu-5.2.ebuild, -byobu-5.4.ebuild: diff --git a/app-misc/byobu/byobu-5.15.ebuild b/app-misc/byobu/byobu-5.15.ebuild new file mode 100644 index 000000000000..58b184e7eb41 --- /dev/null +++ b/app-misc/byobu/byobu-5.15.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-misc/byobu/byobu-5.15.ebuild,v 1.1 2012/02/26 05:31:02 radhermit Exp $ + +EAPI="4" +PYTHON_DEPEND="2" + +inherit python + +DESCRIPTION="A set of profiles for the GNU Screen console window manager (app-misc/screen)" +HOMEPAGE="https://launchpad.net/byobu" +SRC_URI="http://launchpad.net/${PN}/trunk/${PV}/+download/${P/-/_}.orig.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="screen" + +RDEPEND="screen? ( app-misc/screen ) + !screen? ( app-misc/tmux ) + dev-libs/newt" + +src_prepare() { + python_convert_shebangs -r 2 . + + # 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() { + emake DESTDIR="${D}" install + + # Create symlinks for backends + dosym ${PN} /usr/bin/${PN}-screen + dosym ${PN} /usr/bin/${PN}-tmux +} diff --git a/app-misc/byobu/metadata.xml b/app-misc/byobu/metadata.xml index b4faee17e1aa..68f91fde4b3a 100644 --- a/app-misc/byobu/metadata.xml +++ b/app-misc/byobu/metadata.xml @@ -6,4 +6,7 @@ <email>weaver@gentoo.org</email> <name>Andrey Kislyuk</name> </maintainer> +<use> + <flag name="screen">Use <pkg>app-misc/screen</pkg> as the default backend</flag> +</use> </pkgmetadata> |