diff options
author | Bernard Cafarelli <voyageur@gentoo.org> | 2022-09-15 23:09:18 +0200 |
---|---|---|
committer | Bernard Cafarelli <voyageur@gentoo.org> | 2022-09-15 23:09:18 +0200 |
commit | daf6f8b2fee70d78415bb6fd1e44d2a378a6344e (patch) | |
tree | 489ebf41054874dc3a5b5109c8a70fe333bb364e /dev-libs/libfilezilla/libfilezilla-0.39.1-r1.ebuild | |
parent | mail-client/geary: Remove vala version restrictions (diff) | |
download | gentoo-daf6f8b2fee70d78415bb6fd1e44d2a378a6344e.tar.gz gentoo-daf6f8b2fee70d78415bb6fd1e44d2a378a6344e.tar.bz2 gentoo-daf6f8b2fee70d78415bb6fd1e44d2a378a6344e.zip |
dev-libs/libfilezilla: fix subslot
Closes: https://bugs.gentoo.org/870208
Signed-off-by: Bernard Cafarelli <voyageur@gentoo.org>
Diffstat (limited to 'dev-libs/libfilezilla/libfilezilla-0.39.1-r1.ebuild')
-rw-r--r-- | dev-libs/libfilezilla/libfilezilla-0.39.1-r1.ebuild | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/dev-libs/libfilezilla/libfilezilla-0.39.1-r1.ebuild b/dev-libs/libfilezilla/libfilezilla-0.39.1-r1.ebuild new file mode 100644 index 000000000000..9c0d5cb04c43 --- /dev/null +++ b/dev-libs/libfilezilla/libfilezilla-0.39.1-r1.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +inherit flag-o-matic + +DESCRIPTION="C++ library offering some basic functionality for platform-independent programs" +HOMEPAGE="https://lib.filezilla-project.org/" +SRC_URI="https://download.filezilla-project.org/${PN}/${P}.tar.bz2" + +LICENSE="GPL-2+" +SLOT="0/31" # libfilezilla.so version +KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~riscv ~x86" +IUSE="test" + +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-libs/nettle:0= + >=net-libs/gnutls-3.5.7:= + virtual/libcrypt:= +" +DEPEND="${RDEPEND} + test? ( dev-util/cppunit )" + +PATCHES=( "${FILESDIR}"/${PN}-0.37.1-pthread.patch ) + +pkg_pretend() { + if [[ ${MERGE_TYPE} != binary ]]; then + if ! test-flag-CXX -std=c++14; then + eerror "${P} requires C++14-capable C++ compiler. Your current compiler" + eerror "does not seem to support -std=c++14 option. Please upgrade your compiler" + eerror "to gcc-4.9 or an equivalent version supporting C++14." + die "Currently active compiler does not support -std=c++14" + fi + fi +} + +src_configure() { + if use ppc || use arm || use hppa; then + # bug 727652 + append-libs -latomic + fi + + econf --disable-static +} + +src_install() { + default + find "${ED}" -type f -name "*.la" -delete || die +} |