summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2020-02-17 11:12:24 +0100
committerLars Wendler <polynomial-c@gentoo.org>2020-02-17 11:12:37 +0100
commit5aea8f8f1645826482b27835b755120fbe51d7a5 (patch)
treebafd21035ac7fb2869790dfece26fd88bd584a19
parentnet-misc/whois: Removed old (diff)
downloadgentoo-5aea8f8f1645826482b27835b755120fbe51d7a5.tar.gz
gentoo-5aea8f8f1645826482b27835b755120fbe51d7a5.tar.bz2
gentoo-5aea8f8f1645826482b27835b755120fbe51d7a5.zip
dev-libs/libfilezilla: Bump to version 0.20.0
Package-Manager: Portage-2.3.89, Repoman-2.3.20 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
-rw-r--r--dev-libs/libfilezilla/Manifest1
-rw-r--r--dev-libs/libfilezilla/libfilezilla-0.20.0.ebuild39
2 files changed, 40 insertions, 0 deletions
diff --git a/dev-libs/libfilezilla/Manifest b/dev-libs/libfilezilla/Manifest
index 02b2f7026479..12b617b5ccd8 100644
--- a/dev-libs/libfilezilla/Manifest
+++ b/dev-libs/libfilezilla/Manifest
@@ -2,3 +2,4 @@ DIST libfilezilla-0.15.1.tar.bz2 404746 BLAKE2B 644f4b8949670d5b07f9e7b861d388ce
DIST libfilezilla-0.18.2.tar.bz2 526968 BLAKE2B 81b27c18e9c04e2277dbe7a2fa2bfe3c1fa7c1f9c27eaf5cc02f309a15e9b61e71e5a67aa359c7bb36b27335f008cfb58641adcb42745ac00b9ac9eb2c649cde SHA512 6f165a008ea8e3090554070685ef042b5304a8e7fdeb9f16c81a01c00b5fcb3d4acd356cfaf3fc1189c04db0b726dd005c592f6c7c6b06a527d8b82e7890257b
DIST libfilezilla-0.19.1.tar.bz2 539952 BLAKE2B a581964a34c9104543eb06579e1f1b816b0f47e6ef3af0de9aa0b7528665ca0ac17ddf3c5327a434b8e344bdde5602f1b7a71b7cc755367e750c88de06329335 SHA512 1342a199e4bdc211437deaa4ff34fe7f7de476a664b1ea4dc8df0482db98eb6c21e03f9c7b510bc00c81f6dacd7fdec2fa721554fe6e71c5bb2763618759b1a1
DIST libfilezilla-0.19.3.tar.bz2 541117 BLAKE2B c0015be2fa632cc4bfd44d5e02bdc9e14c5ac0598e4c83fabc95e00dd82669963d02a8e7b3db33e554d86f333eb5a7afdd6235acfa7b336dbd5bbfbf334f4381 SHA512 264a3a110dc4e99f6b993479be9f25cf831297899c699d73e5ad5a403e11ff09fa9ab062a420a0111e78f7d6e68e92fa461c161c8fd7c274cf227ef45f618849
+DIST libfilezilla-0.20.0.tar.bz2 548447 BLAKE2B d85fb1a0c269603c83fe778d6bd081205f2f860b4af4605750f385a8c57c4be346c4ef09490f5a2e601c4fffbf43c692e0076cc89637202dadbc74f85f91d803 SHA512 3eae172aa84a0d30e0ad5da4cab828b1003226f7971ccc8823f7f59bd1783067d4cbd4e11be8ba5ce1376243876c8516db563e336cdba99c24cad85730e22d1a
diff --git a/dev-libs/libfilezilla/libfilezilla-0.20.0.ebuild b/dev-libs/libfilezilla/libfilezilla-0.20.0.ebuild
new file mode 100644
index 000000000000..61611daf6b65
--- /dev/null
+++ b/dev-libs/libfilezilla/libfilezilla-0.20.0.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit flag-o-matic
+
+DESCRIPTION="C++ library offering some basic functionality for platform-independent programs"
+HOMEPAGE="https://lib.filezilla-project.org/"
+SRC_URI="https://download.filezilla-project.org/${PN}/${P}.tar.bz2"
+
+LICENSE="GPL-2+"
+SLOT="0/4" # libfilezilla .so version
+KEYWORDS="~amd64 ~arm ~ia64 ~ppc ~ppc64 ~x86"
+IUSE="test"
+
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+ dev-libs/nettle:0=
+ >=net-libs/gnutls-3.5.7:=
+"
+DEPEND="${RDEPEND}
+ test? ( dev-util/cppunit )"
+
+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_install() {
+ default
+ find "${ED}" -type f \( -name "*.a" -o -name "*.la" \) -delete || die
+}