diff options
author | Moritz Schlarb <schlarbm@uni-mainz.de> | 2017-03-13 15:02:14 +0100 |
---|---|---|
committer | Patrice Clement <monsieurp@gentoo.org> | 2017-04-13 23:20:39 +0200 |
commit | 223763ef571d64375ef900cbabab85a460e27688 (patch) | |
tree | 62fc4d704a627b24bdb591800d2f5fcd9f148d3d /net-misc | |
parent | net-misc/seafile: new ebuild. (diff) | |
download | gentoo-223763ef571d64375ef900cbabab85a460e27688.tar.gz gentoo-223763ef571d64375ef900cbabab85a460e27688.tar.bz2 gentoo-223763ef571d64375ef900cbabab85a460e27688.zip |
net-misc/seafile-client: new ebuild.
Seafile desktop client.
Gentoo-Bug: https://bugs.gentoo.org/499698
Closes: https://github.com/gentoo/gentoo/pull/4198
Diffstat (limited to 'net-misc')
-rw-r--r-- | net-misc/seafile-client/Manifest | 1 | ||||
-rw-r--r-- | net-misc/seafile-client/metadata.xml | 14 | ||||
-rw-r--r-- | net-misc/seafile-client/seafile-client-6.0.4.ebuild | 48 |
3 files changed, 63 insertions, 0 deletions
diff --git a/net-misc/seafile-client/Manifest b/net-misc/seafile-client/Manifest new file mode 100644 index 000000000000..f2a952fd4d40 --- /dev/null +++ b/net-misc/seafile-client/Manifest @@ -0,0 +1 @@ +DIST seafile-client-6.0.4.tar.gz 2173354 SHA256 530c9f12176b69117f319fb3cfd5d2624825df20a44ea6760530a47bf60ba535 SHA512 2572750d3b5bf7444b4c4ec300b1b54ba7eafec2393b8b6d6923eb5c16d1b96f411891d072aac23b1c4bb9e1834a263bd11283216759a34c3456bf3533967552 WHIRLPOOL 89614f915c7b65877282288c6ecd97b555262335261c8c7b45f8e64c628533848a5fb9c76a36fad1f7571388ca01abca242b71f3a873d4ed5cd9528d63628101 diff --git a/net-misc/seafile-client/metadata.xml b/net-misc/seafile-client/metadata.xml new file mode 100644 index 000000000000..a5e829bfd52d --- /dev/null +++ b/net-misc/seafile-client/metadata.xml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>moschlar@metalabs.de</email> + </maintainer> + <maintainer type="project"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> + <use> + <flag name="shibboleth">Build support for Shibboleth single sign-on</flag> + </use> +</pkgmetadata> diff --git a/net-misc/seafile-client/seafile-client-6.0.4.ebuild b/net-misc/seafile-client/seafile-client-6.0.4.ebuild new file mode 100644 index 000000000000..c4262682b995 --- /dev/null +++ b/net-misc/seafile-client/seafile-client-6.0.4.ebuild @@ -0,0 +1,48 @@ +# 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" + +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" + +src_prepare() { + 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() { + export QT_SELECT=qt5 + local mycmakeargs=( + -DBUILD_SHIBBOLETH_SUPPORT="$(usex shibboleth)" + ) + cmake-utils_src_configure +} |