summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2021-03-27 10:54:11 +0100
committerDavid Seifert <soap@gentoo.org>2021-03-27 10:54:11 +0100
commit3f24e176e56280d542f58e3b61f0d323abd06293 (patch)
tree763eb2a6e20c91f05a78ecbbc688c70b5313909a /net-ftp/filezilla
parentapp-portage/gentoopm: Bump to 0.3.3 (diff)
downloadgentoo-3f24e176e56280d542f58e3b61f0d323abd06293.tar.gz
gentoo-3f24e176e56280d542f58e3b61f0d323abd06293.tar.bz2
gentoo-3f24e176e56280d542f58e3b61f0d323abd06293.zip
net-ftp/filezilla: Port to EAPI 7
* Remove wrong pkg_pretend (actually requires C++17 nowadays) * Remove .la files * Move setup-wxwidgets to src_configure * Clean up metadata blocks Package-Manager: Portage-3.0.17, Repoman-3.0.2 Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'net-ftp/filezilla')
-rw-r--r--net-ftp/filezilla/filezilla-3.53.1-r1.ebuild (renamed from net-ftp/filezilla/filezilla-3.53.1.ebuild)47
1 files changed, 15 insertions, 32 deletions
diff --git a/net-ftp/filezilla/filezilla-3.53.1.ebuild b/net-ftp/filezilla/filezilla-3.53.1-r1.ebuild
index c8f67f39ebeb..db6302c5e6e5 100644
--- a/net-ftp/filezilla/filezilla-3.53.1.ebuild
+++ b/net-ftp/filezilla/filezilla-3.53.1-r1.ebuild
@@ -1,26 +1,29 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=7
WX_GTK_VER="3.0-gtk3"
inherit autotools flag-o-matic wxwidgets xdg
-MY_PV=${PV/_/-}
+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/"
SRC_URI="https://download.filezilla-project.org/client/${MY_P}_src.tar.bz2"
+S="${WORKDIR}/${PN}-${MY_PV}"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~arm ~ia64 ~ppc ~ppc64 ~x86"
IUSE="dbus nls test"
+RESTRICT="!test? ( test )"
# pugixml 1.7 minimal dependency is for c++11 proper configuration
-RDEPEND=">=app-eselect/eselect-wxwidgets-0.7-r1
+RDEPEND="
+ >=app-eselect/eselect-wxwidgets-0.7-r1
>=dev-libs/nettle-3.1:=
>=dev-db/sqlite-3.7
>=dev-libs/libfilezilla-0.26.0:=
@@ -30,16 +33,11 @@ RDEPEND=">=app-eselect/eselect-wxwidgets-0.7-r1
x11-misc/xdg-utils
dbus? ( sys-apps/dbus )"
DEPEND="${RDEPEND}
+ test? ( >=dev-util/cppunit-1.13.0 )"
+BDEPEND="
virtual/pkgconfig
>=sys-devel/libtool-1.4
- nls? ( >=sys-devel/gettext-0.11 )
- test? ( >=dev-util/cppunit-1.13.0 )"
-
-RESTRICT="!test? ( test )"
-
-S="${WORKDIR}"/${PN}-${MY_PV}
-
-DOCS=(AUTHORS ChangeLog NEWS )
+ nls? ( >=sys-devel/gettext-0.11 )"
PATCHES=(
"${FILESDIR}"/${PN}-3.22.1-debug.patch
@@ -48,24 +46,14 @@ PATCHES=(
"${FILESDIR}"/${PN}-3.52.2-slibtool.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() {
- setup-wxwidgets
default
eautoreconf
}
src_configure() {
+ setup-wxwidgets
+
local myeconfargs=(
--disable-autoupdatecheck
--with-pugixml=system
@@ -75,14 +63,9 @@ src_configure() {
econf "${myeconfargs[@]}"
}
-pkg_preinst() {
- xdg_pkg_preinst
-}
-
-pkg_postinst() {
- xdg_pkg_postinst
-}
+src_install() {
+ default
-pkg_postrm() {
- xdg_pkg_postrm
+ # no static archives
+ find "${ED}" -name '*.la' -delete || die
}