commit: d0d6ad77c3b2f718631e11a41bce839560272816 Author: Yixun Lan <dlan <AT> gentoo <DOT> org> AuthorDate: Sat Dec 20 11:20:55 2025 +0000 Commit: Yixun Lan <dlan <AT> gentoo <DOT> org> CommitDate: Sat Dec 20 11:25:17 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d0d6ad77
dev-libs/libfilezilla: add 0.53.1 Signed-off-by: Yixun Lan <dlan <AT> gentoo.org> dev-libs/libfilezilla/Manifest | 1 + dev-libs/libfilezilla/libfilezilla-0.53.1.ebuild | 64 ++++++++++++++++++++++++ 2 files changed, 65 insertions(+) diff --git a/dev-libs/libfilezilla/Manifest b/dev-libs/libfilezilla/Manifest index 56c211784197..8c8a1246efef 100644 --- a/dev-libs/libfilezilla/Manifest +++ b/dev-libs/libfilezilla/Manifest @@ -2,3 +2,4 @@ DIST libfilezilla-0.50.0.tar.xz 559004 BLAKE2B 27f060843eb3a92be0e350dd2ea8aae2f DIST libfilezilla-0.51.0.tar.xz 561100 BLAKE2B 5d99dac0595fbd7c60e4e9c4b6d5992db9966151457f0d7fc93c51063144860adef14b5410c28192cd8ad5298e71f665217bfd418098d217318b52fda7f14383 SHA512 0864c1d6e93f077005223d7a2818ff8711bfed0812bc369b04d2d20c07c1b41908951e5a96d4402407287b350513bf037b4b522a7cdff850071c8e2b045e83b0 DIST libfilezilla-0.51.1.tar.xz 559004 BLAKE2B 2c5a3a77f75d86af965a23e671be98fc75dac3b8b91a499a112a5d0d65b591355e8cc78e8b14e7b609f7f5537b88796c5f3d5928d40434fe14f6e6ecc368806b SHA512 9f686a5be076321a2db8b980d67a31f3c52726ea5d1550d44381c0c18a862056ee6669f5d7f5a67077f9283c04ceba3425c5b087e24d62671af8d68e4568442f DIST libfilezilla-0.52.0.tar.xz 567944 BLAKE2B e906b7395764b0114d82354c5596a3540d7aad9c941765ac3a7522cf7ce9ab339b6d266b1e08eaac26d36d1468df931ed4ca680c7901ea8953c65ddebf82590f SHA512 373d25bda6053667b1b2bd73359ff71fc6d45acb287712f650c07dc0a4c219a2d6ebdc614e38a767f62696c12e0cf53c8e72e5a2d72f437740373b02237cb349 +DIST libfilezilla-0.53.1.tar.xz 568308 BLAKE2B 47df6962fb0c94397d1d967f7f62cfa9b5cf39a2b39fe47eedc18f69559ddb28f3405590d5a572063a236396af4183f58fd3820dfddb722ecb1b512f3706206f SHA512 c41b7b803d433d381300bbd3127dfb086a412943b881f9135ee59b4d20130744e07372fad80bb22b241efdbec1b93eff5b5796b85e6c92921da2905dbc74e4af diff --git a/dev-libs/libfilezilla/libfilezilla-0.53.1.ebuild b/dev-libs/libfilezilla/libfilezilla-0.53.1.ebuild new file mode 100644 index 000000000000..54b746dc2902 --- /dev/null +++ b/dev-libs/libfilezilla/libfilezilla-0.53.1.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools flag-o-matic + +DESCRIPTION="C++ library offering some basic functionality for platform-independent programs" +HOMEPAGE="https://lib.filezilla-project.org/" +# Broken URL behind CDN +SRC_URI="https://dev.gentoo.org/~dlan/distfiles/${PN}/${P}.tar.xz" + +LICENSE="GPL-2+" +SLOT="0/51" # libfilezilla.so version +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" +IUSE="test" + +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-libs/nettle:0= + >=net-libs/gnutls-3.5.7:= + virtual/libcrypt:= +" +DEPEND="${RDEPEND} + test? ( dev-util/cppunit )" +BDEPEND="virtual/pkgconfig" + +PATCHES=( + "${FILESDIR}"/${PN}-0.37.1-pthread.patch + "${FILESDIR}"/${PN}-0.41.0-gcc13.patch + "${FILESDIR}"/${PN}-0.51.1-musl.patch +) + +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_prepare() { + default + # we patch configure.ac + eautoreconf +} + +src_configure() { + if use ppc || use arm || use hppa; then + # bug 727652 + append-libs -latomic + fi + + econf --disable-static +} + +src_install() { + default + find "${ED}" -type f -name "*.la" -delete || die +}
