diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-09-30 01:25:53 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-09-30 01:25:53 +0100 |
commit | f16e0a3eea2c1d2e5c495ed1802dea365b4fda4b (patch) | |
tree | 8942fce466ff12eb53fafa1a5731ff2751fcd593 /app-misc/tmux | |
parent | 04ac238703da84168e02b06fb131d1d17d85be23 (diff) |
gentoo auto-resync : 30:09:2024 - 01:25:52
Diffstat (limited to 'app-misc/tmux')
-rw-r--r-- | app-misc/tmux/Manifest | 2 | ||||
-rw-r--r-- | app-misc/tmux/tmux-3.5.ebuild | 97 |
2 files changed, 99 insertions, 0 deletions
diff --git a/app-misc/tmux/Manifest b/app-misc/tmux/Manifest index 398b2d2afe38..6d6d98d6d9a6 100644 --- a/app-misc/tmux/Manifest +++ b/app-misc/tmux/Manifest @@ -4,8 +4,10 @@ AUX tmux.service 124 BLAKE2B a4eecfeb4baa24433408c9dfb4848d420da4d54a2c62f6a4e05 AUX tmux.socket 132 BLAKE2B 9aa90b43f2eaedfce327287cc8eee4808c7870364668c54d0ffd4b5064d45a4c986702fdf64dde5fe24496635e700e1385a92a02060cb07819b48ab9d381b65b SHA512 fd2a8feb7474702515e9186a801fa5601feca5aedd39138d0f0623911b93255bc7cf4aa0ee066ba2c059601a21f2eb29794fe041d5a8cff91c63584e579aaff9 DIST tmux-3.3a.tar.gz 677448 BLAKE2B e835ce0f136175521035a684419f221864edb0a9506d7d68cbc0239b1349e78949ebd96573a9d8651a2df6d99acb433075d6e0c20d7394a53fe6b44bd9e56069 SHA512 29a846df7d93601c42a22f84f606931dc65da1f70b67d351d0425f77ea3affe3e8218b2940d42cd3dadf3cd1aa95032daad3ecb14fbff0f69939d1beae0498c7 DIST tmux-3.4.tar.gz 707213 BLAKE2B 2b1990b95d7439702e9287402d9828d4ecab573202c099aa482969c047b540d4b899f79d87587fc712e727d9cebf5fa7393512087e469fc355b4a30b1894e229 SHA512 bd3880211d99d8ee15947000abf8a1832fdfa48b29b2df81b66d5969cf3f4e64e746f984f6139bfc57e3ebee7fe8dc7cbb6bccb779307607de6c376969fecbff +DIST tmux-3.5.tar.gz 715322 BLAKE2B 6c257e7c3b2f49ae2a54dd28c8d89d4832ad1eb3a49e800ff83a03fd4e620bdee695845b1c272cff25f0805502c1309e9d14faae6ca3fb4d4f050d9abf4aeae9 SHA512 bb3ca1ae8b330c3efc8fcbe8a65a40f78beadaf08c79265f6377c4187d26028e485e5404b832bbea16b170fd9bbdf2f1554d67dd3b1289e183fca19df460b695 DIST tmux-bash-completion-678a27616b70c649c6701cae9cd8c92b58cc051b 458 BLAKE2B 04143e6d1cfbbd467f1656f949363cb7a4a3e16e9b3cf56b8b0423babe56276abee2622964cb490005fc76d1cbe12201fb1a6446a6f860c2cc1ff3c9bd5fc496 SHA512 fe0aca7d03067af87e0788a2fa902c7ef5500ba72295cb63c5a1814534a008c224256d7f890ac1af6d17f3734b45148765e1632f075e284c453185df2927b979 EBUILD tmux-3.3a-r1.ebuild 1917 BLAKE2B 51b8c604f2a8c26bb4998a670318202e20657ca9b5b3ba34782898cce02b1548849316d0dbd2790808a01a104af181d9ab2b318fa1419a69e7f6305f1a1cffeb SHA512 866005d11cc808d62c729d2824187d3ff9fd4c9edb24ec57caa0444ad8b13c93fbd1635798e53794ae3f8ceb6294963381adaab2f562dbcb66691be63759b3d9 EBUILD tmux-3.4-r1.ebuild 2187 BLAKE2B 7d074d53fd00e3ebaa7562d6aa2962619866cdcbd04035a4aa7c70626a203e07c10e51eae252e68005a36fcdc736f1d4443019c6623ab1d3437c400e4a655bd4 SHA512 e579de3274d68d879987593febea41af273ccd18a89584f00f44a7f5d581708f8535f7fbd9bd29c28301416e03b41d091a1ff3bee9858cb1e7ff002ad1da1e69 +EBUILD tmux-3.5.ebuild 2264 BLAKE2B 38eae9383fc58de2c0aab8d94b4041b7f2acc49501093f9b4b7630c76b8033b6887b74ce381b050ff1308cad5442531af666f5a4e45d72af4d12919d0b0483ad SHA512 2ce5bd88f80ec7894d81e287f7ee6bdf6537cf666fe8427956f5ac7ef73cc53e95cc30f3dc07219425ed790e7f003f7c17fbec0e1e7532332070caa409c9a3d0 EBUILD tmux-9999.ebuild 2126 BLAKE2B 221fa9f3bc7408377934bb3215decea6016cfbea6b33e51295d6305d4692eaa75ac40b0a4ddbc59640d9db99d995b04c85f46847cbd4539664237f77b406b7be SHA512 6da0e7a92a49f042ce1d691f171bd0ff150ab42ed1059fdbd86379e521183ebded47e1140dace81aea347b9aa3b84fa0bfc2027f0a73d9164ddead4f5b96aab3 MISC metadata.xml 709 BLAKE2B 69d79a4cd812421b661ee2562d4c4afb18ad6818c4dd2c1a0e402594523579019b5d36ce75032b45e96a397c4b9b28a8850d2d767b0faf12af04abe2fb6db813 SHA512 7fadd4eda7e47bf4880f170a17fcd60a3ac5d1f98058197eac2fd354c1aa4a868fcc73d044114f4d46f6efd192dd6c9345e6690e6e4c98faa7fd97b06cb1f93d diff --git a/app-misc/tmux/tmux-3.5.ebuild b/app-misc/tmux/tmux-3.5.ebuild new file mode 100644 index 000000000000..4678ac49407e --- /dev/null +++ b/app-misc/tmux/tmux-3.5.ebuild @@ -0,0 +1,97 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools flag-o-matic systemd + +DESCRIPTION="Terminal multiplexer" +HOMEPAGE="https://tmux.github.io/" +if [[ ${PV} == 9999 ]] ; then + inherit git-r3 + SRC_URI="https://raw.githubusercontent.com/przepompownia/tmux-bash-completion/678a27616b70c649c6701cae9cd8c92b58cc051b/completions/tmux -> tmux-bash-completion-678a27616b70c649c6701cae9cd8c92b58cc051b" + EGIT_REPO_URI="https://github.com/tmux/tmux.git" +else + SRC_URI="https://github.com/tmux/tmux/releases/download/${PV}/${P/_/-}.tar.gz" + if [[ ${PV} != *_rc* ]] ; then + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" + fi + S="${WORKDIR}/${P/_/-}" +fi + +LICENSE="ISC" +SLOT="0" +IUSE="debug jemalloc selinux systemd utempter vim-syntax" + +DEPEND=" + dev-libs/libevent:= + sys-libs/ncurses:= + jemalloc? ( dev-libs/jemalloc:= ) + systemd? ( sys-apps/systemd:= ) + utempter? ( sys-libs/libutempter ) + kernel_Darwin? ( dev-libs/libutf8proc:= ) +" + +BDEPEND=" + virtual/pkgconfig + app-alternatives/yacc +" + +RDEPEND=" + ${DEPEND} + selinux? ( sec-policy/selinux-screen ) + vim-syntax? ( app-vim/vim-tmux ) +" + +QA_CONFIG_IMPL_DECL_SKIP=( + # BSD only functions + strtonum recallocarray + # missing on musl, tmux has fallback impl which it uses + b64_ntop +) + +DOCS=( CHANGES README ) + +PATCHES=( + "${FILESDIR}"/${PN}-2.4-flags.patch +) + +src_prepare() { + default + eautoreconf +} + +src_configure() { + # bug 438558 + # 1.7 segfaults when entering copy mode if compiled with -Os + replace-flags -Os -O2 + + local myeconfargs=( + --sysconfdir="${EPREFIX}"/etc + $(use_enable debug) + $(use_enable jemalloc) + $(use_enable systemd) + $(use_enable utempter) + + # For now, we only expose this for macOS, because + # upstream strongly encourage it. I'm not sure it's + # needed on Linux right now. + $(use_enable kernel_Darwin utf8proc) + ) + + econf "${myeconfargs[@]}" +} + +src_install() { + default + + einstalldocs + + dodoc example_tmux.conf + docompress -x /usr/share/doc/${PF}/example_tmux.conf + + if use systemd; then + systemd_newuserunit "${FILESDIR}"/tmux.service tmux@.service + systemd_newuserunit "${FILESDIR}"/tmux.socket tmux@.socket + fi +} |