diff options
author | 2024-10-30 18:54:42 +0800 | |
---|---|---|
committer | 2024-11-08 11:02:53 +0800 | |
commit | b809027b4841885f9b6afd983aec6937a8e04d6f (patch) | |
tree | 033380a5c6b503b9756fa04e4b1317c06bfbd0e7 /dev-libs/libfilezilla | |
parent | app-misc/zellij: add 0.41.1 (diff) | |
download | gentoo-b809027b4841885f9b6afd983aec6937a8e04d6f.tar.gz gentoo-b809027b4841885f9b6afd983aec6937a8e04d6f.tar.bz2 gentoo-b809027b4841885f9b6afd983aec6937a8e04d6f.zip |
dev-libs/libfilezilla: add 0.49.0
Signed-off-by: Yixun Lan <dlan@gentoo.org>
Diffstat (limited to 'dev-libs/libfilezilla')
-rw-r--r-- | dev-libs/libfilezilla/Manifest | 1 | ||||
-rw-r--r-- | dev-libs/libfilezilla/libfilezilla-0.49.0.ebuild | 63 |
2 files changed, 64 insertions, 0 deletions
diff --git a/dev-libs/libfilezilla/Manifest b/dev-libs/libfilezilla/Manifest index 84fda602da06..23e0ae62d1e6 100644 --- a/dev-libs/libfilezilla/Manifest +++ b/dev-libs/libfilezilla/Manifest @@ -1,2 +1,3 @@ DIST libfilezilla-0.47.0.tar.xz 551484 BLAKE2B ba35bd990889a779f4c14c5c76c29dc5fed1bb97168e8dec75a59984133d6dbd56850208c55d6549c80dc2069ea007e0a26d7b604dbf9752c6ac018493a96627 SHA512 28af8aeacc5b6b188613c2afebb23477aa0c6908cd2bfe7dc39ba4b69fa67f2d18a64cdefe52968f429b18545fe03c031363b3aa9ed07b2ecb9faa56b1275282 DIST libfilezilla-0.48.1.tar.xz 552864 BLAKE2B fd08bbe3279cb1eec21c864e1b1547ee562d9fca970fed4dc3f78740bb9131b98410cc5ba317a05a5218b100dd498107dd2caed3ff3453b1516405c1075bbb62 SHA512 44881abbed985eabe0b5a19c6a2fc5f39c5258b49633eae79c7498c5c96583b24883ddce66b9ab7fafdaab7657092edc5da8e5d3b604897b76c02038fa4cd482 +DIST libfilezilla-0.49.0.tar.xz 554000 BLAKE2B 92cf203f4b58199ddd153be99f128d1c29d1f202e1cfe1354a185201d7f3eb9cc00d344ba58fe245f0444106fdfbef5dd5589969e9558404607edb22b94ef09a SHA512 5e77cf9371468f8760baa351108374187d89777244845386d4cc46d2bd03d52285379cd55902c91dad1167ac58892c9fd7c94d6596ef1710e8116dd1f9721eca diff --git a/dev-libs/libfilezilla/libfilezilla-0.49.0.ebuild b/dev-libs/libfilezilla/libfilezilla-0.49.0.ebuild new file mode 100644 index 000000000000..0225319987ba --- /dev/null +++ b/dev-libs/libfilezilla/libfilezilla-0.49.0.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2024 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/46" # 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 +) + +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 +} |