1 |
commit: f90cf18ecee4c852e5ba68ea74a978a91820c477 |
2 |
Author: Bernard Cafarelli <voyageur <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Mar 14 21:26:06 2023 +0000 |
4 |
Commit: Bernard Cafarelli <voyageur <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Mar 14 22:07:06 2023 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f90cf18e |
7 |
|
8 |
dev-libs/libfilezilla: add 0.41.1 |
9 |
|
10 |
Signed-off-by: Bernard Cafarelli <voyageur <AT> gentoo.org> |
11 |
|
12 |
dev-libs/libfilezilla/Manifest | 1 + |
13 |
dev-libs/libfilezilla/libfilezilla-0.41.1.ebuild | 54 ++++++++++++++++++++++++ |
14 |
2 files changed, 55 insertions(+) |
15 |
|
16 |
diff --git a/dev-libs/libfilezilla/Manifest b/dev-libs/libfilezilla/Manifest |
17 |
index 65d7fbcdcf93..62eba26d9e34 100644 |
18 |
--- a/dev-libs/libfilezilla/Manifest |
19 |
+++ b/dev-libs/libfilezilla/Manifest |
20 |
@@ -1,3 +1,4 @@ |
21 |
DIST libfilezilla-0.39.1.tar.bz2 622574 BLAKE2B 2845f0309f8a9036f42930203b89d503ffe5897dbb819cc9249b3179deb24f5c562843471712702d7a302df0b3c7dead1bc108de9dd5dd4b1cb1501cd3ef9ba1 SHA512 b5c4dcaef146ea3e249a4972e66aa441187693bea148f0ead0c08568ecf1856a78c7455cbc70737d82b9c33c2af5d6abe79dd4cb2dfbb65bdcefd6765016dfb6 |
22 |
DIST libfilezilla-0.39.2.tar.bz2 623763 BLAKE2B f3fac951ea46e36d45748697f4f8d78b46176d457c42a031355f3d35713d419b31b2e886bfcba9f769814c67b8cd797ebc67b2ec6f338213a22dda7cc0282b6e SHA512 ffa0728aaaa90e1561f8ab6bb855bf21068d0a653dd764560064b36efc20b9d0182d97151fb528a7fb26fb2f1779a884d23f1e4cf0b13fa7984e7f3568c9c217 |
23 |
DIST libfilezilla-0.41.0.tar.bz2 627849 BLAKE2B 1697ce1a50b8d490d0197fb349ae7652dc6c7b9815dce68158478ba3122d483bf35cf1ab5c540b784d5677000c71afaabedc7e4097b38c486331238737351c01 SHA512 bda747299807c37c738ee6ade2f926bc500bd3d67de5b84b0201a4769c6c3d0899c3113c93afd88dc9958bc711426d6918af355e2d971c1b12de30304f2a47fc |
24 |
+DIST libfilezilla-0.41.1.tar.bz2 627934 BLAKE2B 8838753f504ef3891c3602b473586c1b5eaeea5e2930e1d8386b28a1a620d73ebf7f2b48b3acdd8085eba7f904e4fdd99789e73dfdab5036de5fe32b6aa8534b SHA512 ae66fe9e0d537942f306e44f107553e870839031b1c6997f4638da3c5f015d94669eb869723d95d95632ebd30e17afc8303008501892caf76538a6898cf6210b |
25 |
|
26 |
diff --git a/dev-libs/libfilezilla/libfilezilla-0.41.1.ebuild b/dev-libs/libfilezilla/libfilezilla-0.41.1.ebuild |
27 |
new file mode 100644 |
28 |
index 000000000000..dddc27f0e981 |
29 |
--- /dev/null |
30 |
+++ b/dev-libs/libfilezilla/libfilezilla-0.41.1.ebuild |
31 |
@@ -0,0 +1,54 @@ |
32 |
+# Copyright 1999-2023 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=8 |
36 |
+inherit flag-o-matic |
37 |
+ |
38 |
+DESCRIPTION="C++ library offering some basic functionality for platform-independent programs" |
39 |
+HOMEPAGE="https://lib.filezilla-project.org/" |
40 |
+SRC_URI="https://download.filezilla-project.org/${PN}/${P}.tar.bz2" |
41 |
+ |
42 |
+LICENSE="GPL-2+" |
43 |
+SLOT="0/35" # libfilezilla.so version |
44 |
+KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~riscv ~x86" |
45 |
+IUSE="test" |
46 |
+ |
47 |
+RESTRICT="!test? ( test )" |
48 |
+ |
49 |
+RDEPEND=" |
50 |
+ dev-libs/nettle:0= |
51 |
+ >=net-libs/gnutls-3.5.7:= |
52 |
+ virtual/libcrypt:= |
53 |
+" |
54 |
+DEPEND="${RDEPEND} |
55 |
+ test? ( dev-util/cppunit )" |
56 |
+ |
57 |
+PATCHES=( |
58 |
+ "${FILESDIR}"/${PN}-0.37.1-pthread.patch |
59 |
+ "${FILESDIR}"/${PN}-0.41.0-gcc13.patch |
60 |
+) |
61 |
+ |
62 |
+pkg_pretend() { |
63 |
+ if [[ ${MERGE_TYPE} != binary ]]; then |
64 |
+ if ! test-flag-CXX -std=c++14; then |
65 |
+ eerror "${P} requires C++14-capable C++ compiler. Your current compiler" |
66 |
+ eerror "does not seem to support -std=c++14 option. Please upgrade your compiler" |
67 |
+ eerror "to gcc-4.9 or an equivalent version supporting C++14." |
68 |
+ die "Currently active compiler does not support -std=c++14" |
69 |
+ fi |
70 |
+ fi |
71 |
+} |
72 |
+ |
73 |
+src_configure() { |
74 |
+ if use ppc || use arm || use hppa; then |
75 |
+ # bug 727652 |
76 |
+ append-libs -latomic |
77 |
+ fi |
78 |
+ |
79 |
+ econf --disable-static |
80 |
+} |
81 |
+ |
82 |
+src_install() { |
83 |
+ default |
84 |
+ find "${ED}" -type f -name "*.la" -delete || die |
85 |
+} |