From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 229D8158042 for ; Fri, 8 Nov 2024 03:04:02 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9059CE08C2; Fri, 8 Nov 2024 03:03:59 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 7509EE08C2 for ; Fri, 8 Nov 2024 03:03:59 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 62A48340C7F for ; Fri, 8 Nov 2024 03:03:58 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B86171D6E for ; Fri, 8 Nov 2024 03:03:56 +0000 (UTC) From: "Yixun Lan" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Yixun Lan" Message-ID: <1731034973.b809027b4841885f9b6afd983aec6937a8e04d6f.dlan@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libfilezilla/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/libfilezilla/Manifest dev-libs/libfilezilla/libfilezilla-0.49.0.ebuild X-VCS-Directories: dev-libs/libfilezilla/ X-VCS-Committer: dlan X-VCS-Committer-Name: Yixun Lan X-VCS-Revision: b809027b4841885f9b6afd983aec6937a8e04d6f X-VCS-Branch: master Date: Fri, 8 Nov 2024 03:03:56 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 2c3b425f-08e2-4542-a117-0c7d7485a97d X-Archives-Hash: 173eb93258f3f8d2e93dd6ca82f2bbe7 commit: b809027b4841885f9b6afd983aec6937a8e04d6f Author: Yixun Lan gentoo org> AuthorDate: Wed Oct 30 10:54:42 2024 +0000 Commit: Yixun Lan gentoo org> CommitDate: Fri Nov 8 03:02:53 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b809027b dev-libs/libfilezilla: add 0.49.0 Signed-off-by: Yixun Lan gentoo.org> dev-libs/libfilezilla/Manifest | 1 + dev-libs/libfilezilla/libfilezilla-0.49.0.ebuild | 63 ++++++++++++++++++++++++ 2 files changed, 64 insertions(+) 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 +}