Gentoo Archives: gentoo-commits

From: Lars Wendler <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-misc/tmux/
Date: Thu, 02 Jun 2016 12:37:31
Message-Id: 1464871040.f76b4784da63d97557f89ff62937833584c7996e.polynomial-c@gentoo
1 commit: f76b4784da63d97557f89ff62937833584c7996e
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Thu Jun 2 12:36:56 2016 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Thu Jun 2 12:37:20 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f76b4784
7
8 app-misc/tmux: Bumped live ebuild to EAPI-6. Cleanup.
9
10 Package-Manager: portage-2.2.28
11 Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
12
13 app-misc/tmux/tmux-9999.ebuild | 37 ++++++++++++++++---------------------
14 1 file changed, 16 insertions(+), 21 deletions(-)
15
16 diff --git a/app-misc/tmux/tmux-9999.ebuild b/app-misc/tmux/tmux-9999.ebuild
17 index 577675c..223d23a 100644
18 --- a/app-misc/tmux/tmux-9999.ebuild
19 +++ b/app-misc/tmux/tmux-9999.ebuild
20 @@ -2,11 +2,9 @@
21 # Distributed under the terms of the GNU General Public License v2
22 # $Id$
23
24 -EAPI=5
25 +EAPI=6
26
27 -AUTOTOOLS_AUTORECONF=true
28 -
29 -inherit autotools-utils git-r3 bash-completion-r1 flag-o-matic versionator
30 +inherit autotools git-r3 flag-o-matic versionator
31
32 DESCRIPTION="Terminal multiplexer"
33 HOMEPAGE="http://tmux.github.io/"
34 @@ -17,12 +15,14 @@ EGIT_REPO_URI="https://github.com/tmux/tmux.git"
35 LICENSE="ISC"
36 SLOT="0"
37 KEYWORDS=""
38 -IUSE="debug selinux vim-syntax kernel_FreeBSD kernel_linux"
39 +IUSE="debug selinux utempter vim-syntax kernel_FreeBSD kernel_linux"
40
41 CDEPEND="
42 >=dev-libs/libevent-2.0.10
43 - kernel_linux? ( sys-libs/libutempter )
44 - kernel_FreeBSD? ( || ( >=sys-freebsd/freebsd-lib-9.0 sys-libs/libutempter ) )
45 + utempter? (
46 + kernel_linux? ( sys-libs/libutempter )
47 + kernel_FreeBSD? ( || ( >=sys-freebsd/freebsd-lib-9.0 sys-libs/libutempter ) )
48 + )
49 sys-libs/ncurses:0="
50 DEPEND="${CDEPEND}
51 virtual/pkgconfig"
52 @@ -48,29 +48,24 @@ src_prepare() {
53 # 1.7 segfaults when entering copy mode if compiled with -Os
54 replace-flags -Os -O2
55
56 - autotools-utils_src_prepare
57 + default
58 +
59 + eautoreconf
60 }
61
62 src_configure() {
63 - local myeconfargs=(
64 - --sysconfdir="${EPREFIX}"/etc
65 - $(use_enable debug)
66 - )
67 - autotools-utils_src_configure
68 + econf \
69 + --sysconfdir="${EPREFIX}"/etc \
70 + $(use_enable debug) \
71 + $(use_enable utempter)
72 }
73
74 src_install() {
75 - autotools-utils_src_install
76 -
77 - newbashcomp "${DISTDIR}/tmux-bash-completion-678a27616b70c649c6701cae9cd8c92b58cc051b" ${PN}
78 + default
79
80 - docinto examples
81 - dodoc example_tmux.conf
82 + einstalldocs
83
84 if use vim-syntax; then
85 - insinto /usr/share/vim/vimfiles/syntax
86 - newins "${DISTDIR}/tmux.vim-95f6126c187667cc7f9c573c45c3b356cf69f4ca" tmux.vim
87 -
88 insinto /usr/share/vim/vimfiles/ftdetect
89 doins "${FILESDIR}"/tmux.vim
90 fi