From 6c464dad206381740bf6accc41d80728750077d0 Mon Sep 17 00:00:00 2001 From: Bernard Cafarelli Date: Tue, 25 Aug 2015 21:46:03 +0200 Subject: [PATCH] net-misc/owncloud-client: version bump Package-Manager: portage-2.2.20.1 --- net-misc/owncloud-client/Manifest | 1 + .../owncloud-client-2.0.0.ebuild | 97 +++++++++++++++++++ 2 files changed, 98 insertions(+) create mode 100644 net-misc/owncloud-client/owncloud-client-2.0.0.ebuild diff --git a/net-misc/owncloud-client/Manifest b/net-misc/owncloud-client/Manifest index 58f0e0929e94..27d0df80589f 100644 --- a/net-misc/owncloud-client/Manifest +++ b/net-misc/owncloud-client/Manifest @@ -2,3 +2,4 @@ DIST owncloudclient-1.8.0.tar.bz2 13556481 SHA256 192bec5fe4b60c40d3a5d60abe224a DIST owncloudclient-1.8.1.tar.xz 11343868 SHA256 8b9bb4fea2a4b80938a3477813839ac325ac1ed39a85a8f1e0cd3ebb0e430ea3 SHA512 171e378f283ecf51439f9e897bd0111bc5f7bdfdf8b2ae4e6b016a566e3848724419187887a542772f0f5aa6d96ff287b7d3ee45b085bb34771a7db0597138da WHIRLPOOL 5f43592ec59b642dc5ba83511f7d2e9a1e57a3254cd6582618e0c93cd7e3fb539af9a7d5b5524581300528a0e2b8dbf2ec23072fcf13740d4e422907b54094d9 DIST owncloudclient-1.8.3.tar.xz 11372576 SHA256 8cc4f8f6c146ff163f76d1b149ec92f3f98c07e3ea19c251d99d6a99affd0dde SHA512 e1dc54c99f04b4365af648f0d9a69249cdb7254728827bdf210dd336fc10571a431a9695f063f9abb306430059a6a63ed23ed588a035611725934ccdb1c57f90 WHIRLPOOL f7533d07913ce81a9a07f39eb892229646ccb8e4332159a80c08998c9f95901d57fcf01cca20ebbcb0a2f50e2009996a6659fd94e9e32da9d33cff7f97b3eb42 DIST owncloudclient-1.8.4.tar.xz 11371640 SHA256 ebe5ec7e33de6f2072bcadcd2b316a09b9d583d7d41eb1caf467a48896d81cdb SHA512 00aab07f92a2ea9e74af1321d466159abf152dd4899defd635595410258569e74a06071acc67a82371f8e150a4025ca76d1ad0eca5259af7ee7ce0fd3091b76f WHIRLPOOL 5a57c83334ea13eff473bca89970937929442719df7c5f50d35af0101f772adf658796e9fd4eaddb5c40b4c70b8727371baffedce38f4bb39658251eb7ccf26b +DIST owncloudclient-2.0.0.tar.xz 11734540 SHA256 21cb79fe11bbacc02a98ad16ae6051248a3676be01b15e870785f91b415323dd SHA512 5602c4055bdae98dec7eb72ca4ec38c881ebb55be0fc44387ae6a1ee8b8ab72f69e2061d807cb34f26a900c2399b170973af5d53a635d19b07df086745ae7123 WHIRLPOOL 7c4a2feeea38fba862ae692f29237dc585f20a90fe9ed2a896954c9d39a255d3ce213c36a785b93cab5b771888fefa3c2374c2f6b231987ca846e1596cfba9bf diff --git a/net-misc/owncloud-client/owncloud-client-2.0.0.ebuild b/net-misc/owncloud-client/owncloud-client-2.0.0.ebuild new file mode 100644 index 000000000000..a5c29bcc98f0 --- /dev/null +++ b/net-misc/owncloud-client/owncloud-client-2.0.0.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/linguist-tools:5 + 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 + ) + 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 +} -- 2.26.2