1 |
commit: cfd560ee7b35cfd78231d9da747c7b733c4bbf2d |
2 |
Author: Patrice Clement <monsieurp <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Aug 3 20:08:30 2017 +0000 |
4 |
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Aug 3 20:11:19 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cfd560ee |
7 |
|
8 |
app-misc/tmux: add a dependency on app-vim/vim-tmux. |
9 |
|
10 |
Turning on the vim-syntax USE flag will now install the app-vim/vim-tmux plugin |
11 |
instead of just one single file. |
12 |
|
13 |
This plugin can be found at https://github.com/tmux-plugins/vim-tmux. |
14 |
|
15 |
Gentoo-Bug: https://bugs.gentoo.org/603526 |
16 |
|
17 |
Package-Manager: Portage-2.3.6, Repoman-2.3.1 |
18 |
|
19 |
app-misc/tmux/tmux-2.5-r2.ebuild | 83 ++++++++++++++++++++++++++++++++++++++++ |
20 |
1 file changed, 83 insertions(+) |
21 |
|
22 |
diff --git a/app-misc/tmux/tmux-2.5-r2.ebuild b/app-misc/tmux/tmux-2.5-r2.ebuild |
23 |
new file mode 100644 |
24 |
index 00000000000..092a05aeac5 |
25 |
--- /dev/null |
26 |
+++ b/app-misc/tmux/tmux-2.5-r2.ebuild |
27 |
@@ -0,0 +1,83 @@ |
28 |
+# Copyright 1999-2017 Gentoo Foundation |
29 |
+# Distributed under the terms of the GNU General Public License v2 |
30 |
+ |
31 |
+EAPI=6 |
32 |
+ |
33 |
+inherit autotools flag-o-matic versionator |
34 |
+ |
35 |
+DESCRIPTION="Terminal multiplexer" |
36 |
+HOMEPAGE="http://tmux.github.io/" |
37 |
+SRC_URI="https://github.com/${PN}/${PN}/releases/download/${PV/_*}/${P/_/-}.tar.gz" |
38 |
+ |
39 |
+LICENSE="ISC" |
40 |
+SLOT="0" |
41 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" |
42 |
+IUSE="debug selinux utempter vim-syntax kernel_FreeBSD kernel_linux" |
43 |
+ |
44 |
+CDEPEND=" |
45 |
+ dev-libs/libevent:0= |
46 |
+ sys-libs/ncurses:0= |
47 |
+ utempter? ( |
48 |
+ kernel_linux? ( sys-libs/libutempter ) |
49 |
+ kernel_FreeBSD? ( || ( >=sys-freebsd/freebsd-lib-9.0 sys-libs/libutempter ) ) |
50 |
+ )" |
51 |
+ |
52 |
+DEPEND=" |
53 |
+ ${CDEPEND} |
54 |
+ virtual/pkgconfig" |
55 |
+ |
56 |
+RDEPEND=" |
57 |
+ ${CDEPEND} |
58 |
+ selinux? ( sec-policy/selinux-screen ) |
59 |
+ vim-syntax? ( |
60 |
+ || ( |
61 |
+ app-editors/vim |
62 |
+ app-editors/gvim |
63 |
+ ) |
64 |
+ app-vim/vim-tmux |
65 |
+ )" |
66 |
+ |
67 |
+DOCS=( CHANGES FAQ README TODO example_tmux.conf ) |
68 |
+ |
69 |
+PATCHES=( |
70 |
+ # usptream fixes (can be removed with next version bump) |
71 |
+ "${FILESDIR}/${PN}-2.4-flags.patch" |
72 |
+) |
73 |
+ |
74 |
+S="${WORKDIR}/${P/_/-}" |
75 |
+ |
76 |
+src_prepare() { |
77 |
+ # bug 438558 |
78 |
+ # 1.7 segfaults when entering copy mode if compiled with -Os |
79 |
+ replace-flags -Os -O2 |
80 |
+ |
81 |
+ # regenerate aclocal.m4 to support earlier automake versions |
82 |
+ rm -v aclocal.m4 || die |
83 |
+ |
84 |
+ default |
85 |
+ eautoreconf |
86 |
+} |
87 |
+ |
88 |
+src_configure() { |
89 |
+ local myeconfargs=( |
90 |
+ --sysconfdir="${EPREFIX}"/etc |
91 |
+ $(use_enable debug) |
92 |
+ $(use_enable utempter) |
93 |
+ ) |
94 |
+ |
95 |
+ econf "${myeconfargs[@]}" |
96 |
+} |
97 |
+ |
98 |
+pkg_postinst() { |
99 |
+ if ! version_is_at_least 1.9a ${REPLACING_VERSIONS:-1.9a}; then |
100 |
+ echo |
101 |
+ ewarn "Some configuration options changed in this release." |
102 |
+ ewarn "Please read the CHANGES file in /usr/share/doc/${PF}/" |
103 |
+ ewarn |
104 |
+ ewarn "WARNING: After updating to ${P} you will _not_ be able to connect to any" |
105 |
+ ewarn "older, running tmux server instances. You'll have to use an existing client to" |
106 |
+ ewarn "end your old sessions or kill the old server instances. Otherwise you'll have" |
107 |
+ ewarn "to temporarily downgrade to access them." |
108 |
+ echo |
109 |
+ fi |
110 |
+} |