From: "Florian Schmaus" <flow@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:master commit in: app-misc/far2l/
Date: Thu, 1 Jul 2021 07:22:15 +0000 (UTC) [thread overview]
Message-ID: <1625119243.fff070fb7ec3e4edb36454247436939f130ad399.flow@gentoo> (raw)
commit: fff070fb7ec3e4edb36454247436939f130ad399
Author: Andrey Syutkin <syutkin <AT> gmail <DOT> com>
AuthorDate: Thu Jul 1 06:00:43 2021 +0000
Commit: Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Thu Jul 1 06:00:43 2021 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=fff070fb
app-misc/far2l: bump to 2.3.20210630_alpha
Signed-off-by: Andrey Syutkin <syutkin <AT> gmail.com>
app-misc/far2l/Manifest | 1 +
app-misc/far2l/far2l-2.3.20210630_alpha.ebuild | 88 ++++++++++++++++++++++++++
2 files changed, 89 insertions(+)
diff --git a/app-misc/far2l/Manifest b/app-misc/far2l/Manifest
index e073873f0..4dd08734a 100644
--- a/app-misc/far2l/Manifest
+++ b/app-misc/far2l/Manifest
@@ -1 +1,2 @@
DIST far2l-2.3.20210426_alpha.tar.gz 5441382 BLAKE2B d6f1c2611d4c149755bf7bf7b25428030489f56b3ff5a0f8a5d4703b2229c45a4d35ec6ce3b7b90681690135028678b29cd3062be5fe74eb5a4494edfe3a2b93 SHA512 28a4e819c36815d8e754ea04b57631ee61d5c48ecfe32ce7d7a45564d8f3e08dd8cdcc5a34d3c8c4abc45b143d819c286ad95cbdc281c6b94e8599ff3acdcec3
+DIST far2l-2.3.20210630_alpha.tar.gz 5445927 BLAKE2B 15ab034c13221ea02d71e589dc93fce835256ade6238743f9d1becb2cc2cd73ca0271198cb9d47b56b59b938183a657816582b1ad3d61e05fe38d04344edd1c8 SHA512 b9eaf15ab9da1a7f0d3db56e06d52d7d8cc32ebd6ee6b5a5c7067b32fa71526979adfefb66f2a91eba3e5f0390b9e6bea9162c71bb681dfb8094447a709b2c9d
diff --git a/app-misc/far2l/far2l-2.3.20210630_alpha.ebuild b/app-misc/far2l/far2l-2.3.20210630_alpha.ebuild
new file mode 100644
index 000000000..ea9fb3377
--- /dev/null
+++ b/app-misc/far2l/far2l-2.3.20210630_alpha.ebuild
@@ -0,0 +1,88 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{8..10} )
+
+WX_GTK_VER="3.0-gtk3"
+
+inherit cmake xdg wxwidgets python-r1
+
+DESCRIPTION="Linux port of FAR Manager v2"
+HOMEPAGE="https://github.com/elfmz/far2l"
+
+if [[ "${PV}" == "9999" ]] ; then
+ inherit git-r3
+ SRC_URI=""
+ EGIT_REPO_URI="https://github.com/elfmz/far2l"
+ EGIT_BRANCH="master"
+else
+ MY_PV="${PV:4:4}-${PV:8:2}-${PV:10:8}"
+ MY_P="${PN}-${MY_PV}"
+ S="${WORKDIR}/${MY_P}"
+ SRC_URI="https://github.com/elfmz/far2l/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="+ssl sftp samba nfs webdav +archive +wxwidgets python"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+
+BDEPEND="sys-devel/m4"
+
+RDEPEND="dev-libs/xerces-c
+ dev-libs/spdlog
+ app-i18n/uchardet
+ wxwidgets? ( x11-libs/wxGTK:${WX_GTK_VER} )
+ ssl? ( dev-libs/openssl )
+ sftp? ( net-libs/libssh[sftp] )
+ samba? ( net-fs/samba )
+ nfs? ( net-fs/libnfs )
+ webdav? ( net-libs/neon )
+ archive? (
+ dev-libs/libpcre2
+ app-arch/libarchive )
+ python? (
+ ${PYTHON_DEPS}
+ virtual/python-cffi
+ dev-python/debugpy
+ $(python_gen_any_dep 'dev-python/virtualenv[${PYTHON_USEDEP}]')
+ )"
+
+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/objinfo/plug/objinfo.far-plug-mb)::" -i "${S}"/CMakeLists.txt || die
+ sed -e "s:execute_process(COMMAND rm -f \${CMAKE_INSTALL_PREFIX}/lib/far2l/Plugins/farftp/plug/farftp.far-plug-mb && echo Removed existing farftp plugin)::" -i "${S}"/CMakeLists.txt || die
+ sed -e "s:execute_process(COMMAND rm -f \${CMAKE_INSTALL_PREFIX}/lib/far2l/Plugins/python/plug/python.far-plug-wide && echo Removed existing python plugin)::" -i "${S}"/CMakeLists.txt || die
+ cmake_src_prepare
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DUSEWX="$(usex wxwidgets)"
+ -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"
+}
next reply other threads:[~2021-07-01 7:22 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-07-01 7:22 Florian Schmaus [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-12-02 10:48 [gentoo-commits] repo/proj/guru:master commit in: app-misc/far2l/ David Roman
2024-11-18 12:46 Julien Roy
2024-08-30 13:16 David Roman
2024-07-25 10:10 David Roman
2024-07-25 10:10 David Roman
2024-01-01 14:31 Florian Schmaus
2022-01-13 15:31 Andrew Ammerlaan
2022-01-13 15:31 Andrew Ammerlaan
2021-12-27 14:44 Florian Schmaus
2021-09-23 6:45 Arthur Zamarin
2021-09-20 9:17 Andrew Ammerlaan
2021-08-29 17:05 Haelwenn Monnier
2021-04-23 12:23 [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
2021-04-23 12:25 ` [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
2021-04-23 8:47 Haelwenn Monnier
2021-04-22 7:35 Andrew Ammerlaan
2021-04-20 23:49 Jian Lin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1625119243.fff070fb7ec3e4edb36454247436939f130ad399.flow@gentoo \
--to=flow@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox