1 |
commit: 4d2bcf137311d2608ff768485910ff5382731cf6 |
2 |
Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Oct 31 12:07:58 2020 +0000 |
4 |
Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Oct 31 12:08:35 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4d2bcf13 |
7 |
|
8 |
app-misc/tmux: Version bump (v3.1.c) |
9 |
|
10 |
Package-Manager: Portage-3.0.8, Repoman-3.0.2 |
11 |
Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org> |
12 |
|
13 |
app-misc/tmux/Manifest | 1 + |
14 |
app-misc/tmux/tmux-3.1c.ebuild | 74 ++++++++++++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 75 insertions(+) |
16 |
|
17 |
diff --git a/app-misc/tmux/Manifest b/app-misc/tmux/Manifest |
18 |
index e46d1994731..4c29eb14a99 100644 |
19 |
--- a/app-misc/tmux/Manifest |
20 |
+++ b/app-misc/tmux/Manifest |
21 |
@@ -1,2 +1,3 @@ |
22 |
DIST tmux-3.1b.tar.gz 561152 BLAKE2B f5ff0c68999f9d82c26ab8c781b9f2bab56501573592c741304c49eec283c073119b95ba3c77f266e808ab494577c5098730fc5fb6aad0b82340ac30fbd2310d SHA512 fd5269f5f58ad20c35ece24af74035e622e16511baa331717bded5edcbfd46c1847fd86c02431a7d889ce7d5bec89c8177a680ca60e9ca821f13065d26ca7fa1 |
23 |
+DIST tmux-3.1c.tar.gz 561323 BLAKE2B c6f688a854e128acffa140321a5dd00e4ca090ff79c7cbff15febbca6da9f7626c675fe1820b344637ff0fbe94ae6d0da7f111880ce5d74f97c4b6a90ceef802 SHA512 aad2e6457dd350369f245f711f1936a575d0588b72e660d10e7abc7d373da0d322903b451ad00b96a3e0e6847ca855673da6a4c5447cea91fa756edd23659397 |
24 |
DIST tmux-bash-completion-678a27616b70c649c6701cae9cd8c92b58cc051b 458 BLAKE2B 04143e6d1cfbbd467f1656f949363cb7a4a3e16e9b3cf56b8b0423babe56276abee2622964cb490005fc76d1cbe12201fb1a6446a6f860c2cc1ff3c9bd5fc496 SHA512 fe0aca7d03067af87e0788a2fa902c7ef5500ba72295cb63c5a1814534a008c224256d7f890ac1af6d17f3734b45148765e1632f075e284c453185df2927b979 |
25 |
|
26 |
diff --git a/app-misc/tmux/tmux-3.1c.ebuild b/app-misc/tmux/tmux-3.1c.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..b5e760c836e |
29 |
--- /dev/null |
30 |
+++ b/app-misc/tmux/tmux-3.1c.ebuild |
31 |
@@ -0,0 +1,74 @@ |
32 |
+# Copyright 1999-2020 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/${PV}/${P/_/-}.tar.gz" |
47 |
+ [[ "${PV}" == *_rc* ]] || \ |
48 |
+ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~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? ( sys-libs/libutempter ) |
60 |
+" |
61 |
+ |
62 |
+BDEPEND=" |
63 |
+ virtual/pkgconfig |
64 |
+ virtual/yacc |
65 |
+" |
66 |
+ |
67 |
+RDEPEND=" |
68 |
+ ${DEPEND} |
69 |
+ selinux? ( sec-policy/selinux-screen ) |
70 |
+ vim-syntax? ( app-vim/vim-tmux )" |
71 |
+ |
72 |
+DOCS=( CHANGES README ) |
73 |
+ |
74 |
+PATCHES=( |
75 |
+ "${FILESDIR}/${PN}-2.4-flags.patch" |
76 |
+ |
77 |
+ # upstream fixes (can be removed with next version bump) |
78 |
+) |
79 |
+ |
80 |
+src_prepare() { |
81 |
+ # bug 438558 |
82 |
+ # 1.7 segfaults when entering copy mode if compiled with -Os |
83 |
+ replace-flags -Os -O2 |
84 |
+ |
85 |
+ default |
86 |
+ eautoreconf |
87 |
+} |
88 |
+ |
89 |
+src_configure() { |
90 |
+ local myeconfargs=( |
91 |
+ --sysconfdir="${EPREFIX}"/etc |
92 |
+ $(use_enable debug) |
93 |
+ $(use_enable utempter) |
94 |
+ ) |
95 |
+ econf "${myeconfargs[@]}" |
96 |
+} |
97 |
+ |
98 |
+src_install() { |
99 |
+ default |
100 |
+ |
101 |
+ einstalldocs |
102 |
+ |
103 |
+ dodoc example_tmux.conf |
104 |
+ docompress -x /usr/share/doc/${PF}/example_tmux.conf |
105 |
+} |