mirror of
https://github.com/pentoo/pentoo-overlay
synced 2025-12-15 21:02:30 +01:00
far2l: move to my overlay
This commit is contained in:
parent
afe93fe228
commit
21c8ee8ebe
4 changed files with 0 additions and 149 deletions
|
|
@ -1,2 +0,0 @@
|
|||
DIST far2l-2.6.0.tar.gz 6555743 BLAKE2B 0f6449f3bcb412df26b710740a8a8ac9e87895ed0892a36124dfd7c15b2e767bf373419a677d8f7cd1607ae8bda4a08952d09c6f6cb7ca4f8baf0e2480a32158 SHA512 a7ea6cd246c4538f7635b1822e70dca522be8042a0be293dfad4eaccd34b60a2d5b35862348bdd6b616b1cab3e8242217d03061aa6631d0905e062eb725f6368
|
||||
DIST far2l-2.6.1.tar.gz 6604737 BLAKE2B 4f14076e13e0ebd384003ab7ef0a09762b2a8ad80d6dd912ed666ddf930012698b2ee6fc8ed4f61dd0c1eeefcc2a1f26e7329f5546b7870fad47da7976cb62d6 SHA512 b48aa6874e98cd550d423ee3e70eb080da1b309a18a529688b71ba3368b5078124f1110c5366b644daafc4dd0fc91a5bef2445c008c4712999887a4dda7707d6
|
||||
|
|
@ -1,65 +0,0 @@
|
|||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
#CMAKE_MAKEFILE_GENERATOR ?= ninja
|
||||
CMAKE_MAKEFILE_GENERATOR=emake
|
||||
CMAKE_IN_SOURCE_BUILD=1
|
||||
#CMAKE_VERBOSE=ON
|
||||
CMAKE_BUILD_TYPE=Release
|
||||
|
||||
inherit cmake
|
||||
|
||||
DESCRIPTION="Linux port of FAR v2"
|
||||
HOMEPAGE="https://github.com/elfmz/far2l/"
|
||||
SRC_URI="https://github.com/elfmz/far2l/archive/refs/tags/v_${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="amd64 arm64 x86"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
IUSE="+uchardet X +ssh nfs +samba webdav"
|
||||
|
||||
DEPEND="
|
||||
dev-libs/xerces-c
|
||||
uchardet? ( app-i18n/uchardet )
|
||||
dev-libs/spdlog
|
||||
|
||||
X? ( x11-libs/wxGTK )
|
||||
webdav? ( net-libs/neon )
|
||||
ssh? ( net-libs/libssh )
|
||||
nfs? ( net-fs/libnfs )
|
||||
samba? ( net-fs/samba )
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
S="${WORKDIR}/${PN}-v_${PV}"
|
||||
|
||||
src_configure() {
|
||||
#FIXME: more options:
|
||||
# -DPYTHON=yes
|
||||
#ALIGN AUTOWRAP CALC COLORER COMPARE DRAWLINE EDITCASE EDITORCOMP FARFTP
|
||||
#FILECASE INCSRCH INSIDE MULTIARC NETROCKS SIMPLEINDENT TMPPANEL
|
||||
|
||||
local mycmakeargs=(
|
||||
-DBUILD_SHARED_LIBS=OFF
|
||||
-DUSEWX=$(usex X yes no)
|
||||
# automatic charset detection
|
||||
-DUSEUCD=$(usex uchardet yes no)
|
||||
)
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
|
||||
# FIXME: CMakeLists.txt might not support prefix (/usr/) properly
|
||||
# dosym "${EPREFIX}"/usr/bin/far2l /usr/lib/far2l/far2l_askpass
|
||||
# dosym "${EPREFIX}"/usr/bin/far2l /usr/lib/far2l/far2l_sudoapp
|
||||
|
||||
newbin - far <<-EOF
|
||||
#!/bin/sh
|
||||
/usr/bin/far2l "\$@" --tty
|
||||
EOF
|
||||
|
||||
}
|
||||
|
|
@ -1,65 +0,0 @@
|
|||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
#CMAKE_MAKEFILE_GENERATOR ?= ninja
|
||||
CMAKE_MAKEFILE_GENERATOR=emake
|
||||
CMAKE_IN_SOURCE_BUILD=1
|
||||
#CMAKE_VERBOSE=ON
|
||||
CMAKE_BUILD_TYPE=Release
|
||||
|
||||
inherit cmake
|
||||
|
||||
DESCRIPTION="Linux port of FAR v2"
|
||||
HOMEPAGE="https://github.com/elfmz/far2l/"
|
||||
SRC_URI="https://github.com/elfmz/far2l/archive/refs/tags/v_${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="amd64 arm64 x86"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
IUSE="+uchardet X +ssh nfs +samba webdav"
|
||||
|
||||
DEPEND="
|
||||
dev-libs/xerces-c
|
||||
uchardet? ( app-i18n/uchardet )
|
||||
dev-libs/spdlog
|
||||
|
||||
X? ( x11-libs/wxGTK )
|
||||
webdav? ( net-libs/neon )
|
||||
ssh? ( net-libs/libssh )
|
||||
nfs? ( net-fs/libnfs )
|
||||
samba? ( net-fs/samba )
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
S="${WORKDIR}/${PN}-v_${PV}"
|
||||
|
||||
src_configure() {
|
||||
#FIXME: more options:
|
||||
# -DPYTHON=yes
|
||||
#ALIGN AUTOWRAP CALC COLORER COMPARE DRAWLINE EDITCASE EDITORCOMP FARFTP
|
||||
#FILECASE INCSRCH INSIDE MULTIARC NETROCKS SIMPLEINDENT TMPPANEL
|
||||
|
||||
local mycmakeargs=(
|
||||
-DBUILD_SHARED_LIBS=OFF
|
||||
-DUSEWX=$(usex X yes no)
|
||||
# automatic charset detection
|
||||
-DUSEUCD=$(usex uchardet yes no)
|
||||
)
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
|
||||
# FIXME: CMakeLists.txt might not support prefix (/usr/) properly
|
||||
# dosym "${EPREFIX}"/usr/bin/far2l /usr/lib/far2l/far2l_askpass
|
||||
# dosym "${EPREFIX}"/usr/bin/far2l /usr/lib/far2l/far2l_sudoapp
|
||||
|
||||
newbin - far <<-EOF
|
||||
#!/bin/sh
|
||||
/usr/bin/far2l "\$@" --tty
|
||||
EOF
|
||||
|
||||
}
|
||||
|
|
@ -1,17 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>blshkv@pentoo.org</email>
|
||||
<name>Anton Bolshakov</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">elfmz/far2l</remote-id>
|
||||
</upstream>
|
||||
<use>
|
||||
<flag name="nfs">Enable nfs support</flag>
|
||||
<flag name="ssh">Enable ssh support</flag>
|
||||
<flag name="uchardet">Enable encoding detector library</flag>
|
||||
<flag name="webdav">Enable webdav support</flag>
|
||||
</use>
|
||||
</pkgmetadata>
|
||||
Loading…
Reference in a new issue