net-ftp/filezilla: add 3.70.4

Signed-off-by: Yixun Lan <dlan@gentoo.org>
This commit is contained in:
Yixun Lan
2026-04-13 07:36:22 +00:00
parent 818d9edd39
commit 5609af7906
3 changed files with 105 additions and 0 deletions

View File

@@ -1,2 +1,3 @@
DIST FileZilla_3.69.5_src.tar.xz 4167108 BLAKE2B dc3430a9c64720578f78b5bbcfb50775510660472ad98ab5fd1acd460742af7358a37cf029162df8ce395026c6052cb9526d50ed2611c9c01f89df115f63c32e SHA512 ef31535d8c1ca21c37577f30c2960c3cddec35a993d398460f105e2c8cfecb1c517cc092ce4042e4cde49b255afdeb245db1007d88a6bfdc8901afdde991db82
DIST FileZilla_3.69.6_src.tar.xz 4166148 BLAKE2B 7e2c229f688879a773f7b45ce530eff00c2fcbac02941a6ee2ff71f1f9ca69a704efaa57a88c2c34548c21ef42427646c2bd6afa50750fea2033f1d9ccd5e6d7 SHA512 4986ac95aa510fa4e44584afecb46f352bdf1330a65d37df9919f5a620dc2f1e927a148b564eb93a4a7afdc553c46e0626e54edd6c9953b8a9f0853942426908
DIST FileZilla_3.70.4_src.tar.xz 3564240 BLAKE2B d4ef89ee55bd1f3e4605fc3e923a1d52ed76b59f78639f30f1e0d6343857db68188316033cf4d09cea8decdd713e396971d2b714ff3f36ec1dc16bbb4b928f09 SHA512 26f95f28fd0c8687ab35cea975d6994a9c61b3fed542ae406ce945b41db43db83858e8341968c44babebebcc9c6b98719e1b3f7671aca6060e087065b548147a

View File

@@ -0,0 +1,26 @@
diff --git a/src/engine/Makefile.am b/src/engine/Makefile.am
index 90671dd..72a95ad 100644
--- a/src/engine/Makefile.am
+++ b/src/engine/Makefile.am
@@ -156,6 +156,8 @@ if FZ_MAC
libfzclient_private_la_LDFLAGS += -framework CoreServices
endif
+libfzclient_private_la_LIBADD = $(PUGIXML_LIBS)
+
CLEANFILES = filezilla.h.gch
DISTCLEANFILES = ./$(DEPDIR)/filezilla.Po
diff --git a/src/interface/Makefile.am b/src/interface/Makefile.am
index 60937a8..438b099 100644
--- a/src/interface/Makefile.am
+++ b/src/interface/Makefile.am
@@ -310,7 +310,7 @@ filezilla_LDFLAGS += $(PUGIXML_LIBS)
if HAVE_DBUS
filezilla_DEPENDENCIES += ../dbus/libfzdbus.a
-filezilla_LDFLAGS += ../dbus/libfzdbus.a $(LIBDBUS_LIBS)
+filezilla_LDADD = ../dbus/libfzdbus.a $(LIBDBUS_LIBS)
endif
filezilla_LDFLAGS += $(WX_LIBS)

View File

@@ -0,0 +1,78 @@
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
WX_GTK_VER="3.2-gtk3"
inherit autotools flag-o-matic wxwidgets xdg
MY_PV="${PV/_/-}"
MY_P="FileZilla_${MY_PV}"
DESCRIPTION="FTP client with lots of useful features and an intuitive interface"
HOMEPAGE="https://filezilla-project.org/"
# Broken URL behind CDN
SRC_URI="https://dev.gentoo.org/~dlan/distfiles/${PN}/${MY_P}_src.tar.xz"
S="${WORKDIR}/${PN}-${MY_PV}"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64"
IUSE="cpu_flags_x86_sse2 dbus nls test"
RESTRICT="!test? ( test )"
# pugixml 1.7 minimal dependency is for c++11 proper configuration
RDEPEND="
>=dev-libs/nettle-3.1:=
>=dev-db/sqlite-3.7
>=dev-libs/boost-1.76.0:=
>=dev-libs/libfilezilla-0.55.0:=
>=dev-libs/pugixml-1.7
>=net-libs/fzssh-1.1.9:=
>=net-libs/gnutls-3.5.7
x11-libs/wxGTK:${WX_GTK_VER}=[X]
x11-misc/xdg-utils
dbus? ( sys-apps/dbus )"
DEPEND="${RDEPEND}
test? ( >=dev-util/cppunit-1.13.0 )"
BDEPEND="
virtual/pkgconfig
>=dev-build/libtool-1.4
nls? ( >=sys-devel/gettext-0.11 )"
PATCHES=(
"${FILESDIR}"/${PN}-3.22.1-debug.patch
"${FILESDIR}"/${PN}-3.47.0-metainfo.patch
"${FILESDIR}"/${PN}-3.47.0-disable-shellext_conf.patch
"${FILESDIR}"/${PN}-3.70.4-slibtool.patch
"${FILESDIR}"/${PN}-3.60.1-desktop.patch
)
src_prepare() {
default
eautoreconf
}
src_configure() {
if use x86 && ! use cpu_flags_x86_sse2; then
append-cppflags -D_FORCE_SOFTWARE_SHA
fi
setup-wxwidgets
local myeconfargs=(
--disable-autoupdatecheck
--with-pugixml=system
$(use_enable nls locales)
$(use_with dbus)
)
econf "${myeconfargs[@]}"
}
src_install() {
default
# no static archives
find "${ED}" -name '*.la' -delete || die
}