1 |
commit: 9ab7a03bc9a2dbf2e6f5228c8cedf1d4eb177ccc |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Nov 26 17:15:21 2019 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Nov 26 17:15:21 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9ab7a03b |
7 |
|
8 |
app-misc/tmux: Bump to version 3.0 |
9 |
|
10 |
Package-Manager: Portage-2.3.79, Repoman-2.3.18 |
11 |
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org> |
12 |
|
13 |
app-misc/tmux/Manifest | 1 + |
14 |
app-misc/tmux/tmux-3.0.ebuild | 90 +++++++++++++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 91 insertions(+) |
16 |
|
17 |
diff --git a/app-misc/tmux/Manifest b/app-misc/tmux/Manifest |
18 |
index 403c1730953..18f3ea23956 100644 |
19 |
--- a/app-misc/tmux/Manifest |
20 |
+++ b/app-misc/tmux/Manifest |
21 |
@@ -1,2 +1,3 @@ |
22 |
DIST tmux-2.9a.tar.gz 510915 BLAKE2B 6a3dcdb66419fdd40818c18c3a16adf83fa67b3f5d4cc60953b64d62d2e3e139cad0612eef4233d3d5fa76aaae93e437c8394aa118791c87cb0670f1ddc65eae SHA512 aca6882688727c10c5647443fdd18bbd6c0f80b7a3bf9667903d1b89d523e604cd715f176f33f2e5673258f00e626a6dc273f80fe97ae4f91621814d89985713 |
23 |
+DIST tmux-3.0.tar.gz 546099 BLAKE2B 11a61bb88d2658147ba675cb6e334b90b334125d0fa783dfb1bcd999d1dfc178f30c4bcfb6ad39e67bcdf524caa20b32cb1518f21aed66c0f038341318676a29 SHA512 50fc25f84f04486e9b5dc598b884419d95ef158e9b36d63805db97149811cdfa71f086eafa9610a6a9a3041d1e9eb6d6ccc9277d1926d0e936b0d6a8e1d1cbf8 |
24 |
DIST tmux-bash-completion-678a27616b70c649c6701cae9cd8c92b58cc051b 458 BLAKE2B 04143e6d1cfbbd467f1656f949363cb7a4a3e16e9b3cf56b8b0423babe56276abee2622964cb490005fc76d1cbe12201fb1a6446a6f860c2cc1ff3c9bd5fc496 SHA512 fe0aca7d03067af87e0788a2fa902c7ef5500ba72295cb63c5a1814534a008c224256d7f890ac1af6d17f3734b45148765e1632f075e284c453185df2927b979 |
25 |
|
26 |
diff --git a/app-misc/tmux/tmux-3.0.ebuild b/app-misc/tmux/tmux-3.0.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..350d8121d21 |
29 |
--- /dev/null |
30 |
+++ b/app-misc/tmux/tmux-3.0.ebuild |
31 |
@@ -0,0 +1,90 @@ |
32 |
+# Copyright 1999-2019 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=7 |
36 |
+ |
37 |
+inherit autotools flag-o-matic |
38 |
+ |
39 |
+DESCRIPTION="Terminal multiplexer" |
40 |
+HOMEPAGE="https://tmux.github.io/" |
41 |
+if [[ "${PV}" == 9999 ]] ; then |
42 |
+ inherit git-r3 |
43 |
+ SRC_URI="https://raw.githubusercontent.com/przepompownia/tmux-bash-completion/678a27616b70c649c6701cae9cd8c92b58cc051b/completions/tmux -> tmux-bash-completion-678a27616b70c649c6701cae9cd8c92b58cc051b" |
44 |
+ EGIT_REPO_URI="https://github.com/tmux/tmux.git" |
45 |
+else |
46 |
+ SRC_URI="https://github.com/tmux/tmux/releases/download/$(ver_cut 1-2)/${P/_/-}.tar.gz" |
47 |
+ [[ "${PV}" == *_rc* ]] || \ |
48 |
+ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" |
49 |
+ S="${WORKDIR}/${P/_/-}" |
50 |
+fi |
51 |
+ |
52 |
+LICENSE="ISC" |
53 |
+SLOT="0" |
54 |
+IUSE="debug selinux utempter vim-syntax kernel_FreeBSD kernel_linux" |
55 |
+ |
56 |
+DEPEND=" |
57 |
+ dev-libs/libevent:0= |
58 |
+ sys-libs/ncurses:0= |
59 |
+ utempter? ( |
60 |
+ kernel_linux? ( sys-libs/libutempter ) |
61 |
+ kernel_FreeBSD? ( || ( >=sys-freebsd/freebsd-lib-9.0 sys-libs/libutempter ) ) |
62 |
+ )" |
63 |
+ |
64 |
+BDEPEND=" |
65 |
+ virtual/pkgconfig |
66 |
+ virtual/yacc |
67 |
+" |
68 |
+ |
69 |
+RDEPEND=" |
70 |
+ ${DEPEND} |
71 |
+ selinux? ( sec-policy/selinux-screen ) |
72 |
+ vim-syntax? ( app-vim/vim-tmux )" |
73 |
+ |
74 |
+DOCS=( CHANGES README ) |
75 |
+ |
76 |
+PATCHES=( |
77 |
+ "${FILESDIR}/${PN}-2.4-flags.patch" |
78 |
+ |
79 |
+ # upstream fixes (can be removed with next version bump) |
80 |
+) |
81 |
+ |
82 |
+src_prepare() { |
83 |
+ # bug 438558 |
84 |
+ # 1.7 segfaults when entering copy mode if compiled with -Os |
85 |
+ replace-flags -Os -O2 |
86 |
+ |
87 |
+ default |
88 |
+ eautoreconf |
89 |
+} |
90 |
+ |
91 |
+src_configure() { |
92 |
+ local myeconfargs=( |
93 |
+ --sysconfdir="${EPREFIX}"/etc |
94 |
+ $(use_enable debug) |
95 |
+ $(use_enable utempter) |
96 |
+ ) |
97 |
+ econf "${myeconfargs[@]}" |
98 |
+} |
99 |
+ |
100 |
+src_install() { |
101 |
+ default |
102 |
+ |
103 |
+ einstalldocs |
104 |
+ |
105 |
+ dodoc example_tmux.conf |
106 |
+ docompress -x /usr/share/doc/${PF}/example_tmux.conf |
107 |
+} |
108 |
+ |
109 |
+pkg_postinst() { |
110 |
+ if ! ver_test 1.9a -ge ${REPLACING_VERSIONS:-1.9a}; then |
111 |
+ echo |
112 |
+ ewarn "Some configuration options changed in this release." |
113 |
+ ewarn "Please read the CHANGES file in /usr/share/doc/${PF}/" |
114 |
+ ewarn |
115 |
+ ewarn "WARNING: After updating to ${P} you will _not_ be able to connect to any" |
116 |
+ ewarn "older, running tmux server instances. You'll have to use an existing client to" |
117 |
+ ewarn "end your old sessions or kill the old server instances. Otherwise you'll have" |
118 |
+ ewarn "to temporarily downgrade to access them." |
119 |
+ echo |
120 |
+ fi |
121 |
+} |