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/files/, net-ftp/filezilla/
Date: Tue, 25 Feb 2020 10:02:41
Message-Id: 1582624952.e3b1fe69b9d655655c64b6d4c03fcb317e16a1ac.polynomial-c@gentoo
1 commit: e3b1fe69b9d655655c64b6d4c03fcb317e16a1ac
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Tue Feb 25 10:02:13 2020 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Tue Feb 25 10:02:32 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e3b1fe69
7
8 net-ftp/filezilla: Bump to version 3.47.0
9
10 Package-Manager: Portage-2.3.89, Repoman-2.3.20
11 Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
12
13 net-ftp/filezilla/Manifest | 1 +
14 .../files/filezilla-3.47.0-metainfo.patch | 11 +++
15 net-ftp/filezilla/filezilla-3.47.0.ebuild | 87 ++++++++++++++++++++++
16 3 files changed, 99 insertions(+)
17
18 diff --git a/net-ftp/filezilla/Manifest b/net-ftp/filezilla/Manifest
19 index 877c43cd209..e72b8e28aa1 100644
20 --- a/net-ftp/filezilla/Manifest
21 +++ b/net-ftp/filezilla/Manifest
22 @@ -3,3 +3,4 @@ DIST FileZilla_3.44.2_src.tar.bz2 4619337 BLAKE2B 11d61b14fcf464706dabe491fa8cbf
23 DIST FileZilla_3.45.1_src.tar.bz2 4649083 BLAKE2B 8d3113e5ce96d2115a6ec02109f2617d3d58109464c527284baecacea733d2f564206779cd32be4060171d7fcd8768b0296b445842b8c2964b173ca360983082 SHA512 feb267b85ad2843baea0c6df66ed86866121f33e2295fcb9003a8bc2603ad684f4fe801ea842cb291e3fb5cd7195ccb2d21bfa95711a61be6b4debfd4e1c7822
24 DIST FileZilla_3.46.0_src.tar.bz2 4661100 BLAKE2B ccda60b590e85afd7de0edd064ee7b993e663e43643f262378db6d26a019730ec493518e0e2b39bce0710acafe888f47f84ecb098e35d3b32061f089a99a6a30 SHA512 26ffb039b4a6d51d6d1011ee452f3690f74514c91a9e58c79880dbf778296cfc81283fade52f65f81654b828449e2b7e703b1d6c1e2e84c08f54681d2aa92674
25 DIST FileZilla_3.46.3_src.tar.bz2 4720329 BLAKE2B 92369d2fb3b8c9eded37f912bbd25a0e995a5fc1ab86ef6aa746a8eb239f17e8fafa78de00529b0f3af102fe268b51a60ce40ac967cf9b2fbbd6fa7900898ffc SHA512 35b61c3bfd1d40848e7846b4533da8844df0e4873cb89286b90330cbc29dffeff96fcab10aec908a08d9129198bb2d80df8f223d8ebc1a0863a4083cb06abffc
26 +DIST FileZilla_3.47.0_src.tar.bz2 4732662 BLAKE2B 02b3b16b41b6c7dc19f3349d14414023dfd900b5cc592b44a89a27541a3c4c0e876be59089d202e4b2938b2eb8b96d6e1b25501f16d5d3bcfd6477b744535728 SHA512 6b2089da271411552524621f6635857f37c42e1e67978337b02d2d26ee5f31e5895636158f647aaa184213d6ddfcf45d8320da1b7e52549bd5adbf62b6ebf22d
27
28 diff --git a/net-ftp/filezilla/files/filezilla-3.47.0-metainfo.patch b/net-ftp/filezilla/files/filezilla-3.47.0-metainfo.patch
29 new file mode 100644
30 index 00000000000..309c66815e3
31 --- /dev/null
32 +++ b/net-ftp/filezilla/files/filezilla-3.47.0-metainfo.patch
33 @@ -0,0 +1,11 @@
34 +--- filezilla-3.47.0/data/Makefile.am
35 ++++ filezilla-3.47.0/data/Makefile.am
36 +@@ -75,7 +75,7 @@
37 + desktopentrydir = $(datadir)/applications
38 + dist_desktopentry_DATA = filezilla.desktop
39 +
40 +-appdatadir = $(datadir)/appdata
41 ++appdatadir = $(datadir)/metainfo
42 + dist_appdata_DATA = filezilla.appdata.xml
43 +
44 + clean-local:
45
46 diff --git a/net-ftp/filezilla/filezilla-3.47.0.ebuild b/net-ftp/filezilla/filezilla-3.47.0.ebuild
47 new file mode 100644
48 index 00000000000..9f99a47ff44
49 --- /dev/null
50 +++ b/net-ftp/filezilla/filezilla-3.47.0.ebuild
51 @@ -0,0 +1,87 @@
52 +# Copyright 1999-2020 Gentoo Authors
53 +# Distributed under the terms of the GNU General Public License v2
54 +
55 +EAPI=6
56 +
57 +WX_GTK_VER="3.0-gtk3"
58 +
59 +inherit autotools flag-o-matic wxwidgets xdg
60 +
61 +MY_PV=${PV/_/-}
62 +MY_P="FileZilla_${MY_PV}"
63 +
64 +DESCRIPTION="FTP client with lots of useful features and an intuitive interface"
65 +HOMEPAGE="https://filezilla-project.org/"
66 +SRC_URI="https://download.filezilla-project.org/client/${MY_P}_src.tar.bz2"
67 +
68 +LICENSE="GPL-2"
69 +SLOT="0"
70 +KEYWORDS="~amd64 ~arm ~ia64 ~ppc ~ppc64 ~x86"
71 +IUSE="dbus nls test"
72 +
73 +# pugixml 1.7 minimal dependency is for c++11 proper configuration
74 +RDEPEND=">=app-eselect/eselect-wxwidgets-0.7-r1
75 + >=dev-libs/nettle-3.1:=
76 + >=dev-db/sqlite-3.7
77 + >=dev-libs/libfilezilla-0.20.0:=
78 + <dev-libs/libfilezilla-0.21.0:=
79 + >=dev-libs/pugixml-1.7
80 + >=net-libs/gnutls-3.5.7
81 + >=x11-libs/wxGTK-3.0.4:${WX_GTK_VER}[X]
82 + x11-misc/xdg-utils
83 + dbus? ( sys-apps/dbus )"
84 +DEPEND="${RDEPEND}
85 + virtual/pkgconfig
86 + >=sys-devel/libtool-1.4
87 + nls? ( >=sys-devel/gettext-0.11 )
88 + test? ( >=dev-util/cppunit-1.13.0 )"
89 +
90 +RESTRICT="!test? ( test )"
91 +
92 +S="${WORKDIR}"/${PN}-${MY_PV}
93 +
94 +DOCS=(AUTHORS ChangeLog NEWS )
95 +
96 +PATCHES=(
97 + "${FILESDIR}"/${PN}-3.22.1-debug.patch
98 + "${FILESDIR}"/${PN}-3.47.0-metainfo.patch
99 +)
100 +
101 +pkg_pretend() {
102 + if [[ ${MERGE_TYPE} != binary ]]; then
103 + if ! test-flag-CXX -std=c++14; then
104 + eerror "${P} requires C++14-capable C++ compiler. Your current compiler"
105 + eerror "does not seem to support -std=c++14 option. Please upgrade your compiler"
106 + eerror "to gcc-4.9 or an equivalent version supporting C++14."
107 + die "Currently active compiler does not support -std=c++14"
108 + fi
109 + fi
110 +}
111 +
112 +src_prepare() {
113 + setup-wxwidgets
114 + default
115 + eautoreconf
116 +}
117 +
118 +src_configure() {
119 + local myeconfargs=(
120 + --disable-autoupdatecheck
121 + --with-pugixml=system
122 + $(use_enable nls locales)
123 + $(use_with dbus)
124 + )
125 + econf "${myeconfargs[@]}"
126 +}
127 +
128 +pkg_preinst() {
129 + xdg_pkg_preinst
130 +}
131 +
132 +pkg_postinst() {
133 + xdg_pkg_postinst
134 +}
135 +
136 +pkg_postrm() {
137 + xdg_pkg_postrm
138 +}