summaryrefslogtreecommitdiff
path: root/dev-libs/libfilezilla
diff options
context:
space:
mode:
Diffstat (limited to 'dev-libs/libfilezilla')
-rw-r--r--dev-libs/libfilezilla/Manifest2
-rw-r--r--dev-libs/libfilezilla/libfilezilla-0.27.0.ebuild48
2 files changed, 50 insertions, 0 deletions
diff --git a/dev-libs/libfilezilla/Manifest b/dev-libs/libfilezilla/Manifest
index 10ee363ffede..f243f5965453 100644
--- a/dev-libs/libfilezilla/Manifest
+++ b/dev-libs/libfilezilla/Manifest
@@ -1,5 +1,7 @@
DIST libfilezilla-0.25.0.tar.bz2 562726 BLAKE2B 8e6f381d2eb00445b4553418aafca750ee2a49a10410fe8de0f31ee15a3d33bf679ee1a10bc6e77800747d14bd79e0e90a585a8a090a09e55adb392a96020907 SHA512 7c07807a6d11f3455e41c9593ddeab8b5947448c5205f10e1e7306e0df27df24821189c75167007e00671b5d573ded72208e6f923406e37e8e5e3c28181ebe1a
DIST libfilezilla-0.26.0.tar.bz2 564361 BLAKE2B 962f513846cf74a419a281c751266360196225c06577e7f5fe6b67f23ef3a4759f7372cac8fe11918e49a0ed20e08995c4bd971a02e692979dc09726be51fea9 SHA512 96ccc61e66dae744c092389a570f591e4f4e62ebf4fc39ed5a60206ea96b47b1aeb3d8f2fb7e22b4920560af4ec212540cc177d23ddbeea879dcd80143b86af6
+DIST libfilezilla-0.27.0.tar.bz2 567792 BLAKE2B d20013746a0a90b9e95436a2b408e9d95eb6b2d32e5cbd0bb827f401a9917c2f376fce45108f332e0a8b71c55d29a78946396440b18f345d8214775a3b7f3b39 SHA512 f7545d0220bc83d66dd6b66494696a8799428d065037c98d7752d841e03fa5ea2198751cd22e22b9b1ad8023210725dd1af8afcffa6f61bcfe6aa12671200011
EBUILD libfilezilla-0.25.0.ebuild 1197 BLAKE2B 50fb4560d6a60d5a1a490fda01184173f1b82cb6f636330f6bb2d1186e9bd3327384757e6fc586be6ea15396a7d1c8aae27b90dd62a73dc3487e811329f6c1fc SHA512 8ed8773b226a0b656695e139f9eb97e1c7b6d9b32ece10085a3440427ee49aa802cb2ba587ecce33306ba85821c3a067937cdab2a5e17232c604bb186fc2d28e
EBUILD libfilezilla-0.26.0.ebuild 1201 BLAKE2B 605e1c7fd2059de3beeebcad1207cdc87d4003361e72fa2264c71e1570fab8a263a65e32d29c8b32a08caee46af68c20b60c56ec8f617f41ed3f66649ccfd1aa SHA512 5b195d6c324cc8467c46552ba4f60ec0b3b6a1dd5caca1810164f33fb50f49984b13a40dc42557b5c8fa9f44f731289a528bc8725f4c2583753fecd55264744a
+EBUILD libfilezilla-0.27.0.ebuild 1201 BLAKE2B 605e1c7fd2059de3beeebcad1207cdc87d4003361e72fa2264c71e1570fab8a263a65e32d29c8b32a08caee46af68c20b60c56ec8f617f41ed3f66649ccfd1aa SHA512 5b195d6c324cc8467c46552ba4f60ec0b3b6a1dd5caca1810164f33fb50f49984b13a40dc42557b5c8fa9f44f731289a528bc8725f4c2583753fecd55264744a
MISC metadata.xml 1135 BLAKE2B df349738b526f415335acdb239b0d567b2e86c835fc8faba17513a9cad40427b50d1822ee7f2d5931571cb02a26dc4a26831c44563ae3d9a6f999c8a63a23404 SHA512 f0a35af200bbaca778c066720f1c4bb8680418196ac996cf09158c2ff881612132c85a926d4881437c332bb7e1698c5f02c44be9e9cc9b976e5170813ecd8151
diff --git a/dev-libs/libfilezilla/libfilezilla-0.27.0.ebuild b/dev-libs/libfilezilla/libfilezilla-0.27.0.ebuild
new file mode 100644
index 000000000000..2f343c359bae
--- /dev/null
+++ b/dev-libs/libfilezilla/libfilezilla-0.27.0.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2021 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/11" # 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_configure() {
+ if use ppc || use arm || use hppa; then
+ # bug 727652
+ append-libs -latomic
+ fi
+
+ default
+}
+
+src_install() {
+ default
+ find "${ED}" -type f \( -name "*.a" -o -name "*.la" \) -delete || die
+}