summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-misc')
-rw-r--r--net-misc/seafile-client/Manifest1
-rw-r--r--net-misc/seafile-client/seafile-client-6.1.3.ebuild50
2 files changed, 51 insertions, 0 deletions
diff --git a/net-misc/seafile-client/Manifest b/net-misc/seafile-client/Manifest
index 6f781e638d15..040b0ce47ff6 100644
--- a/net-misc/seafile-client/Manifest
+++ b/net-misc/seafile-client/Manifest
@@ -1,2 +1,3 @@
DIST seafile-client-6.0.7.tar.gz 2192384 SHA256 3212acab89ec3cee1508dd37826303447b7a738232e455b44ffc1a29d3c48baf SHA512 4baa15d454a9c937c9ae944b2bcc6b549fc41a1558e40578a273497ccb120a9131580f2b5db047ce6d7e0503105bd0fa5312e823ab475241fb07f5ba0021224f WHIRLPOOL b5b4595038c237a01d3421411047b99dc3189708dfd2cb0de90fe7b113a791d946fc4c65434ff8dc9996684b38aeda11b2a776a81cd5b12b2d88d69cde372a4a
DIST seafile-client-6.1.0.tar.gz 2246388 SHA256 6d1d9fdb238cdd8514f2aa22e81cbab7a4b178807e68883a7f8c29afd232369b SHA512 c6e3191afcaa833876c24690566be36ccc94e7a333c94f78df9201f23a3eed37397641e237e63b70cdc413ed6dc5683737d2eefa5c2c628b5e207bef1176b0d5 WHIRLPOOL 4e0ff1711cbe1447fd14734488cca65cdacce095efd92f9702ad6ea7f6ccd95af1525d179318029fc90dca54c478fa53c4f7b64854481f32620e5b20d90d611c
+DIST seafile-client-6.1.3.tar.gz 2358459 SHA256 63a124d7e27881bb30304c7a66dab87fddf8634462dc5741102a561dd4c38689 SHA512 be5426ef472ac7e788e164f601c4c2b2ca91e305b15dac7eddf9874af5639141bf845e36c5385c4af1d2f6df4c7af6554497bd107cbccb35f8c904694705497d WHIRLPOOL 758f60ccd735eadefff071eb632ef861d07584442dd69f21d73e4eebf9094677deff5c2b51ea06a0e4cd9347cc0293fc7e54bd3e6855075c75e11103a0882a45
diff --git a/net-misc/seafile-client/seafile-client-6.1.3.ebuild b/net-misc/seafile-client/seafile-client-6.1.3.ebuild
new file mode 100644
index 000000000000..69b7bcb82bb7
--- /dev/null
+++ b/net-misc/seafile-client/seafile-client-6.1.3.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit cmake-utils
+
+DESCRIPTION="Seafile desktop client"
+HOMEPAGE="https://github.com/haiwen/seafile-client/ http://www.seafile.com/"
+SRC_URI="https://github.com/haiwen/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="shibboleth test"
+
+RDEPEND="net-libs/libsearpc
+ =net-libs/ccnet-${PV}
+ =net-misc/seafile-${PV}
+ >=dev-libs/libevent-2.0
+ >=dev-libs/jansson-2.0
+ dev-libs/openssl:0=
+ dev-db/sqlite:3
+
+ dev-qt/qtcore:5
+ dev-qt/qtgui:5
+ dev-qt/qtwidgets:5
+ dev-qt/qtnetwork:5
+ dev-qt/qtdbus:5
+ shibboleth? ( || ( dev-qt/qtwebengine:5[widgets] dev-qt/qtwebkit:5 ) )"
+DEPEND="${RDEPEND}
+ dev-qt/linguist-tools:5
+ test? ( dev-qt/qttest:5 )"
+
+src_prepare() {
+ eapply "${FILESDIR}/${PN}-select-qt5.patch"
+ cmake-utils_src_prepare
+ if use shibboleth ; then
+ if ! has_version "dev-qt/qtwebengine:5[widgets]" ; then
+ sed -i -e 's/IF(WIN32 OR DETECTED_QT_VERSION VERSION_LESS 5.6.0)/IF(TRUE)/' CMakeLists.txt || die
+ fi
+ fi
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DBUILD_SHIBBOLETH_SUPPORT="$(usex shibboleth)"
+ -DBUILD_TESTING="$(usex test)"
+ )
+ cmake-utils_src_configure
+}