commit: 8ff1e2adcc6de78d9ab51e57b341bff7b4bbbd0c Author: Moritz Schlarb <moschlar <AT> metalabs <DOT> de> AuthorDate: Thu Aug 3 06:42:51 2017 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Sun Aug 6 11:54:54 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ff1e2ad
net-misc/seafile-client: Version bump to 6.1.0 Closes: https://github.com/gentoo/gentoo/pull/5291 net-misc/seafile-client/Manifest | 1 + .../seafile-client/seafile-client-6.1.0.ebuild | 50 ++++++++++++++++++++++ 2 files changed, 51 insertions(+) diff --git a/net-misc/seafile-client/Manifest b/net-misc/seafile-client/Manifest index bd82286659a..6f781e638d1 100644 --- a/net-misc/seafile-client/Manifest +++ b/net-misc/seafile-client/Manifest @@ -1 +1,2 @@ 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 diff --git a/net-misc/seafile-client/seafile-client-6.1.0.ebuild b/net-misc/seafile-client/seafile-client-6.1.0.ebuild new file mode 100644 index 00000000000..69b7bcb82bb --- /dev/null +++ b/net-misc/seafile-client/seafile-client-6.1.0.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 +}