diff options
author | Bernard Cafarelli <voyageur@gentoo.org> | 2016-06-27 19:19:29 +0200 |
---|---|---|
committer | Bernard Cafarelli <voyageur@gentoo.org> | 2016-06-27 19:20:17 +0200 |
commit | 8ab8f01d109a2a41218f3d127df2f8acdcdf09df (patch) | |
tree | 6aba328997f7e1622c0677b518ff820466382c5a /net-misc/owncloud-client | |
parent | media-gfx/geeqie: 1.3 version bump (diff) | |
download | gentoo-8ab8f01d109a2a41218f3d127df2f8acdcdf09df.tar.gz gentoo-8ab8f01d109a2a41218f3d127df2f8acdcdf09df.tar.bz2 gentoo-8ab8f01d109a2a41218f3d127df2f8acdcdf09df.zip |
net-misc/owncloud-client: 2.2.2 version bump
Package-Manager: portage-2.3.0
Diffstat (limited to 'net-misc/owncloud-client')
-rw-r--r-- | net-misc/owncloud-client/Manifest | 1 | ||||
-rw-r--r-- | net-misc/owncloud-client/owncloud-client-2.2.2.ebuild | 105 |
2 files changed, 106 insertions, 0 deletions
diff --git a/net-misc/owncloud-client/Manifest b/net-misc/owncloud-client/Manifest index c2a4ade91b88..6538ae7f8acb 100644 --- a/net-misc/owncloud-client/Manifest +++ b/net-misc/owncloud-client/Manifest @@ -2,3 +2,4 @@ DIST owncloudclient-2.1.0.tar.xz 11749608 SHA256 73553f182cc5e3d87a5382bf17f9adf DIST owncloudclient-2.1.1.tar.xz 11920024 SHA256 4e7cfeb72ec565392e7968f352c4a7f0ef2988cc577ebdfd668a3887d320b1cb SHA512 62cd22c1c7119cc2269537ab562072bffa1a968b720263810f35b58722bac5b370b7b7ae6ec6fd3e9778bd996c8e4b0b91c34c1a3b533e1a60853963a8de5e19 WHIRLPOOL 00cf583a5c8c688d7fa08029cba5bb06412f4a3dbbfdd942dbc542af8ceb13603a9a757f8fa110b2dafcd0a8083ad40b7a2bf8a86155fb6f4515df72bad1cedf DIST owncloudclient-2.2.0.tar.xz 12005628 SHA256 78888559df049d770409fa0828619d6024c3b76bf0fc3f6ab3f85038028667aa SHA512 5477604e0fc18d82747771d1e6e34fa2b7f923e374ab22a77adfd4f331c07d3e62230935afb38d68847674d7f2309c39b1c274a4ee8c833593275a2197fbb027 WHIRLPOOL a8d6c89291af1e00ac685f1e5837b16231f92010184126d219e49a8c09904285b991780af48b34fed7b886c7a5f5ca95257f55ad1cfdda6b9157d6cc6886ef8c DIST owncloudclient-2.2.1.tar.xz 12209276 SHA256 70d464dcf3f67d6377fdcae755c5dd26de539c323e0d5f445e957832a5303af2 SHA512 33af6f72dbe3f46316e095c6f2c7e4c431a9e018e1c2f351115989049a345a9cc018951cced5f77f682fc68f781a804603526567721a70943a2b93b7e3456ed4 WHIRLPOOL d39975cb95c3aaa0029373eacffafac1d430a880e919b9a315a50c315f95e666b48e7ab607db58344bdd01cbb66504567d4b39bdb60f5cc8cf856ed12c247b75 +DIST owncloudclient-2.2.2.tar.xz 12208852 SHA256 368109ab0cf85b3b286d1479e5e585f6cdb70647d0a51afbc3581c2ec2ee1754 SHA512 8363fb94e203ce90026c129fd8caef6d527546e06c7acdaab0cff17d18ab886a9cef3c8f12178bafa3f1e2bd7f4fbdff7ea191f66e803ea0002eff17346ed56b WHIRLPOOL 065edc2dfe8f800e2653540dcf6b6374941f275eab4b30008dfc823982fc727eda868af0618cf21f302d68a22ec00606da4d9e786fc32f2104c1bf58f84f0db3 diff --git a/net-misc/owncloud-client/owncloud-client-2.2.2.ebuild b/net-misc/owncloud-client/owncloud-client-2.2.2.ebuild new file mode 100644 index 000000000000..0efa6e1223e2 --- /dev/null +++ b/net-misc/owncloud-client/owncloud-client-2.2.2.ebuild @@ -0,0 +1,105 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +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 dolphin nautilus samba +sftp test qt4 +qt5" + +REQUIRED_USE="^^ ( qt4 qt5 ) + dolphin? ( qt5 )" + +RDEPEND=">=dev-db/sqlite-3.4:3 + sys-fs/inotify-tools + virtual/libiconv + dolphin? ( + >=kde-frameworks/kcoreaddons-5.16:5 + >=kde-frameworks/kio-5.16:5 ) + 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 + ) + dolphin? ( >=kde-frameworks/extra-cmake-modules-5.22.0 ) + 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*.cpp || die "sed failed" + + use nautilus || sed -i -e "s/add_subdirectory(nautilus)//" \ + shell_integration/CMakeLists.txt || die "sed failed" + + default +} + +src_configure() { + local mycmakeargs=( + -DSYSCONF_INSTALL_DIR="${EPREFIX}"/etc + -DCMAKE_INSTALL_DOCDIR=/usr/share/doc/${PF} + -DWITH_ICONV=ON + -DWITH_DOC=$(usex doc) + -DCMAKE_DISABLE_FIND_PACKAGE_KF5=$(usex !dolphin) + -DBUILD_WITH_QT4=$(usex qt4) + -DCMAKE_DISABLE_FIND_PACKAGE_Libsmbclient=$(usex !samba) + -DCMAKE_DISABLE_FIND_PACKAGE_LibSSH=$(usex !sftp) + -DUSE_UNIT_TESTING=$(usex test) + ) + + 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 +} |