Gentoo Archives: gentoo-commits

From: Patrice Clement <monsieurp@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-misc/tmux/
Date: Fri, 25 Sep 2015 20:29:02
Message-Id: 1443212814.d5432c964dd851f2dea54f93bfcb793a13e5b5a8.monsieurp@gentoo
1 commit: d5432c964dd851f2dea54f93bfcb793a13e5b5a8
2 Author: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
3 AuthorDate: Fri Sep 25 20:26:54 2015 +0000
4 Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
5 CommitDate: Fri Sep 25 20:26:54 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d5432c96
7
8 app-misc/tmux: Clean up old.
9
10 Package-Manager: portage-2.2.18
11 Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org>
12
13 app-misc/tmux/tmux-2.0.ebuild | 85 -------------------------------------------
14 1 file changed, 85 deletions(-)
15
16 diff --git a/app-misc/tmux/tmux-2.0.ebuild b/app-misc/tmux/tmux-2.0.ebuild
17 deleted file mode 100644
18 index f82e139..0000000
19 --- a/app-misc/tmux/tmux-2.0.ebuild
20 +++ /dev/null
21 @@ -1,85 +0,0 @@
22 -# Copyright 1999-2015 Gentoo Foundation
23 -# Distributed under the terms of the GNU General Public License v2
24 -# $Id$
25 -
26 -EAPI=5
27 -AUTOTOOLS_AUTORECONF=true
28 -
29 -inherit autotools-utils bash-completion-r1 flag-o-matic
30 -
31 -DESCRIPTION="Terminal multiplexer"
32 -HOMEPAGE="http://tmux.github.io/"
33 -SRC_URI="https://github.com/${PN}/${PN}/releases/download/${PV}/${P}.tar.gz"
34 -
35 -LICENSE="ISC"
36 -SLOT="0"
37 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
38 -IUSE="debug selinux vim-syntax"
39 -
40 -COMMON_DEPEND="
41 - >=dev-libs/libevent-2.0.10
42 - sys-libs/ncurses"
43 -DEPEND="${COMMON_DEPEND}
44 - virtual/pkgconfig"
45 -RDEPEND="${COMMON_DEPEND}
46 - selinux? ( sec-policy/selinux-screen )
47 - vim-syntax? ( || (
48 - app-editors/vim
49 - app-editors/gvim ) )"
50 -
51 -DOCS=( CHANGES FAQ README TODO )
52 -
53 -PATCHES=( "${FILESDIR}"/${P}-flags.patch )
54 -
55 -pkg_setup() {
56 - if has_version "<app-misc/tmux-1.9a"; then
57 - echo
58 - ewarn "Some configuration options changed in this release."
59 - ewarn "Please read the CHANGES file in /usr/share/doc/${PF}/"
60 - ewarn
61 - ewarn "WARNING: After updating to ${P} you will _not_ be able to connect to any"
62 - ewarn "older, running tmux server instances. You'll have to use an existing client to"
63 - ewarn "end your old sessions or kill the old server instances. Otherwise you'll have"
64 - ewarn "to temporarily downgrade to access them."
65 - echo
66 - fi
67 -}
68 -
69 -src_prepare() {
70 - # bug 438558
71 - # 1.7 segfaults when entering copy mode if compiled with -Os
72 - replace-flags -Os -O2
73 -
74 - # regenerate aclocal.m4 to support earlier automake versions
75 - rm aclocal.m4 || die
76 -
77 - # remove generated files
78 - rm -r compat/.{dirstamp,deps} || die
79 -
80 - autotools-utils_src_prepare
81 -}
82 -
83 -src_configure() {
84 - local myeconfargs=(
85 - --sysconfdir="${EPREFIX}"/etc
86 - $(use_enable debug)
87 - )
88 - autotools-utils_src_configure
89 -}
90 -
91 -src_install() {
92 - autotools-utils_src_install
93 -
94 - newbashcomp examples/bash_completion_tmux.sh ${PN}
95 -
96 - docinto examples
97 - dodoc examples/*.conf
98 -
99 - if use vim-syntax; then
100 - insinto /usr/share/vim/vimfiles/syntax
101 - doins examples/tmux.vim
102 -
103 - insinto /usr/share/vim/vimfiles/ftdetect
104 - doins "${FILESDIR}"/tmux.vim
105 - fi
106 -}