From: "David Roman" <davidroman96@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:master commit in: app-misc/far2l/
Date: Fri, 30 Aug 2024 13:16:12 +0000 (UTC) [thread overview]
Message-ID: <1724882241.2111aa4b9f248d5dd9ef899e9a69ef5ddb16b233.davidroman@gentoo> (raw)
commit: 2111aa4b9f248d5dd9ef899e9a69ef5ddb16b233
Author: Andrey Syutkin <syutkin <AT> gmail <DOT> com>
AuthorDate: Wed Aug 28 21:55:21 2024 +0000
Commit: David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Wed Aug 28 21:57:21 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2111aa4b
app-misc/far2l: add 2.6.3_beta
Signed-off-by: Andrey Syutkin <syutkin <AT> gmail.com>
app-misc/far2l/Manifest | 1 +
app-misc/far2l/far2l-2.6.3_beta.ebuild | 80 ++++++++++++++++++++++++++++++++++
2 files changed, 81 insertions(+)
diff --git a/app-misc/far2l/Manifest b/app-misc/far2l/Manifest
index 51138987f..1002b51cd 100644
--- a/app-misc/far2l/Manifest
+++ b/app-misc/far2l/Manifest
@@ -1 +1,2 @@
DIST v_2.5.3.tar.gz 6529657 BLAKE2B fe0a1fad689594c1f472301b1f39e813fc7a5d949a99db38120f4beb4d703854ce0e6fc844e881623cf3a255357ec3680a9efbc78090a800c4c6d3455d6eafea SHA512 a4569511428f7d1465554e9c8075b9481be73f5383831b46e1c5e6ab25e5672585dbbe96bbf22c6dd5115c38e62916f0eef8206718374110b78389fde54086bd
+DIST v_2.6.3.tar.gz 6730071 BLAKE2B 09e629c4bc77a93acdbe92a455355cb09ef54eb025c824fbf829db093f6d5b5a9491023aec80b050667aeeca910dbe82183d542268b0f722c83aa81e3278ade8 SHA512 9d35cae6bbc55058b4926026f73d8f368d8c78669493a67ab0901a3b044b27db87297715d763116fd3460f3a76dc890dbede09e24c3eae8354ac005d8f1c8bd7
diff --git a/app-misc/far2l/far2l-2.6.3_beta.ebuild b/app-misc/far2l/far2l-2.6.3_beta.ebuild
new file mode 100644
index 000000000..7f902db40
--- /dev/null
+++ b/app-misc/far2l/far2l-2.6.3_beta.ebuild
@@ -0,0 +1,80 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+WX_GTK_VER="3.0-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="+ssl sftp samba nfs webdav +archive +wxwidgets"
+RESTRICT="mirror"
+
+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
+ )"
+
+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)"
+# FIXME: add python plugins support
+# We need pcpp for this
+# -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:[~2024-08-30 13:16 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-30 13:16 David Roman [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-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-07-01 7:22 Florian Schmaus
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=1724882241.2111aa4b9f248d5dd9ef899e9a69ef5ddb16b233.davidroman@gentoo \
--to=davidroman96@gmail.com \
--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