summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernard Cafarelli <voyageur@gentoo.org>2015-10-27 10:31:40 +0100
committerBernard Cafarelli <voyageur@gentoo.org>2015-10-27 10:34:44 +0100
commit26ec3bc9b4f339e2dd30b3932958b32eb4eedc14 (patch)
treeca4bfe6fb58ae3e9723bdbe3c236d80ba71b79fb /net-misc
parentdev-python/et_xmlfile: Version Bump (diff)
downloadgentoo-26ec3bc9b4f339e2dd30b3932958b32eb4eedc14.tar.gz
gentoo-26ec3bc9b4f339e2dd30b3932958b32eb4eedc14.tar.bz2
gentoo-26ec3bc9b4f339e2dd30b3932958b32eb4eedc14.zip
net-misc/owncloud-client: version bump
Package-Manager: portage-2.2.23
Diffstat (limited to 'net-misc')
-rw-r--r--net-misc/owncloud-client/Manifest1
-rw-r--r--net-misc/owncloud-client/owncloud-client-2.0.2.ebuild97
2 files changed, 98 insertions, 0 deletions
diff --git a/net-misc/owncloud-client/Manifest b/net-misc/owncloud-client/Manifest
index f3a93f3d2d6b..9e288ef75dc8 100644
--- a/net-misc/owncloud-client/Manifest
+++ b/net-misc/owncloud-client/Manifest
@@ -1,2 +1,3 @@
DIST owncloudclient-2.0.0.tar.xz 11734540 SHA256 21cb79fe11bbacc02a98ad16ae6051248a3676be01b15e870785f91b415323dd SHA512 5602c4055bdae98dec7eb72ca4ec38c881ebb55be0fc44387ae6a1ee8b8ab72f69e2061d807cb34f26a900c2399b170973af5d53a635d19b07df086745ae7123 WHIRLPOOL 7c4a2feeea38fba862ae692f29237dc585f20a90fe9ed2a896954c9d39a255d3ce213c36a785b93cab5b771888fefa3c2374c2f6b231987ca846e1596cfba9bf
DIST owncloudclient-2.0.1.tar.xz 11737332 SHA256 97e8fe888b8f59b0703fd9fbd54feecbf14c078ac14e9856bf0327f2b41bc287 SHA512 a09044c5c74c15761d0a531908ac1882f77f02e7199af4f8370253ae5f8d0966609d706a771f074d3c686d33f1db260e61be94a1f8fca239aa6d79d30093ef41 WHIRLPOOL d05dd8a3587987b4c8a86d4958b09e2480ae5390de755dc925f085b3392669835c089530d0cc5180b9c6254fec747aff77f8ba3fe06859501309975f37237986
+DIST owncloudclient-2.0.2.tar.xz 11518700 SHA256 2815dce34b568141d7c2ab90bcd733abb6862970917738e3b120d8073ab68228 SHA512 69b42ba45f95ed85f7afda586fb213069098ca5f7e779121a2a935066438403dba5e56292329997d955bbefbbafc3fadfed6bf1239ae9f0f90c91455d998c616 WHIRLPOOL 52224a5b79b9d28fb22d52ec9b30cc449b8e7b4dd6423c763c1f9bb429a7843d60381ad905921a20c33ab3bf864209f16aa9a55d7049b2175772b5c6ec92f768
diff --git a/net-misc/owncloud-client/owncloud-client-2.0.2.ebuild b/net-misc/owncloud-client/owncloud-client-2.0.2.ebuild
new file mode 100644
index 000000000000..3c1f069a00b8
--- /dev/null
+++ b/net-misc/owncloud-client/owncloud-client-2.0.2.ebuild
@@ -0,0 +1,97 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit cmake-utils
+
+DESCRIPTION="Synchronize files from ownCloud Server with your computer"
+HOMEPAGE="http://owncloud.org/"
+SRC_URI="http://download.owncloud.com/desktop/stable/${P/-}.tar.xz"
+
+LICENSE="CC-BY-3.0 GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc nautilus samba +sftp test qt4 +qt5"
+
+REQUIRED_USE="^^ ( qt4 qt5 )"
+
+RDEPEND=">=dev-db/sqlite-3.4:3
+ sys-fs/inotify-tools
+ virtual/libiconv
+ nautilus? ( dev-python/nautilus-python )
+ qt4? (
+ dev-libs/qtkeychain[qt4]
+ dev-qt/qtcore:4
+ dev-qt/qtdbus:4
+ dev-qt/qtgui:4
+ dev-qt/qtsql:4
+ dev-qt/qtwebkit:4
+ net-libs/neon[ssl]
+ )
+ qt5? (
+ dev-libs/qtkeychain[qt5]
+ dev-qt/qtconcurrent:5
+ dev-qt/qtcore:5
+ dev-qt/qtdbus:5
+ >=dev-qt/qtnetwork-5.4:5
+ dev-qt/qtgui:5
+ dev-qt/qtquickcontrols:5
+ dev-qt/qtsql:5
+ dev-qt/qtwebkit:5[printsupport]
+ )
+ samba? ( >=net-fs/samba-3.5 )
+ sftp? ( >=net-libs/libssh-0.5 )
+ !net-misc/ocsync"
+DEPEND="${RDEPEND}
+ doc? (
+ dev-python/sphinx
+ dev-texlive/texlive-latexextra
+ virtual/latex-base
+ )
+ qt5? ( dev-qt/linguist-tools:5 )
+ test? (
+ dev-util/cmocka
+ qt4? ( dev-qt/qttest:4 )
+ qt5? ( dev-qt/qttest:5 )
+ )"
+
+S=${WORKDIR}/${P/-}
+
+src_prepare() {
+ # Keep tests in ${T}
+ sed -i -e "s#\"/tmp#\"${T}#g" test/test*.h || die "sed failed"
+
+ use nautilus || sed -i -e "s/add_subdirectory(nautilus)//" \
+ shell_integration/CMakeLists.txt || die "sed failed"
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DSYSCONF_INSTALL_DIR="${EPREFIX}"/etc
+ -DCMAKE_INSTALL_DOCDIR=/usr/share/doc/${PF}
+ -DWITH_ICONV=ON
+ $(cmake-utils_use_with doc DOC)
+ $(cmake-utils_use test UNIT_TESTING)
+ $(cmake-utils_use_find_package samba Libsmbclient)
+ $(cmake-utils_use_find_package sftp LibSSH)
+ $(cmake-utils_use_build qt4 WITH_QT4)
+ )
+
+ cmake-utils_src_configure
+}
+
+src_test() {
+ # 1 test needs an existing ${HOME}/.config directory
+ mkdir "${T}"/.config
+ export HOME="${T}"
+ cmake-utils_src_test
+}
+
+pkg_postinst() {
+ if ! use doc ; then
+ elog "Documentation and man pages not installed"
+ elog "Enable doc USE-flag to generate them"
+ fi
+}