summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMoritz Schlarb <moschlar@metalabs.de>2017-05-20 00:55:49 +0200
committerMichał Górny <mgorny@gentoo.org>2017-05-20 20:54:55 +0200
commit64051760a51032b14d3e8db826f0c9ce8d2dffd1 (patch)
treea2fbac9b97d5146bc29208d071ba6e0995f55a43 /net-misc/seafile-client
parentnet-misc/seafile: Version bump to 6.0.6 (diff)
downloadgentoo-64051760a51032b14d3e8db826f0c9ce8d2dffd1.tar.gz
gentoo-64051760a51032b14d3e8db826f0c9ce8d2dffd1.tar.bz2
gentoo-64051760a51032b14d3e8db826f0c9ce8d2dffd1.zip
net-misc/seafile-client: Version bump to 6.0.6
Closes: https://github.com/gentoo/gentoo/pull/4683
Diffstat (limited to 'net-misc/seafile-client')
-rw-r--r--net-misc/seafile-client/Manifest1
-rw-r--r--net-misc/seafile-client/files/seafile-client-select-qt5.patch (renamed from net-misc/seafile-client/files/seafile-client-6.0.4-select-qt5.patch)0
-rw-r--r--net-misc/seafile-client/seafile-client-6.0.4-r3.ebuild (renamed from net-misc/seafile-client/seafile-client-6.0.4-r2.ebuild)2
-rw-r--r--net-misc/seafile-client/seafile-client-6.0.6.ebuild50
4 files changed, 52 insertions, 1 deletions
diff --git a/net-misc/seafile-client/Manifest b/net-misc/seafile-client/Manifest
index f2a952fd4d40..2c23a17f80db 100644
--- a/net-misc/seafile-client/Manifest
+++ b/net-misc/seafile-client/Manifest
@@ -1 +1,2 @@
DIST seafile-client-6.0.4.tar.gz 2173354 SHA256 530c9f12176b69117f319fb3cfd5d2624825df20a44ea6760530a47bf60ba535 SHA512 2572750d3b5bf7444b4c4ec300b1b54ba7eafec2393b8b6d6923eb5c16d1b96f411891d072aac23b1c4bb9e1834a263bd11283216759a34c3456bf3533967552 WHIRLPOOL 89614f915c7b65877282288c6ecd97b555262335261c8c7b45f8e64c628533848a5fb9c76a36fad1f7571388ca01abca242b71f3a873d4ed5cd9528d63628101
+DIST seafile-client-6.0.6.tar.gz 2183317 SHA256 df3a587c5e93c4f53768b0724115889be2bead65d7910a31e637c3075690ea6b SHA512 a7e389ac90ea07dade2a596c3c7ef41b5037ccffafb379d0af606a1fb6bc4838b20a10343e8e2b4a55f6d5da0d290e9827f628e2a1bdd92d4a6e1047a85ece5c WHIRLPOOL dc37e55b851a91ac4c0927ab4a12a6a2585622db0f86714741d7eb2dac45ec29dab69a740bc982af639048dd25fcb3803000eef66477900a5476aae2262d6af3
diff --git a/net-misc/seafile-client/files/seafile-client-6.0.4-select-qt5.patch b/net-misc/seafile-client/files/seafile-client-select-qt5.patch
index ed48dcf47573..ed48dcf47573 100644
--- a/net-misc/seafile-client/files/seafile-client-6.0.4-select-qt5.patch
+++ b/net-misc/seafile-client/files/seafile-client-select-qt5.patch
diff --git a/net-misc/seafile-client/seafile-client-6.0.4-r2.ebuild b/net-misc/seafile-client/seafile-client-6.0.4-r3.ebuild
index b417c30619ca..df361f9dff93 100644
--- a/net-misc/seafile-client/seafile-client-6.0.4-r2.ebuild
+++ b/net-misc/seafile-client/seafile-client-6.0.4-r3.ebuild
@@ -32,7 +32,7 @@ DEPEND="${RDEPEND}
test? ( dev-qt/qttest:5 )"
src_prepare() {
- eapply "${FILESDIR}/${P}-select-qt5.patch"
+ eapply "${FILESDIR}/${PN}-select-qt5.patch"
eapply "${FILESDIR}/${P}-only-use-qttest-where-needed.patch"
cmake-utils_src_prepare
if use shibboleth ; then
diff --git a/net-misc/seafile-client/seafile-client-6.0.6.ebuild b/net-misc/seafile-client/seafile-client-6.0.6.ebuild
new file mode 100644
index 000000000000..69b7bcb82bb7
--- /dev/null
+++ b/net-misc/seafile-client/seafile-client-6.0.6.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
+}