Gentoo Archives: gentoo-commits

From: Thomas Deutschmann <whissi@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libfilezilla/
Date: Fri, 28 Aug 2020 11:53:07
Message-Id: 1598615577.36c9788e131052f94ce85709d937311b561298a4.whissi@gentoo
1 commit: 36c9788e131052f94ce85709d937311b561298a4
2 Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
3 AuthorDate: Fri Aug 28 11:45:13 2020 +0000
4 Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
5 CommitDate: Fri Aug 28 11:52:57 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=36c9788e
7
8 dev-libs/libfilezilla: bump to v0.24.1
9
10 Package-Manager: Portage-3.0.4, Repoman-3.0.1
11 Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>
12
13 dev-libs/libfilezilla/Manifest | 1 +
14 dev-libs/libfilezilla/libfilezilla-0.24.1.ebuild | 48 ++++++++++++++++++++++++
15 2 files changed, 49 insertions(+)
16
17 diff --git a/dev-libs/libfilezilla/Manifest b/dev-libs/libfilezilla/Manifest
18 index 4b4c5fd4f5d..c599c979f75 100644
19 --- a/dev-libs/libfilezilla/Manifest
20 +++ b/dev-libs/libfilezilla/Manifest
21 @@ -3,3 +3,4 @@ DIST libfilezilla-0.21.0.tar.bz2 552491 BLAKE2B fb2729c1c2616b4dbdc292651fd5afe8
22 DIST libfilezilla-0.22.0.tar.bz2 557320 BLAKE2B 864f286844a3693ae1aa9f0176dbcf32a6a483174aa4b29e23ebccd309f88e97cb84368b3b5d22f07f94d396885b992e2e2e4b2f64bfec490bbcb898c88e0dc5 SHA512 6ec53a4d82dc4c6650c560633c1f1cd50866fd954d5153be7e9ebea3ee0fa38d287e16dfdccb9ad22a7e7a325eec5d659bc51dd963b2deb540e8206e0f45513e
23 DIST libfilezilla-0.23.0.tar.bz2 560028 BLAKE2B f5ef9001babc1cdf5f36ecaa88aacdbab99d2f65fb6554296c54ed63c6131cc03f16b92635b7c71375b94394d02b0596500c6c796c4efa6fc2c74f561c640d1b SHA512 a69040b7767e4568ba155adce67a5755b2947a73626bad89c89c88c773cb99147349ec5c3b8cc746715c9270b54ac6bc70fd57c77fe125b2dc6753669dfe93d7
24 DIST libfilezilla-0.24.0.tar.bz2 560451 BLAKE2B 2806820e3aca63e1a018b01b990e7580c53d32d6e0e519a316a172a516c4b24aa38e5e1847fb40db7d21c22b68caffdafd3701273ac96561305661b9b8a86716 SHA512 f5fd2ca426235e03e26209b975e2eda4763ef1bef16a1b424ce4a248245163038d4e56089d523d77b8370f52a2947873d8439f4fc9478ba57fcef453c2f54861
25 +DIST libfilezilla-0.24.1.tar.bz2 560439 BLAKE2B f4848149839fa121ed856726769a9517932ab0b34dd19696d66bd15ad8208fa0bb3e7dbf9cb31baeabea02ec6e0b7d0c8e48fbca3956c26251dcbbb4332c727c SHA512 f9075bb88e5c10617d21fb7b49f7e9bd38567eeca3c4a1cd8b1e20354b1e3da95f05618897cefa6758c7843efd9833230843f77a0c23e7019cf22c950e7e8e8c
26
27 diff --git a/dev-libs/libfilezilla/libfilezilla-0.24.1.ebuild b/dev-libs/libfilezilla/libfilezilla-0.24.1.ebuild
28 new file mode 100644
29 index 00000000000..06fb1f38b74
30 --- /dev/null
31 +++ b/dev-libs/libfilezilla/libfilezilla-0.24.1.ebuild
32 @@ -0,0 +1,48 @@
33 +# Copyright 1999-2020 Gentoo Authors
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI=7
37 +inherit flag-o-matic
38 +
39 +DESCRIPTION="C++ library offering some basic functionality for platform-independent programs"
40 +HOMEPAGE="https://lib.filezilla-project.org/"
41 +SRC_URI="https://download.filezilla-project.org/${PN}/${P}.tar.bz2"
42 +
43 +LICENSE="GPL-2+"
44 +SLOT="0/9" # libfilezilla.so version
45 +KEYWORDS="~amd64 ~arm ~ia64 ~ppc ~ppc64 ~x86"
46 +IUSE="test"
47 +
48 +RESTRICT="!test? ( test )"
49 +
50 +RDEPEND="
51 + dev-libs/nettle:0=
52 + >=net-libs/gnutls-3.5.7:=
53 +"
54 +DEPEND="${RDEPEND}
55 + test? ( dev-util/cppunit )"
56 +
57 +pkg_pretend() {
58 + if [[ ${MERGE_TYPE} != binary ]]; then
59 + if ! test-flag-CXX -std=c++14; then
60 + eerror "${P} requires C++14-capable C++ compiler. Your current compiler"
61 + eerror "does not seem to support -std=c++14 option. Please upgrade your compiler"
62 + eerror "to gcc-4.9 or an equivalent version supporting C++14."
63 + die "Currently active compiler does not support -std=c++14"
64 + fi
65 + fi
66 +}
67 +
68 +src_configure() {
69 + if use ppc || use arm || use hppa; then
70 + # bug 727652
71 + append-libs -latomic
72 + fi
73 +
74 + default
75 +}
76 +
77 +src_install() {
78 + default
79 + find "${ED}" -type f \( -name "*.a" -o -name "*.la" \) -delete || die
80 +}