From: Viktar Patotski Date: Tue, 5 May 2020 13:07:28 +0000 (+0200) Subject: dev-libs/libfilezilla: version bump to 0.21.0 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=f5bf786bbfb65ad9ae14a276c0e1559754bea7a6;p=gentoo.git dev-libs/libfilezilla: version bump to 0.21.0 Signed-off-by: Viktar Patotski Closes: https://github.com/gentoo/gentoo/pull/15653 Signed-off-by: Bernard Cafarelli --- diff --git a/dev-libs/libfilezilla/Manifest b/dev-libs/libfilezilla/Manifest index 01c2c794e8c9..19fe63d5c482 100644 --- a/dev-libs/libfilezilla/Manifest +++ b/dev-libs/libfilezilla/Manifest @@ -4,3 +4,4 @@ DIST libfilezilla-0.19.1.tar.bz2 539952 BLAKE2B a581964a34c9104543eb06579e1f1b81 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 +DIST libfilezilla-0.21.0.tar.bz2 552491 BLAKE2B fb2729c1c2616b4dbdc292651fd5afe85fdcd77dd70d179605f737539dd4db54c95aeff9053131076241ca57317b2361a201f6fae381c374e81ca4bc250cf1ea SHA512 a4986f8da4ac6980e7b1e564d3b033853b0e5442e4bbdee337238ad5e896b80c74e7176f973055593bd45789c41725a6315c6d510ad44354588188a1cc9f29f9 diff --git a/dev-libs/libfilezilla/libfilezilla-0.21.0.ebuild b/dev-libs/libfilezilla/libfilezilla-0.21.0.ebuild new file mode 100644 index 000000000000..03074019d21b --- /dev/null +++ b/dev-libs/libfilezilla/libfilezilla-0.21.0.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/6" # 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 +}