app-misc/far2l: add 2.7.0, drop 2.6.4, 2.6.5

Signed-off-by: Andrey Syutkin <syutkin@gmail.com>
This commit is contained in:
Andrey Syutkin
2026-03-19 17:08:39 +03:00
parent 4d15a886dc
commit dc8a8cfdf2
4 changed files with 3 additions and 91 deletions

View File

@@ -1,2 +1 @@
DIST v_2.6.4.tar.gz 6854330 BLAKE2B 577de3d07a40822c88358d267fa4be8b9ff68e4928218002a9cd45c9d3edd2e1faecbd8dec11d54aeeb6c49f087b8aff8d0fb0e22ffcc5fb0152b0d27774dc03 SHA512 87dfdbcecc0617d200288f113a7a59ae3192c9ab3f0e39fa1dac4992cedc9fdce2bf2bdc317446d37a078581c2c7dd5d7cf4fcb65e1577fafeec91974eb08a59
DIST v_2.6.5.tar.gz 8274199 BLAKE2B 9a154a94c1d3fc7aa9c088263740c7edaeee857bbdf11e7b5fbc041786b12e8a98ccb82f0507d2de7ad18e347fc18bdc600d48f410ee0b176050fe81373a3eac SHA512 b643acbfb416127a3bde1e40093416a2b11abae54b6f5147ce5524cf19af3dbd4c45bf19585cb2b03288cdf69d6fabfdbca8dc4caa76212c9ef76d7aa87211bd
DIST v_2.7.0.tar.gz 8825358 BLAKE2B 869c7e24c213d8ffa74e9e2864bb7b83816c590dd125d44c53297997443b2e9d1f872c9d1b342c44d2ddd65e8439d1328b36b09a64953820b5aabfef5eb58bfd SHA512 23dc702c4058b64e312bb61726760cb79e62b3e58334c87c6f3d2f1f46b0dfc39721ad6244d38994aa355b45993d6a95eaeeed75e7f1d066fa7056fd543e9f78

View File

@@ -1,87 +0,0 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{12..13} )
WX_GTK_VER="3.2-gtk3"
inherit cmake xdg wxwidgets
DESCRIPTION="Linux port of FAR Manager v2"
HOMEPAGE="https://github.com/elfmz/far2l"
if [[ "${PV}" == "9999" ]] ; then
inherit git-r3
EGIT_REPO_URI="https://github.com/elfmz/far2l"
EGIT_BRANCH="master"
else
MY_PV="v_${PV/_beta/}"
MY_P="${PN}-${MY_PV}"
S="${WORKDIR}/${MY_P}"
SRC_URI="https://github.com/elfmz/far2l/archive/${MY_PV}.tar.gz"
KEYWORDS="~amd64"
fi
LICENSE="GPL-2"
SLOT="0"
IUSE="+archive +chardet +colorer nfs samba sftp +ssl webdav wxwidgets X"
RESTRICT="mirror"
RDEPEND="
wxwidgets? ( x11-libs/wxGTK:${WX_GTK_VER} )
X? (
x11-libs/libX11
x11-libs/libXi
)
archive? (
dev-libs/libpcre2
app-arch/libarchive
)
chardet? ( app-i18n/uchardet )
colorer? ( dev-libs/libxml2 )
nfs? ( net-fs/libnfs )
samba? ( net-fs/samba )
sftp? ( net-libs/libssh[sftp] )
ssl? ( dev-libs/openssl )
webdav? ( net-libs/neon )"
DEPEND="${RDEPEND}"
DOCS=( README.md )
pkg_setup() {
if use wxwidgets; then
setup-wxwidgets
fi
}
src_prepare() {
sed -e "s:execute_process(COMMAND ln -sf \../../bin/far2l \${CMAKE_INSTALL_PREFIX}/lib/far2l/far2l_askpass)::" \
-i "${S}"/CMakeLists.txt || die
sed -e "s:execute_process(COMMAND ln -sf \../../bin/far2l \${CMAKE_INSTALL_PREFIX}/lib/far2l/far2l_sudoapp)::" \
-i "${S}"/CMakeLists.txt || die
sed -e "s:execute_process(COMMAND rm -f \${CMAKE_INSTALL_PREFIX}/lib/far2l/Plugins/.*::" \
-i "${S}"/CMakeLists.txt || die
cmake_src_prepare
}
src_configure() {
local mycmakeargs=(
-DUSEWX="$(usex wxwidgets)"
-DUSEUCD=$"$(usex chardet)"
-DCOLORER="$(usex colorer)"
# -DPYTHON="$(usex python)"
-DBUILD_SHARED_LIBS=OFF
)
cmake_src_configure
}
src_install(){
cmake_src_install
einstalldocs
dosym "../../bin/far2l" "usr/lib/far2l/far2l_askpass"
dosym "../../bin/far2l" "usr/lib/far2l/far2l_sudoapp"
}

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2024 Gentoo Authors
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2024 Gentoo Authors
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8