1 |
commit: 382ee61c3dcfd9ec419d2ec78fc1315a3c0611bd |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Jun 7 23:44:37 2022 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jun 7 23:45:01 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=382ee61c |
7 |
|
8 |
app-misc/tmux: add 3.3 |
9 |
|
10 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
11 |
|
12 |
app-misc/tmux/Manifest | 1 + |
13 |
.../tmux/{tmux-9999.ebuild => tmux-3.3.ebuild} | 33 ++++++++++++++-------- |
14 |
app-misc/tmux/tmux-9999.ebuild | 33 ++++++++++++++-------- |
15 |
3 files changed, 43 insertions(+), 24 deletions(-) |
16 |
|
17 |
diff --git a/app-misc/tmux/Manifest b/app-misc/tmux/Manifest |
18 |
index bb1858a63910..9ac29929b4a8 100644 |
19 |
--- a/app-misc/tmux/Manifest |
20 |
+++ b/app-misc/tmux/Manifest |
21 |
@@ -1,3 +1,4 @@ |
22 |
DIST tmux-3.1c.tar.gz 561323 BLAKE2B c6f688a854e128acffa140321a5dd00e4ca090ff79c7cbff15febbca6da9f7626c675fe1820b344637ff0fbe94ae6d0da7f111880ce5d74f97c4b6a90ceef802 SHA512 aad2e6457dd350369f245f711f1936a575d0588b72e660d10e7abc7d373da0d322903b451ad00b96a3e0e6847ca855673da6a4c5447cea91fa756edd23659397 |
23 |
DIST tmux-3.2a.tar.gz 648394 BLAKE2B 94527d4d1016caddab170b5bbfd181514768474898314241fb65a53a1f5ae94863bacedf90a7543690c115d15295960dfab4d5ba2ce31cd105585a73fb9b82d1 SHA512 6e52c7f5d03b2c8b8c4c8caac092a166956ba97334b426f2823d74dc5849a1d31a80145924f641f69dd2c244809e9350d9bd7070897fa2e3e1f9f086f9b2f365 |
24 |
+DIST tmux-3.3.tar.gz 677501 BLAKE2B 7e5b66d6d294c580d86f4f8729f867277e00f401dfa2a4b4c5dd5bd08c1e9884122340cbebfb37f56c67c65e940667f5b79b638f20f05282c434f7b3641ad003 SHA512 2988ccef62337dee0a22579868608b611ce17e2160358a9ba4cc3a353fd1e6b1fea87584ceeed885f986b1786aac1b681c71bdf6a48ed4953809093280b38c09 |
25 |
DIST tmux-bash-completion-678a27616b70c649c6701cae9cd8c92b58cc051b 458 BLAKE2B 04143e6d1cfbbd467f1656f949363cb7a4a3e16e9b3cf56b8b0423babe56276abee2622964cb490005fc76d1cbe12201fb1a6446a6f860c2cc1ff3c9bd5fc496 SHA512 fe0aca7d03067af87e0788a2fa902c7ef5500ba72295cb63c5a1814534a008c224256d7f890ac1af6d17f3734b45148765e1632f075e284c453185df2927b979 |
26 |
|
27 |
diff --git a/app-misc/tmux/tmux-9999.ebuild b/app-misc/tmux/tmux-3.3.ebuild |
28 |
similarity index 60% |
29 |
copy from app-misc/tmux/tmux-9999.ebuild |
30 |
copy to app-misc/tmux/tmux-3.3.ebuild |
31 |
index 9e9fa7c5e753..0ee80bc4dec7 100644 |
32 |
--- a/app-misc/tmux/tmux-9999.ebuild |
33 |
+++ b/app-misc/tmux/tmux-3.3.ebuild |
34 |
@@ -1,31 +1,34 @@ |
35 |
# Copyright 1999-2022 Gentoo Authors |
36 |
# Distributed under the terms of the GNU General Public License v2 |
37 |
|
38 |
-EAPI=7 |
39 |
+EAPI=8 |
40 |
|
41 |
inherit autotools flag-o-matic |
42 |
|
43 |
DESCRIPTION="Terminal multiplexer" |
44 |
HOMEPAGE="https://tmux.github.io/" |
45 |
-if [[ "${PV}" == 9999 ]] ; then |
46 |
+if [[ ${PV} == 9999 ]] ; then |
47 |
inherit git-r3 |
48 |
SRC_URI="https://raw.githubusercontent.com/przepompownia/tmux-bash-completion/678a27616b70c649c6701cae9cd8c92b58cc051b/completions/tmux -> tmux-bash-completion-678a27616b70c649c6701cae9cd8c92b58cc051b" |
49 |
EGIT_REPO_URI="https://github.com/tmux/tmux.git" |
50 |
else |
51 |
- SRC_URI="https://github.com/tmux/tmux/releases/download/$(ver_cut 1-2)/${P/_/-}.tar.gz" |
52 |
- [[ "${PV}" == *_rc* ]] || \ |
53 |
- KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" |
54 |
+ SRC_URI="https://github.com/tmux/tmux/releases/download/${PV}/${P/_/-}.tar.gz" |
55 |
+ if [[ ${PV} != *_rc* ]] ; then |
56 |
+ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" |
57 |
+ fi |
58 |
S="${WORKDIR}/${P/_/-}" |
59 |
fi |
60 |
|
61 |
LICENSE="ISC" |
62 |
SLOT="0" |
63 |
-IUSE="debug selinux utempter vim-syntax" |
64 |
+IUSE="debug selinux systemd utempter vim-syntax" |
65 |
|
66 |
DEPEND=" |
67 |
- dev-libs/libevent:0= |
68 |
- sys-libs/ncurses:0= |
69 |
+ dev-libs/libevent:= |
70 |
+ sys-libs/ncurses:= |
71 |
+ systemd? ( sys-apps/systemd:= ) |
72 |
utempter? ( sys-libs/libutempter ) |
73 |
+ kernel_Darwin? ( dev-libs/libutf8proc:= ) |
74 |
" |
75 |
|
76 |
BDEPEND=" |
77 |
@@ -36,14 +39,13 @@ BDEPEND=" |
78 |
RDEPEND=" |
79 |
${DEPEND} |
80 |
selinux? ( sec-policy/selinux-screen ) |
81 |
- vim-syntax? ( app-vim/vim-tmux )" |
82 |
+ vim-syntax? ( app-vim/vim-tmux ) |
83 |
+" |
84 |
|
85 |
DOCS=( CHANGES README ) |
86 |
|
87 |
PATCHES=( |
88 |
- "${FILESDIR}/${PN}-2.4-flags.patch" |
89 |
- |
90 |
- # upstream fixes (can be removed with next version bump) |
91 |
+ "${FILESDIR}"/${PN}-2.4-flags.patch |
92 |
) |
93 |
|
94 |
src_prepare() { |
95 |
@@ -59,8 +61,15 @@ src_configure() { |
96 |
local myeconfargs=( |
97 |
--sysconfdir="${EPREFIX}"/etc |
98 |
$(use_enable debug) |
99 |
+ $(use_enable systemd) |
100 |
$(use_enable utempter) |
101 |
+ |
102 |
+ # For now, we only expose this for macOS, because |
103 |
+ # upstream strongly encourage it. I'm not sure it's |
104 |
+ # needed on Linux right now. |
105 |
+ $(use_enable kernel_Darwin utf8proc) |
106 |
) |
107 |
+ |
108 |
econf "${myeconfargs[@]}" |
109 |
} |
110 |
|
111 |
|
112 |
diff --git a/app-misc/tmux/tmux-9999.ebuild b/app-misc/tmux/tmux-9999.ebuild |
113 |
index 9e9fa7c5e753..0ee80bc4dec7 100644 |
114 |
--- a/app-misc/tmux/tmux-9999.ebuild |
115 |
+++ b/app-misc/tmux/tmux-9999.ebuild |
116 |
@@ -1,31 +1,34 @@ |
117 |
# Copyright 1999-2022 Gentoo Authors |
118 |
# Distributed under the terms of the GNU General Public License v2 |
119 |
|
120 |
-EAPI=7 |
121 |
+EAPI=8 |
122 |
|
123 |
inherit autotools flag-o-matic |
124 |
|
125 |
DESCRIPTION="Terminal multiplexer" |
126 |
HOMEPAGE="https://tmux.github.io/" |
127 |
-if [[ "${PV}" == 9999 ]] ; then |
128 |
+if [[ ${PV} == 9999 ]] ; then |
129 |
inherit git-r3 |
130 |
SRC_URI="https://raw.githubusercontent.com/przepompownia/tmux-bash-completion/678a27616b70c649c6701cae9cd8c92b58cc051b/completions/tmux -> tmux-bash-completion-678a27616b70c649c6701cae9cd8c92b58cc051b" |
131 |
EGIT_REPO_URI="https://github.com/tmux/tmux.git" |
132 |
else |
133 |
- SRC_URI="https://github.com/tmux/tmux/releases/download/$(ver_cut 1-2)/${P/_/-}.tar.gz" |
134 |
- [[ "${PV}" == *_rc* ]] || \ |
135 |
- KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" |
136 |
+ SRC_URI="https://github.com/tmux/tmux/releases/download/${PV}/${P/_/-}.tar.gz" |
137 |
+ if [[ ${PV} != *_rc* ]] ; then |
138 |
+ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" |
139 |
+ fi |
140 |
S="${WORKDIR}/${P/_/-}" |
141 |
fi |
142 |
|
143 |
LICENSE="ISC" |
144 |
SLOT="0" |
145 |
-IUSE="debug selinux utempter vim-syntax" |
146 |
+IUSE="debug selinux systemd utempter vim-syntax" |
147 |
|
148 |
DEPEND=" |
149 |
- dev-libs/libevent:0= |
150 |
- sys-libs/ncurses:0= |
151 |
+ dev-libs/libevent:= |
152 |
+ sys-libs/ncurses:= |
153 |
+ systemd? ( sys-apps/systemd:= ) |
154 |
utempter? ( sys-libs/libutempter ) |
155 |
+ kernel_Darwin? ( dev-libs/libutf8proc:= ) |
156 |
" |
157 |
|
158 |
BDEPEND=" |
159 |
@@ -36,14 +39,13 @@ BDEPEND=" |
160 |
RDEPEND=" |
161 |
${DEPEND} |
162 |
selinux? ( sec-policy/selinux-screen ) |
163 |
- vim-syntax? ( app-vim/vim-tmux )" |
164 |
+ vim-syntax? ( app-vim/vim-tmux ) |
165 |
+" |
166 |
|
167 |
DOCS=( CHANGES README ) |
168 |
|
169 |
PATCHES=( |
170 |
- "${FILESDIR}/${PN}-2.4-flags.patch" |
171 |
- |
172 |
- # upstream fixes (can be removed with next version bump) |
173 |
+ "${FILESDIR}"/${PN}-2.4-flags.patch |
174 |
) |
175 |
|
176 |
src_prepare() { |
177 |
@@ -59,8 +61,15 @@ src_configure() { |
178 |
local myeconfargs=( |
179 |
--sysconfdir="${EPREFIX}"/etc |
180 |
$(use_enable debug) |
181 |
+ $(use_enable systemd) |
182 |
$(use_enable utempter) |
183 |
+ |
184 |
+ # For now, we only expose this for macOS, because |
185 |
+ # upstream strongly encourage it. I'm not sure it's |
186 |
+ # needed on Linux right now. |
187 |
+ $(use_enable kernel_Darwin utf8proc) |
188 |
) |
189 |
+ |
190 |
econf "${myeconfargs[@]}" |
191 |
} |