1 # Copyright 1999-2019 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
8 inherit autotools flag-o-matic wxwidgets xdg
11 MY_P="FileZilla_${MY_PV}"
13 DESCRIPTION="FTP client with lots of useful features and an intuitive interface"
14 HOMEPAGE="https://filezilla-project.org/"
15 SRC_URI="https://download.filezilla-project.org/client/${MY_P}_src.tar.bz2"
19 KEYWORDS="~amd64 ~arm ~ia64 ~ppc ~x86"
22 # pugixml 1.7 minimal dependency is for c++11 proper configuration
23 RDEPEND=">=app-eselect/eselect-wxwidgets-0.7-r1
24 >=dev-libs/nettle-3.1:=
26 >=dev-libs/libfilezilla-0.18.1
27 <dev-libs/libfilezilla-0.19.0
28 >=dev-libs/pugixml-1.7
29 >=net-libs/gnutls-3.5.7
30 >=x11-libs/wxGTK-3.0.4:${WX_GTK_VER}[X]
32 dbus? ( sys-apps/dbus )"
35 >=sys-devel/libtool-1.4
36 nls? ( >=sys-devel/gettext-0.11 )
37 test? ( >=dev-util/cppunit-1.13.0 )"
39 RESTRICT="!test? ( test )"
41 S="${WORKDIR}"/${PN}-${MY_PV}
43 DOCS=(AUTHORS ChangeLog NEWS )
46 "${FILESDIR}"/${PN}-3.22.1-debug.patch
50 if [[ ${MERGE_TYPE} != binary ]]; then
51 if ! test-flag-CXX -std=c++14; then
52 eerror "${P} requires C++14-capable C++ compiler. Your current compiler"
53 eerror "does not seem to support -std=c++14 option. Please upgrade your compiler"
54 eerror "to gcc-4.9 or an equivalent version supporting C++14."
55 die "Currently active compiler does not support -std=c++14"
68 --disable-autoupdatecheck
70 $(use_enable nls locales)
73 econf "${myeconfargs[@]}"