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 (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id E9FBD15806E for ; Sun, 14 May 2023 10:01:03 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 70FFBE0877; Sun, 14 May 2023 10:01:02 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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 4B2E4E0877 for ; Sun, 14 May 2023 10:01:02 +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 0A4B933C1EA for ; Sun, 14 May 2023 10:01:01 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 61F9AA37 for ; Sun, 14 May 2023 10:00:59 +0000 (UTC) From: "Bernard Cafarelli" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Bernard Cafarelli" Message-ID: <1684058455.4e1096850ff225107516dba7cc43cf7d3b877c19.voyageur@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.42.2.ebuild X-VCS-Directories: dev-libs/libfilezilla/ X-VCS-Committer: voyageur X-VCS-Committer-Name: Bernard Cafarelli X-VCS-Revision: 4e1096850ff225107516dba7cc43cf7d3b877c19 X-VCS-Branch: master Date: Sun, 14 May 2023 10:00:59 +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: 03871680-5013-4f57-a1d8-84432e4ba049 X-Archives-Hash: deb466e193bb5cf8b6221650ed8aabb4 commit: 4e1096850ff225107516dba7cc43cf7d3b877c19 Author: Bernard Cafarelli gentoo org> AuthorDate: Sun May 14 09:48:39 2023 +0000 Commit: Bernard Cafarelli gentoo org> CommitDate: Sun May 14 10:00:55 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4e109685 dev-libs/libfilezilla: add 0.42.2 Signed-off-by: Bernard Cafarelli gentoo.org> dev-libs/libfilezilla/Manifest | 1 + dev-libs/libfilezilla/libfilezilla-0.42.2.ebuild | 54 ++++++++++++++++++++++++ 2 files changed, 55 insertions(+) diff --git a/dev-libs/libfilezilla/Manifest b/dev-libs/libfilezilla/Manifest index 62eba26d9e34..32e89032a1c2 100644 --- a/dev-libs/libfilezilla/Manifest +++ b/dev-libs/libfilezilla/Manifest @@ -2,3 +2,4 @@ DIST libfilezilla-0.39.1.tar.bz2 622574 BLAKE2B 2845f0309f8a9036f42930203b89d503 DIST libfilezilla-0.39.2.tar.bz2 623763 BLAKE2B f3fac951ea46e36d45748697f4f8d78b46176d457c42a031355f3d35713d419b31b2e886bfcba9f769814c67b8cd797ebc67b2ec6f338213a22dda7cc0282b6e SHA512 ffa0728aaaa90e1561f8ab6bb855bf21068d0a653dd764560064b36efc20b9d0182d97151fb528a7fb26fb2f1779a884d23f1e4cf0b13fa7984e7f3568c9c217 DIST libfilezilla-0.41.0.tar.bz2 627849 BLAKE2B 1697ce1a50b8d490d0197fb349ae7652dc6c7b9815dce68158478ba3122d483bf35cf1ab5c540b784d5677000c71afaabedc7e4097b38c486331238737351c01 SHA512 bda747299807c37c738ee6ade2f926bc500bd3d67de5b84b0201a4769c6c3d0899c3113c93afd88dc9958bc711426d6918af355e2d971c1b12de30304f2a47fc DIST libfilezilla-0.41.1.tar.bz2 627934 BLAKE2B 8838753f504ef3891c3602b473586c1b5eaeea5e2930e1d8386b28a1a620d73ebf7f2b48b3acdd8085eba7f904e4fdd99789e73dfdab5036de5fe32b6aa8534b SHA512 ae66fe9e0d537942f306e44f107553e870839031b1c6997f4638da3c5f015d94669eb869723d95d95632ebd30e17afc8303008501892caf76538a6898cf6210b +DIST libfilezilla-0.42.2.tar.xz 529032 BLAKE2B 08d4f48d4b4d38ba8cc52779d7e3b589d5bd7c76a2ab74f668064e49c4eb1d85f676715f363baae0660a2d04def82aed53e57e4bc7e9f97f0934802adc523c1d SHA512 a453854f3a7143a63a2fc79458096e9b8f2f6a07f480cb15a0c0873a4cc147c0373d6f1647e1dd3dece015fbdedc3ce3085d4c7d26c801c0948fd1c593fd6d8c diff --git a/dev-libs/libfilezilla/libfilezilla-0.42.2.ebuild b/dev-libs/libfilezilla/libfilezilla-0.42.2.ebuild new file mode 100644 index 000000000000..6b7067b11e01 --- /dev/null +++ b/dev-libs/libfilezilla/libfilezilla-0.42.2.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +inherit flag-o-matic + +DESCRIPTION="C++ library offering some basic functionality for platform-independent programs" +HOMEPAGE="https://lib.filezilla-project.org/" +SRC_URI="https://download.filezilla-project.org/${PN}/${P}.tar.xz" + +LICENSE="GPL-2+" +SLOT="0/35" # libfilezilla.so version +KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~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 )" + +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_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 +}