mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-06 02:17:34 -08:00
dev-libs/libfilezilla: add 0.51.1
Signed-off-by: Yixun Lan <dlan@gentoo.org>
This commit is contained in:
parent
53a05191c8
commit
ae053b70a0
@ -1,2 +1,3 @@
|
||||
DIST libfilezilla-0.50.0.tar.xz 559004 BLAKE2B 27f060843eb3a92be0e350dd2ea8aae2f4cb7a4654ad61cb2296f0b8f0a107350b989fdb62ab63256bc1e7b902ed167ec756bd3963e9c56220a7740669ff1b2a SHA512 ed12159d176da0019479fc3d2f129dbf959237340dbfe8fa6871ae2f1f038f64cf672eb25680e69304820f9003b03957a9ba7c2cdad1bd918dbf3ee630380608
|
||||
DIST libfilezilla-0.51.0.tar.xz 561100 BLAKE2B 5d99dac0595fbd7c60e4e9c4b6d5992db9966151457f0d7fc93c51063144860adef14b5410c28192cd8ad5298e71f665217bfd418098d217318b52fda7f14383 SHA512 0864c1d6e93f077005223d7a2818ff8711bfed0812bc369b04d2d20c07c1b41908951e5a96d4402407287b350513bf037b4b522a7cdff850071c8e2b045e83b0
|
||||
DIST libfilezilla-0.51.1.tar.xz 559004 BLAKE2B 2c5a3a77f75d86af965a23e671be98fc75dac3b8b91a499a112a5d0d65b591355e8cc78e8b14e7b609f7f5537b88796c5f3d5928d40434fe14f6e6ecc368806b SHA512 9f686a5be076321a2db8b980d67a31f3c52726ea5d1550d44381c0c18a862056ee6669f5d7f5a67077f9283c04ceba3425c5b087e24d62671af8d68e4568442f
|
||||
|
||||
63
dev-libs/libfilezilla/libfilezilla-0.51.1.ebuild
Normal file
63
dev-libs/libfilezilla/libfilezilla-0.51.1.ebuild
Normal file
@ -0,0 +1,63 @@
|
||||
# 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/48" # 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
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user