From dd321801224523f9ed5535b7612530bcc228db02 Mon Sep 17 00:00:00 2001 From: Lars Wendler Date: Wed, 11 Mar 2020 17:18:29 +0100 Subject: [PATCH] dev-libs/libfilezilla: Bump to version 0.20.2 Package-Manager: Portage-2.3.93, Repoman-2.3.20 Signed-off-by: Lars Wendler --- dev-libs/libfilezilla/Manifest | 1 + .../libfilezilla/libfilezilla-0.20.2.ebuild | 39 +++++++++++++++++++ 2 files changed, 40 insertions(+) create mode 100644 dev-libs/libfilezilla/libfilezilla-0.20.2.ebuild diff --git a/dev-libs/libfilezilla/Manifest b/dev-libs/libfilezilla/Manifest index 4fca58f4f32e..01c2c794e8c9 100644 --- a/dev-libs/libfilezilla/Manifest +++ b/dev-libs/libfilezilla/Manifest @@ -3,3 +3,4 @@ DIST libfilezilla-0.18.2.tar.bz2 526968 BLAKE2B 81b27c18e9c04e2277dbe7a2fa2bfe3c DIST libfilezilla-0.19.1.tar.bz2 539952 BLAKE2B a581964a34c9104543eb06579e1f1b816b0f47e6ef3af0de9aa0b7528665ca0ac17ddf3c5327a434b8e344bdde5602f1b7a71b7cc755367e750c88de06329335 SHA512 1342a199e4bdc211437deaa4ff34fe7f7de476a664b1ea4dc8df0482db98eb6c21e03f9c7b510bc00c81f6dacd7fdec2fa721554fe6e71c5bb2763618759b1a1 DIST libfilezilla-0.19.3.tar.bz2 541117 BLAKE2B c0015be2fa632cc4bfd44d5e02bdc9e14c5ac0598e4c83fabc95e00dd82669963d02a8e7b3db33e554d86f333eb5a7afdd6235acfa7b336dbd5bbfbf334f4381 SHA512 264a3a110dc4e99f6b993479be9f25cf831297899c699d73e5ad5a403e11ff09fa9ab062a420a0111e78f7d6e68e92fa461c161c8fd7c274cf227ef45f618849 DIST libfilezilla-0.20.1.tar.bz2 548442 BLAKE2B 1a0c41847fac98f28cfbda2071d76d945c38414de2ae97dccb00870ed97e39cf1cfefc879b85e014eaf731f3bd9c9859636b362872c1cd109f9214e9376680a0 SHA512 5fa43b2215c71d1e0ba92fdfed8963f771b7b8862333f14e812b0e01a783ceb5e186706f6729be8112872cf4abfa4fc4b785bbab5596d1b3f474046febedbfe7 +DIST libfilezilla-0.20.2.tar.bz2 549679 BLAKE2B 929c535ed7ad65fb35bc7f3a21c827ff51d01e387f383bf677f86b78aa79deafa81781eee87afe3c9c8a4d48c60ea02f7fff45b4e469f3755511c9b11001dc88 SHA512 242df38b335558c83fde91800787992adaa617292d119a15d8036adc1622b207127d0e8e6fb935b4300e1e0d63e196636589ba513e410c751dea052164a773d7 diff --git a/dev-libs/libfilezilla/libfilezilla-0.20.2.ebuild b/dev-libs/libfilezilla/libfilezilla-0.20.2.ebuild new file mode 100644 index 000000000000..61611daf6b65 --- /dev/null +++ b/dev-libs/libfilezilla/libfilezilla-0.20.2.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +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/4" # libfilezilla .so version +KEYWORDS="~amd64 ~arm ~ia64 ~ppc ~ppc64 ~x86" +IUSE="test" + +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-libs/nettle:0= + >=net-libs/gnutls-3.5.7:= +" +DEPEND="${RDEPEND} + test? ( dev-util/cppunit )" + +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_install() { + default + find "${ED}" -type f \( -name "*.a" -o -name "*.la" \) -delete || die +} -- 2.26.2