Gentoo Archives: gentoo-commits

From: Lars Wendler <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-ftp/filezilla/
Date: Wed, 20 May 2020 19:14:09
Message-Id: 1590002036.1b52227ad4e6bdad5d1adcf1e4d3b4a9e9fafc6a.polynomial-c@gentoo
1 commit: 1b52227ad4e6bdad5d1adcf1e4d3b4a9e9fafc6a
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Wed May 20 19:10:26 2020 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Wed May 20 19:13:56 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1b52227a
7
8 net-ftp/filezilla: Bump to version 3.48.1
9
10 Package-Manager: Portage-2.3.99, Repoman-2.3.22
11 Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
12
13 net-ftp/filezilla/Manifest | 1 +
14 net-ftp/filezilla/filezilla-3.48.1.ebuild | 88 +++++++++++++++++++++++++++++++
15 2 files changed, 89 insertions(+)
16
17 diff --git a/net-ftp/filezilla/Manifest b/net-ftp/filezilla/Manifest
18 index e298b000ef5..92a70d48a14 100644
19 --- a/net-ftp/filezilla/Manifest
20 +++ b/net-ftp/filezilla/Manifest
21 @@ -1,2 +1,3 @@
22 DIST FileZilla_3.47.2.1_src.tar.bz2 4733941 BLAKE2B 0517d43bfba8aa116ae4031d56e5070aadbcaf81ace2311f6cfddb47e7f67ec62396ae3690c139bcc1a8368be690776b3163dd6d53a6ebb27ee5e99300b3c67b SHA512 8919eab7762e0e30241637a8978fbf61f02ac4c52aac293191315b931d52b41ae228b753f4e3b7530835578836dfee7f91772841273e9fc2bdf75ff7ed48fafc
23 DIST FileZilla_3.48.0_src.tar.bz2 4765599 BLAKE2B 0ab391c0862a34dd5ede7a80290afc82b4d85b2deaf42d3bacd243bddf15505f05028522f73eeada07e91d91e0af87676ad77081c843448fda53c3b2ac18a70d SHA512 c9d4eb17dc31894468ca4b7c4c8fda0f307d3931bf1b3b8fb44afd084a1b2c9309d39e5745f9ba287a5566d44089af32350703e324a559afd6a015af469433fb
24 +DIST FileZilla_3.48.1_src.tar.bz2 4774251 BLAKE2B a77b821640aae3deaad3350809f34dbac8ed63c336435f92393017301509b91ef5e613ea64cb934dd2385b55fe7ba711269f85b7523d43ef451ab0cf6634ab0a SHA512 58792f92bb4f6102166924abaf843c023faeca7f2979aaa47c26f2bb3f8449902b4a43c50a800d56584d39c9ddf64a6d3334558e46f56bda3b8515c7a3ff0a12
25
26 diff --git a/net-ftp/filezilla/filezilla-3.48.1.ebuild b/net-ftp/filezilla/filezilla-3.48.1.ebuild
27 new file mode 100644
28 index 00000000000..d5eb40b08dd
29 --- /dev/null
30 +++ b/net-ftp/filezilla/filezilla-3.48.1.ebuild
31 @@ -0,0 +1,88 @@
32 +# Copyright 1999-2020 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=6
36 +
37 +WX_GTK_VER="3.0-gtk3"
38 +
39 +inherit autotools flag-o-matic wxwidgets xdg
40 +
41 +MY_PV=${PV/_/-}
42 +MY_P="FileZilla_${MY_PV}"
43 +
44 +DESCRIPTION="FTP client with lots of useful features and an intuitive interface"
45 +HOMEPAGE="https://filezilla-project.org/"
46 +SRC_URI="https://download.filezilla-project.org/client/${MY_P}_src.tar.bz2"
47 +
48 +LICENSE="GPL-2"
49 +SLOT="0"
50 +KEYWORDS="~amd64 ~arm ~ia64 ~ppc ~ppc64 ~x86"
51 +IUSE="dbus nls test"
52 +
53 +# pugixml 1.7 minimal dependency is for c++11 proper configuration
54 +RDEPEND=">=app-eselect/eselect-wxwidgets-0.7-r1
55 + >=dev-libs/nettle-3.1:=
56 + >=dev-db/sqlite-3.7
57 + >=dev-libs/libfilezilla-0.22.0:=
58 + <dev-libs/libfilezilla-0.23.0:=
59 + >=dev-libs/pugixml-1.7
60 + >=net-libs/gnutls-3.5.7
61 + >=x11-libs/wxGTK-3.0.4:${WX_GTK_VER}[X]
62 + x11-misc/xdg-utils
63 + dbus? ( sys-apps/dbus )"
64 +DEPEND="${RDEPEND}
65 + virtual/pkgconfig
66 + >=sys-devel/libtool-1.4
67 + nls? ( >=sys-devel/gettext-0.11 )
68 + test? ( >=dev-util/cppunit-1.13.0 )"
69 +
70 +RESTRICT="!test? ( test )"
71 +
72 +S="${WORKDIR}"/${PN}-${MY_PV}
73 +
74 +DOCS=(AUTHORS ChangeLog NEWS )
75 +
76 +PATCHES=(
77 + "${FILESDIR}"/${PN}-3.22.1-debug.patch
78 + "${FILESDIR}"/${PN}-3.47.0-metainfo.patch
79 + "${FILESDIR}"/${PN}-3.47.0-disable-shellext_conf.patch
80 +)
81 +
82 +pkg_pretend() {
83 + if [[ ${MERGE_TYPE} != binary ]]; then
84 + if ! test-flag-CXX -std=c++14; then
85 + eerror "${P} requires C++14-capable C++ compiler. Your current compiler"
86 + eerror "does not seem to support -std=c++14 option. Please upgrade your compiler"
87 + eerror "to gcc-4.9 or an equivalent version supporting C++14."
88 + die "Currently active compiler does not support -std=c++14"
89 + fi
90 + fi
91 +}
92 +
93 +src_prepare() {
94 + setup-wxwidgets
95 + default
96 + eautoreconf
97 +}
98 +
99 +src_configure() {
100 + local myeconfargs=(
101 + --disable-autoupdatecheck
102 + --with-pugixml=system
103 + $(use_enable nls locales)
104 + $(use_with dbus)
105 + )
106 + econf "${myeconfargs[@]}"
107 +}
108 +
109 +pkg_preinst() {
110 + xdg_pkg_preinst
111 +}
112 +
113 +pkg_postinst() {
114 + xdg_pkg_postinst
115 +}
116 +
117 +pkg_postrm() {
118 + xdg_pkg_postrm
119 +}