app-misc/superfile: add 1.6.0

Signed-off-by: ingenarel (NeoJesus) <ingenarel_neojesus@disroot.org>
This commit is contained in:
ingenarel (NeoJesus)
2026-06-09 03:59:25 +06:00
parent bb9e158ad4
commit 8222d073aa
2 changed files with 54 additions and 0 deletions

View File

@@ -2,3 +2,5 @@ DIST superfile-1.4.0-deps.tar.xz 179667168 BLAKE2B 14dc1ddc70c40a4f2e040374b1567
DIST superfile-1.4.0.tar.gz 16293086 BLAKE2B b94a711f2f3249b9ea7a02859ba69566b29990606782b2f0f3191310eb571b4fa2eefc5d21fce67baf1f85391b0453c066ad4f42afafa34be84875f3796451e7 SHA512 8d970a5496a296801f2198729b9ce9583b7890ef1a1230c91296fd39b08f8fec0302de4bc5ce49e2b6c73e1e3cc41ed24d1124da3be1f15df9950f26c45be0cd
DIST superfile-1.5.0-deps.tar.xz 184162248 BLAKE2B efe7891a667fe8dd6c7aab70993422dad46cc0a597a68db1d455a4c7bcbeb8ff1516f9b792d0797951f29904b9d99b4217560a46de9349755979f22d1133b857 SHA512 5c0d24c04ad0a68a62f6e0bd20f57cd240a295cd55d67919055811e64d857a3369847e66a939019fafadeb3845c614ef0a4e61164987fb9811ce178ebfb65c12
DIST superfile-1.5.0.tar.gz 21111895 BLAKE2B dcc2afd5576416fa77acf4671266da5822b4efe2aebc5ca2bf6b5005eb9da7a71a338fd49230a553d26d0818f4f0e7a9365c901b55c5931ffa8be5860786bb12 SHA512 5562e779f2368a1742066062ddfb5c396c754a54fa22567e23bd9a590e37117ac37c752a15bfe94affadf37d1e71956e09d00d12e9dbe7fd8e85e794bc009b85
DIST superfile-1.6.0-deps.tar.xz 203692880 BLAKE2B 90ce543830d6003508ebcf5123393592af78f76ba06fb589a123240b81e8c026f0c4faecafa527b7d5685b68aac14bc90c334383250db6475d50cb0bf7ca2e82 SHA512 e097819942a489b41f2f897916ff6860977159c78776e6bb4f814d364632ccf2f8634fd12057035581e41d8d076a6736597b755d994d45a53af37bbde7659632
DIST superfile-1.6.0.tar.gz 20789564 BLAKE2B 2ebe1d69e718d031a8f97e6ce2a69d2061a0bc2bf19c2c90aadbc4f58c7af71a39968a72b992c9928b5eec4e7d07b38846c3728fd72ad8e8aed5bb0d276e7df3 SHA512 5ed9534d719ca8cadbd7853b4bb38a1807bcb94435cddf8fd0dd5f5a651fe563c25747c03ede22450471b1f914c9c34fb6c6fa3b64341904efaf84c642bb8089

View File

@@ -0,0 +1,52 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit go-module desktop xdg
DESCRIPTION="Pretty fancy and modern terminal file manager"
HOMEPAGE="https://superfile.dev"
if [[ "${PV}" == 9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/yorukot/superfile.git"
else
KEYWORDS="~amd64"
SRC_URI="https://github.com/yorukot/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
https://github.com/ingenarel/guru-depfiles/releases/download/${P}-deps.tar.xz/${P}-go-mod-deps.tar.xz ->
${P}-deps.tar.xz
"
# you can either use -go-mod-deps or -vendor-deps for the file
# vendor-deps are small, but may not work for some packages/version
# go-mod-deps are LARGE, but will most likely always work
fi
LICENSE="MIT"
#gentoo-go-license superfile-1.6.0.ebuild
LICENSE+=" Apache-2.0 BSD-2 BSD CC0-1.0 GPL-3 ISC MIT MPL-2.0 OFL-1.1 Unlicense "
SLOT="0"
# currently tests are disabled because superfile tends to create files in places it should not:
# https://gist.githubusercontent.com/ingenarel/d1bc358ee532d5d3a50f5cc19c429253/raw
# on top of that it has failed tests, tests depend on zoxide, tmux, python, a few python modules
# the goal is to work on a src_test function slowly and bring back tests again
RESTRICT="test"
BDEPEND=">=dev-lang/go-1.25.7"
src_unpack() {
if [[ "${PV}" == 9999* ]];then
git-r3_src_unpack
go-module_live_vendor
else
default
fi
}
src_compile() {
CGO_ENABLED=0 ego build -o bin/spf
}
src_install() {
dobin bin/spf
domenu asset/spf.desktop
}