Gentoo Archives: gentoo-commits

From: Bernard Cafarelli <voyageur@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libfilezilla/
Date: Sat, 21 Aug 2021 16:29:09
Message-Id: 1629562913.cb9276553be734e5a100e2706a0e89ec4057a516.voyageur@gentoo
1 commit: cb9276553be734e5a100e2706a0e89ec4057a516
2 Author: Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
3 AuthorDate: Sat Aug 21 16:12:33 2021 +0000
4 Commit: Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
5 CommitDate: Sat Aug 21 16:21:53 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cb927655
7
8 dev-libs/libfilezilla: 0.31.1 bump
9
10 Package-Manager: Portage-3.0.20, Repoman-3.0.3
11 Signed-off-by: Bernard Cafarelli <voyageur <AT> gentoo.org>
12
13 dev-libs/libfilezilla/Manifest | 1 +
14 dev-libs/libfilezilla/libfilezilla-0.31.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 bd38d81ab31..7f0bdb9e1af 100644
19 --- a/dev-libs/libfilezilla/Manifest
20 +++ b/dev-libs/libfilezilla/Manifest
21 @@ -1,3 +1,4 @@
22 DIST libfilezilla-0.27.1.tar.bz2 568252 BLAKE2B 5ab11e60a3df1e56275b0a1eeb94a91a5e036306c8d65c95ecdf26737ad5c73782d69e50f81749864293bc827b2502988b45a2268bb8020e685a4c864168af5e SHA512 30db720a8fbc806f498aa94ca9bdbbfa6ef04b4b4853e2c38744c2ba26dc8e34d3b006a057dcb527f6d745bf594ccffbb424f9b59dca6d1cb028b0f13bdd466a
23 DIST libfilezilla-0.28.0.tar.bz2 572028 BLAKE2B 579881b1bf127f709cdfda61efb71cce3df741152124b74a2f7d718e43d7d71ce678ec6ba10ff61926b275d5b9e69f8df0f9741a0ba1e9b5ff2c51d35472d10a SHA512 e14bc3d5d20c62f0910ab55aa6466590a0d55aedf534e7eb67481a65b372c62fd0015506a1acdc476811aa2c0ce7561f30e79a10f994dfd98014e4ed4b4f471e
24 DIST libfilezilla-0.30.0.tar.bz2 578592 BLAKE2B abfef274989b0ba31d9237394aa1e88012e9fe9d071c11e7350e0ada8d5da54d7cdc93f46f65b38fa9a811a638210238f42de99fdd6832f97ede3808723e5d4f SHA512 f05a1ef2be7a6d32a6c5adf8e02f2b17e83deb67bf7c67b1bc1fec539a7235903d91dd3e98412aa1b90f1fcb322cb9ab54d3a1ff4ec44889b4dcdda6984300c9
25 +DIST libfilezilla-0.31.1.tar.bz2 585070 BLAKE2B b7cd275ee39d5ac62801889adae79515c056a5f838f4348324c0f5a975d3cc45a058b4c7d37f99179efe6808464b7972c31e300ae9e05371134d7a149b5616d5 SHA512 072ae343bc44939deff435078c29954dc60e4bb5079aa705b7445bec17717919d4957858538284e4f131d734439743bd5d39085a618ea41d586be8be887cf2b8
26
27 diff --git a/dev-libs/libfilezilla/libfilezilla-0.31.1.ebuild b/dev-libs/libfilezilla/libfilezilla-0.31.1.ebuild
28 new file mode 100644
29 index 00000000000..0f53a3a7825
30 --- /dev/null
31 +++ b/dev-libs/libfilezilla/libfilezilla-0.31.1.ebuild
32 @@ -0,0 +1,48 @@
33 +# Copyright 1999-2021 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/16" # 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 + econf --disable-static
75 +}
76 +
77 +src_install() {
78 + default
79 + find "${ED}" -type f -name "*.la" -delete || die
80 +}