commit:     77efaa67df7e0ba4ffb25d67e89a2e26ecfd684b
Author:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Fri Aug 16 07:55:23 2019 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Fri Aug 16 07:59:54 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=77efaa67

dev-libs/libfilezilla: Bump to version 0.18.1

Package-Manager: Portage-2.3.71, Repoman-2.3.17
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>

 dev-libs/libfilezilla/Manifest                   |  1 +
 dev-libs/libfilezilla/libfilezilla-0.18.1.ebuild | 37 ++++++++++++++++++++++++
 2 files changed, 38 insertions(+)

diff --git a/dev-libs/libfilezilla/Manifest b/dev-libs/libfilezilla/Manifest
index 281508707a6..f600a560f83 100644
--- a/dev-libs/libfilezilla/Manifest
+++ b/dev-libs/libfilezilla/Manifest
@@ -2,3 +2,4 @@ DIST libfilezilla-0.15.1.tar.bz2 404746 BLAKE2B 
644f4b8949670d5b07f9e7b861d388ce
 DIST libfilezilla-0.16.0.tar.bz2 413535 BLAKE2B 
ea6ce80e272efea3fcef2fbd1f0ecca1248c314eea49631b4a98d257cfe1ebe505de011c021874ab0158883077d0af61929689ffb2b92528ef50502d84c933a7
 SHA512 
ea3302ae0c51582d6715fa3dd06d330a2ac820c3229b4dcab4a3470021dba667b6aea1a5b13168d720d7218cc8513e40c97990ed6573d0ea46d76e6ef50c2e6e
 DIST libfilezilla-0.17.1.tar.bz2 517778 BLAKE2B 
d678675b2fafe80e2f0e54af372220194870460c1eeaeb91ae6709ad8addcfbb6326819bbaf1d3782e391b07172f94783b0d8a3405f54bad3f818c72426b5047
 SHA512 
c9c88bf3cbeb5284c3e55571b40b07f780cb23aeb802284d385a2564bf46396875a34739f9819b0c3f89923950f19a13f6454940434a987bb91b2f23b898f774
 DIST libfilezilla-0.18.0.tar.bz2 526221 BLAKE2B 
f2bc8610a2bba6e296a0bcdd0ae52f4c03dae14c5ff85db89c15fdbd4981bb1cc0001072b59ccd543968c96f08ccf7f59c14ae7ec24c9c539a653bb321908a81
 SHA512 
745039ca0123516bc58a7057117386fdaed8956b7612b331ffd10f3c7b6c739c47c9c90261ccaf5f7862662775f6b0b467891731ae30c5976d36a0cfb0102455
+DIST libfilezilla-0.18.1.tar.bz2 526448 BLAKE2B 
e4d709096db184072b9038cc85265fc8a16049ac2c460a45717d8386dfb36ffac17b75141565de2cfb1f37b08bc0c23aac348181ac34ef7ecd8014e543f1fdaf
 SHA512 
b1077a48575ec6bd99cb01a21171fdec4ea662bb4ecb568cb547c6401164854588801cdc4ae80d62809534d2b04d42dcc3f7325bf57af0e2e737a4ca9f15032e

diff --git a/dev-libs/libfilezilla/libfilezilla-0.18.1.ebuild 
b/dev-libs/libfilezilla/libfilezilla-0.18.1.ebuild
new file mode 100644
index 00000000000..7ed54fcee7d
--- /dev/null
+++ b/dev-libs/libfilezilla/libfilezilla-0.18.1.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2019 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"
+KEYWORDS="~amd64 ~arm ~ia64 ~ppc ~x86"
+IUSE="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
+}

Reply via email to