-
-
Save ilya-pirogov/84336b5232ee421d335a35a06d646f40 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Copyright 1999-2020 Gentoo Foundation | |
# Distributed under the terms of the GNU General Public License v2 | |
EAPI=7 | |
PYTHON_COMPAT=( python3_{6..9} ) | |
CMAKE_MAKEFILE_GENERATOR="emake" | |
CMAKE_BUILD_TYPE="Release" | |
WX_GTK_VER="3.0-gtk3" | |
inherit git-r3 cmake wxwidgets python-any-r1 | |
EGIT_REPO_URI="https://github.com/elfmz/far2l" | |
EGIT_BRANCH="master" | |
DESCRIPTION="Linux port of Far Manager" | |
HOMEPAGE="http://farmanager.com/" | |
LICENSE="GPL-2.0" | |
SLOT="2" | |
KEYWORDS="~x86 ~amd64" | |
IUSE="+python wxwidgets +static-libs" | |
DEPEND="dev-libs/xerces-c | |
dev-libs/spdlog | |
app-i18n/uchardet | |
app-arch/libarchive | |
dev-libs/libpcre2 | |
net-libs/libssh[sftp] | |
dev-libs/openssl | |
net-fs/samba[client] | |
net-fs/libnfs | |
net-libs/neon | |
wxwidgets? ( x11-libs/wxGTK:$WX_GTK_VER ) | |
python? ( $(python_gen_any_dep 'dev-python/virtualenv[${PYTHON_USEDEP}]') )" | |
RDEPEND="${DEPEND}" | |
pkg_setup() { | |
if use wxwidgets; then | |
setup-wxwidgets | |
fi | |
} | |
src_configure() { | |
local mycmakeargs=( | |
-DUSEWX="$(usex wxwidgets)" | |
-DPYTHON="$(usex python)" | |
-DBUILD_SHARED_LIBS="$(usex static-libs "no" "yes")" | |
) | |
cmake_src_configure | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment