summaryrefslogtreecommitdiff
path: root/dev-vcs/tig
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-05-25 00:07:14 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-05-25 00:07:14 +0100
commitf8999218b5a6eafa151e7367030cbfdb69e045ed (patch)
tree0d0e9293bcb75153cd18542369fa789ede9338a0 /dev-vcs/tig
parentaa4954f71a3ba2293395a8cce2321a70c39c7554 (diff)
gentoo auto-resync : 25:05:2024 - 00:07:14
Diffstat (limited to 'dev-vcs/tig')
-rw-r--r--dev-vcs/tig/Manifest2
-rw-r--r--dev-vcs/tig/tig-2.5.10.ebuild66
2 files changed, 68 insertions, 0 deletions
diff --git a/dev-vcs/tig/Manifest b/dev-vcs/tig/Manifest
index 6870ac617500..3a699be2f34b 100644
--- a/dev-vcs/tig/Manifest
+++ b/dev-vcs/tig/Manifest
@@ -1,4 +1,6 @@
+DIST tig-2.5.10.tar.gz 1183631 BLAKE2B a2d58e9a79bf7fdabf74704a04f2d0dee30e8fd348319786ab639119c0912c3dc632a143ef586b24f33841a040f1c06101cb52f3a8e8e8a7ee36cc175685fba9 SHA512 6b89a2edebfc58cd2f5e855bbd2137ba4e1be65e793c04a7a9858f3a32b31681f5a80f33e5c1d2d69104e4c37817d806a70ab9a1fc8807d5f49751d4f283d788
DIST tig-2.5.8.tar.gz 1179844 BLAKE2B eff20358443bd794de2985e1c76db8be25f4461ac82182a72004ab380156c15c5ed27dc1c66fb347b1f3d1ccddcead0a031638762e48f7e88a3b0593a278d3d7 SHA512 f4e7648ae7c58e936251f69071a092617368a04eabb4ae6726b2de1dbd305c559b7235f7aa70868f4ada02611196593a6e1c241062f57cd05a9c98685385053e
+EBUILD tig-2.5.10.ebuild 1387 BLAKE2B cb7e04319e3a0dc9f805e1dad14d79be9e3b3424fbfbd616f2204c3e64ee84f55c6e804edf497589de62168bc118d5173797b6af1556f488ffca6b02cf324ae5 SHA512 49ae5107b83dcc1f31b4a48d08d92cb5a712dd2abe1e0c23dc92430d115e5e16322c10004b07436c8ce06b688a382e015a30adf5233e135f98e259140b193a45
EBUILD tig-2.5.8.ebuild 1382 BLAKE2B fd5e2cd40dfa4f9e56e6a4ac2829973f727b19561dadc2972b98a00f739368d6aad65c030d97eaa17d69caa406c456570fa38e57a4d699958d8c6e3225b69e45 SHA512 dce63574bd5851b0fb95c64f9e070d402e13c485e3ebfe6600ff5964fbe5eaa2cac144820baccc3b7f85f6df53770dd24196e207e64866e93335ed91b2faa4d1
EBUILD tig-9999.ebuild 1387 BLAKE2B d6c8b816650720fec8b55378b82efa8b902f7bfcb956e494042ed1e966bcb8176f67251f374f006fb22b21d294ac6e9952500dad647e35c66b8ebb923afb4299 SHA512 90da86dc0394df0b870e942677a83480c157f798e463dddc63e1ff70d464ffd9632f75d0b509b36eca85ecb89559e3a3159aa09d16c58884ecdd68c2c7c746da
MISC metadata.xml 605 BLAKE2B 4a086eab67b7047f2bc56536c7bcefef1d7358c458e155d4f9c802ad99d9db2f022d35f56c00e2f11f4cf90477eb4132d5405ba4cc02e727948d71b20647f763 SHA512 e32ac8ae5159259675d4f34d961264a16d43c17bbf50d7800664733f76a6a3db4446e791fd5a02e10dacb58ba49ec2374238f38b9eb2a5d53b97b4664e5951fa
diff --git a/dev-vcs/tig/tig-2.5.10.ebuild b/dev-vcs/tig/tig-2.5.10.ebuild
new file mode 100644
index 000000000000..53f71e86c348
--- /dev/null
+++ b/dev-vcs/tig/tig-2.5.10.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit bash-completion-r1
+
+if [[ ${PV} == "9999" ]] ; then
+ EGIT_REPO_URI="https://github.com/jonas/tig.git"
+ inherit git-r3 autotools
+else
+ SRC_URI="https://github.com/jonas/tig/releases/download/${P}/${P}.tar.gz"
+ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
+fi
+
+DESCRIPTION="text mode interface for git"
+HOMEPAGE="https://jonas.github.io/tig/"
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="pcre test unicode"
+REQUIRED_USE="test? ( unicode )"
+
+DEPEND="
+ sys-libs/ncurses:=[unicode(+)?]
+ sys-libs/readline:0=
+ pcre? ( dev-libs/libpcre2:= )
+"
+RDEPEND="
+ ${DEPEND}
+ dev-vcs/git
+"
+[[ ${PV} == "9999" ]] && BDEPEND+=" app-text/asciidoc app-text/xmlto"
+
+# encoding/env issues
+RESTRICT="test"
+
+src_prepare() {
+ default
+ [[ ${PV} == "9999" ]] && eautoreconf
+}
+
+src_configure() {
+ econf \
+ $(use_with pcre) \
+ $(use_with unicode ncursesw)
+}
+
+src_compile() {
+ emake V=1
+ [[ ${PV} == "9999" ]] && emake V=1 doc-man doc-html
+}
+
+src_test() {
+ # workaround parallel test failures
+ LC_ALL=en_US.utf8 emake -j1 test
+}
+
+src_install() {
+ emake DESTDIR="${D}" install install-doc-man
+ dodoc doc/manual.html README.html NEWS.html
+ newbashcomp contrib/tig-completion.bash ${PN}
+
+ docinto examples
+ dodoc contrib/*.tigrc
+}