summaryrefslogtreecommitdiff
path: root/app-shells/fzf
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-01-16 20:27:28 +0000
committerV3n3RiX <venerix@koprulu.sector>2022-01-16 20:27:28 +0000
commit2fd57282f0262ca084e05b0f2c63fbada395d02b (patch)
tree4e0f23cea9ce9fd972e70ebc5214bf36fed465cc /app-shells/fzf
parentc3bc61051d7f12b4c682efa7a5460bbc8815649e (diff)
gentoo resync : 16.01.2021
Diffstat (limited to 'app-shells/fzf')
-rw-r--r--app-shells/fzf/Manifest2
-rw-r--r--app-shells/fzf/fzf-0.29.0.ebuild107
2 files changed, 109 insertions, 0 deletions
diff --git a/app-shells/fzf/Manifest b/app-shells/fzf/Manifest
index 9ee1eaeaed74..8d1f10df050c 100644
--- a/app-shells/fzf/Manifest
+++ b/app-shells/fzf/Manifest
@@ -1,5 +1,6 @@
DIST fzf-0.27.2.tar.gz 191941 BLAKE2B cad609a4171e4f3766b173b098a674b3469686265a6e30ff58b42b6ab5f29c539d860a78337d2985ebcfc8f4c249c979ab9e791db786b04dcdca0c55e5b81472 SHA512 8ca27b61b6b2a66bdfd06dc8ad9e5163f3b69d64a44e1a99df5a2af35a63ccf7a9a77f9faed27fead373f5c212396327a3c0300b31f22583a35a1ae2aeac9865
DIST fzf-0.28.0.tar.gz 205763 BLAKE2B decb6c2ab49ea059039d5b01b74e7230b89c883fd14d87fcdd1218f53a543855a48f62af4c83783a084fba2beef7f513253b5f490b23d5c77685fa189a98837d SHA512 5e5652272b90ef1b79ed9faa0563439fe184aa2d91a6a76388145fc92cd851753abb70b3c22b3a77a863b0e47f3960ca2cb6236a93b48ca8efc1b6aceffcd621
+DIST fzf-0.29.0.tar.gz 208296 BLAKE2B 73260d049d07301670a3a1d35b9ce35dbebcb748f4a1c236e13d12bf6747a83a0ecfd79332a61db69a00936c8d089d52afac8d39fa493d00a6b8ffa4cf3dedd7 SHA512 65744b6ea9c7a475de2e5dfa609c00df70db07804311b938a94373aa6447b587fee417edcf3bf7d66524f25cb405a9cc5be96d26111690e2f7a373dc10423010
DIST github.com%2Fgdamore%2Fencoding%2F@v%2Fv1.0.0.mod 77 BLAKE2B 1b81c4c20a890027242b50f1566f4dfdaf120ee26d3dc56d0c2b6465df2ba79b208289eb40c3d7b666a4e7e874210f59aea545d5125c9a55c5597a3ca7f37feb SHA512 fb153c4e481c073133f0c933c67eba8a1f160ab146921f2c77125b6ff5c348cea57e3a5701a557c8db2212d32e3cba1c09b9509210660c17b66c2a45ba97cb75
DIST github.com%2Fgdamore%2Fencoding%2F@v%2Fv1.0.0.zip 19867 BLAKE2B a772206ce6dc48b32d7125a25b26694325d367ebcbad85466b2e6cfdb9fc9f0e08b98b7ecede5397344e5f7e623c4c76edcf69dcee99917adccf5b31aad80bf8 SHA512 127767c725e376b43fe4e2003ddc12fe89693d6d7e52b01e6d47d73fd04496decc0fd60b64c7a65303428e00a52ece1848610ea35231789a814187ef8503bee3
DIST github.com%2Fgdamore%2Ftcell%2F@v%2Fv1.4.0.mod 250 BLAKE2B 46093e9211011e814962ba2eafec4392948f185d27a202a8b626e16299e3a3fa4554a604933ceab584b27cca2b7a6b1f51d4e5fe10d673e875e38eca08de64ec SHA512 412dee57c525bd5a3c0ce9c482e7933814758e36ebb226a16392e648f57e280485f86e30f17be2339eed427b52e4b0b601401503d0bd324c7fa874e2fcba2b60
@@ -43,4 +44,5 @@ DIST golang.org%2Fx%2Ftext%2F@v%2Fv0.3.6.zip 8610726 BLAKE2B 78870544de29f5cd921
DIST golang.org%2Fx%2Ftools%2F@v%2Fv0.0.0-20180917221912-90fa682c2a6e.mod 26 BLAKE2B 2a44c2cc034af3473d9a1d4e1c23b0f4542333853bfc0ecbfcf9eacacbb3593b449fcfc94d23f49ccc16e5a844bc72a3462a3e08a5c26194106a64d1f2732e0a SHA512 3c166b18c0ce47a47e95da9eeede63879a92b0205bd4589d554f7bae89699be0efa83e1f5bba8e50f47714ea23e759b07f4543fe06301995d39373da2db16fc0
EBUILD fzf-0.27.2.ebuild 3316 BLAKE2B 74cf1535e60b590327ecaafc5776389f71ad8bd0f2c5285b7e103876856a0fbabe0f2f2a787433095e00433cd5d836d01358624b8baa619b936c25bf293ed4ff SHA512 76ce723a79c18a1e3335b78ff4c5f79e5ec232b1a08e444e0a3b502105ea377905f7b32bafc20dd5e3a694f0b1f876fa9d2dbc93620cb4ce326aee656ba55b0c
EBUILD fzf-0.28.0.ebuild 3230 BLAKE2B b9c0e484d4b3114f735034c5517a389e6ffc7f42db1765a4751489ab21271a0f3716c982919e6b9f6fdd8b14b7544fc925b4c0010430bd969e9879bbb6754b36 SHA512 e1789a483d8b665921acbd071a80dc67e4dd9b0064385c44a2bffc14e814188e9da62ce79f43385b5e91d18cdca5497419b0aefbd332ebcf69cf3aa64ef73a4e
+EBUILD fzf-0.29.0.ebuild 3230 BLAKE2B 6baffa068ff9ca9b99d6273fbebc9cbe368e6614b9cc6884152a34588dbbd44eb8a706a83c3e19fda776b7b637fa33391fa7bf8e93fab7e79664bae5e0d620f2 SHA512 68faa0fb2af51606692fb60e1627b19fe7c774029dfde632a78675421c5d3bf60766e0f18b89887fba5bf133141509cb321e55f4278c64d8265bec100a78069a
MISC metadata.xml 595 BLAKE2B 3d3935324876a3bdc56441c8627ff4f6ea5f57c199e788e1f760945a8724330d9779277f023b20d0842a0a63a9357b9347e29e44f80c2670351a1089c1f07ebc SHA512 e764daef9b03e3971570fc173bdde13c146d2b80a4b2cbacf6ef28ec1d647ec8903cff18ee4268e5fe2e1b24fb91dd53f959e28137f2cd6287cbbdd876fa0f22
diff --git a/app-shells/fzf/fzf-0.29.0.ebuild b/app-shells/fzf/fzf-0.29.0.ebuild
new file mode 100644
index 000000000000..d2baa2b00c73
--- /dev/null
+++ b/app-shells/fzf/fzf-0.29.0.ebuild
@@ -0,0 +1,107 @@
+# Copyright 2019-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit bash-completion-r1 go-module
+
+DESCRIPTION="General-purpose command-line fuzzy finder, written in Golang"
+HOMEPAGE="https://github.com/junegunn/fzf"
+
+# For fancy versioning only. Bump on the next release!
+MY_GIT_REV=dc975e8
+
+EGO_SUM=(
+ "github.com/gdamore/encoding v1.0.0"
+ "github.com/gdamore/encoding v1.0.0/go.mod"
+ "github.com/gdamore/tcell v1.4.0"
+ "github.com/gdamore/tcell v1.4.0/go.mod"
+ "github.com/lucasb-eyer/go-colorful v1.0.3/go.mod"
+ "github.com/lucasb-eyer/go-colorful v1.2.0"
+ "github.com/lucasb-eyer/go-colorful v1.2.0/go.mod"
+ "github.com/mattn/go-isatty v0.0.14"
+ "github.com/mattn/go-isatty v0.0.14/go.mod"
+ "github.com/mattn/go-runewidth v0.0.7/go.mod"
+ "github.com/mattn/go-runewidth v0.0.13"
+ "github.com/mattn/go-runewidth v0.0.13/go.mod"
+ "github.com/mattn/go-shellwords v1.0.12"
+ "github.com/mattn/go-shellwords v1.0.12/go.mod"
+ "github.com/rivo/uniseg v0.2.0"
+ "github.com/rivo/uniseg v0.2.0/go.mod"
+ "github.com/saracen/walker v0.1.2"
+ "github.com/saracen/walker v0.1.2/go.mod"
+ "golang.org/x/sync v0.0.0-20200317015054-43a5402ce75a/go.mod"
+ "golang.org/x/sync v0.0.0-20210220032951-036812b2e83c"
+ "golang.org/x/sync v0.0.0-20210220032951-036812b2e83c/go.mod"
+ "golang.org/x/sys v0.0.0-20190626150813-e07cf5db2756/go.mod"
+ "golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod"
+ "golang.org/x/sys v0.0.0-20210630005230-0f9fa26af87c"
+ "golang.org/x/sys v0.0.0-20210630005230-0f9fa26af87c/go.mod"
+ "golang.org/x/term v0.0.0-20210317153231-de623e64d2a6"
+ "golang.org/x/term v0.0.0-20210317153231-de623e64d2a6/go.mod"
+ "golang.org/x/text v0.3.0/go.mod"
+ "golang.org/x/text v0.3.6"
+ "golang.org/x/text v0.3.6/go.mod"
+ "golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod"
+)
+
+go-module_set_globals
+
+SRC_URI="
+ https://github.com/junegunn/fzf/archive/${PV}.tar.gz -> ${P}.tar.gz
+ ${EGO_SUM_SRC_URI}
+"
+
+LICENSE="MIT BSD-with-disclosure"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86"
+
+src_prepare() {
+ default
+ sed -i 's/-s -w //' Makefile || die # bug 795225
+}
+
+src_compile() {
+ emake PREFIX="${EPREFIX}"/usr VERSION=${PV} REVISION=${MY_GIT_REV} bin/${PN}
+}
+
+src_install() {
+ dobin bin/${PN}
+ doman man/man1/${PN}.1
+
+ dobin bin/${PN}-tmux
+ doman man/man1/${PN}-tmux.1
+
+ insinto /usr/share/vim/vimfiles/plugin
+ doins plugin/${PN}.vim
+
+ insinto /usr/share/nvim/runtime/plugin
+ doins plugin/${PN}.vim
+
+ newbashcomp shell/completion.bash ${PN}
+
+ insinto /usr/share/zsh/site-functions
+ newins shell/completion.zsh _${PN}
+
+ insinto /usr/share/fzf
+ doins shell/key-bindings.bash
+ doins shell/key-bindings.fish
+ doins shell/key-bindings.zsh
+}
+
+pkg_postinst() {
+ if [[ -z ${REPLACING_VERSIONS} ]]; then
+ elog "To add fzf support to your shell, make sure to use the right file"
+ elog "from /usr/share/fzf."
+ elog
+ elog "For bash, add the following line to ~/.bashrc:"
+ elog
+ elog " # source /usr/share/bash-completion/completions/fzf"
+ elog " # source /usr/share/fzf/key-bindings.bash"
+ elog
+ elog "Plugins for Vim and Neovim are installed to respective directories"
+ elog "and will work out of the box."
+ elog
+ elog "For fzf support in tmux see fzf-tmux(1)."
+ fi
+}