mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-libs/libfilezilla: add 0.54.0
Signed-off-by: Yixun Lan <dlan@gentoo.org>
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
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
|
||||
DIST libfilezilla-0.54.0.tar.xz 568840 BLAKE2B fc1c8005bedf0417b091e7d43f159f0a19f6cb61ebbae02aa893d901a3ed9fb91635a5de84507a38a42e277e25c0566ac2ac7e44934f349102d0ae03d49393b1 SHA512 9c365946de1ae45b6ab17d0fbe271664ae84378383cbb7ea380fe46e300f1a2b6991781882c35d63308e0f5ceca941fd6d61f75124dd22cee51feb84d7fec3e5
|
||||
|
||||
64
dev-libs/libfilezilla/libfilezilla-0.54.0.ebuild
Normal file
64
dev-libs/libfilezilla/libfilezilla-0.54.0.ebuild
Normal file
@@ -0,0 +1,64 @@
|
||||
# Copyright 1999-2026 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
|
||||
}
|
||||
Reference in New Issue
Block a user