diff options
Diffstat (limited to 'net-misc/nextcloud-client')
-rw-r--r-- | net-misc/nextcloud-client/Manifest | 2 | ||||
-rw-r--r-- | net-misc/nextcloud-client/nextcloud-client-2.2.4.ebuild | 113 |
2 files changed, 115 insertions, 0 deletions
diff --git a/net-misc/nextcloud-client/Manifest b/net-misc/nextcloud-client/Manifest index 8bd97833fce7..d656530fb652 100644 --- a/net-misc/nextcloud-client/Manifest +++ b/net-misc/nextcloud-client/Manifest @@ -1,2 +1,4 @@ DIST nextcloud-client-2.2.3.tar.gz 642314 SHA256 0bafbe04da3d176ec4093b6f9d9519e8d70b56ee181fe630894fd9bd17008246 SHA512 d86c23e8b6014e3930c2f35a542b8efb19dfb73e246c47bf1a25bdc7cc834aa6c7c8e79439472a1a0da95ee293862f1b5aa2c4360bb82d1a5f73f4f41732e8c3 WHIRLPOOL 41633017cf181ea1a60051e7ae69f51d7b38e17a67d507053270f8440d0e06ce69a6e18f0c4331684b04d8edf5536e0284524719518788eae8b86e8ef989bcf6 +DIST nextcloud-client-2.2.4.tar.gz 642472 SHA256 55a16505c8551cb8e6af5d2f570b6d4384f33a75a79810864e1d4555d53dedf9 SHA512 646e624335cc11ac862b1b58ceb36aa8264f2db6ed586ae473b7522a5fdab7e30f196c1680f8dcf70af3b204374488e3bd589bb41669f9abcd9509d2293afc3f WHIRLPOOL 1bf627732492726fbb8394c2c88dcef667b8079a8923c906a58bd2039b14b27e76224ceb8d08654806d7f55f966b949c338ec759746acb90e023adc608d659da DIST owncloudclient-2.2.3.tar.xz 12215320 SHA256 f8c921e3eda543c6c860ea8e3024ed164df0db7c0e83d1778ab0adfd324f7d01 SHA512 71be325e5d6177a767dc61b043bd6126b5b7a492a2a777c0179c2dbb77bf6104e26fce92734a6d4bfcc7b9c451026e86a2f44d39869e9451f21b0e534c26e189 WHIRLPOOL 7099c62214f1170c6ec3dfe2adc1c692d8847a0643bd7f5d5a5028f65e395774a29eec3ee6ece72e9e85dd343b05c3c1184665db34e635b2b99c6e15a33ce54e +DIST owncloudclient-2.2.4.tar.xz 12216896 SHA256 f313534f7cdae686beeaa6670d9e3586a627ce78b67cab6e42a448a675d9e7d3 SHA512 5bc5273c90ab63c411e58d1fe13636f6b5977c28470efe53296a71541aaa63af99001cb630adaee99b9b81a8b56fe0f66c337319464ab950dd6eac4cdd53f951 WHIRLPOOL 18aa5076049f9cdfbafa58454937b7fc4c38a5405b6e1375d762d88bbfae92b813cd2ec88a4e4108012137c94908894821575d3f6d2bf694e35d734f2b8fbd37 diff --git a/net-misc/nextcloud-client/nextcloud-client-2.2.4.ebuild b/net-misc/nextcloud-client/nextcloud-client-2.2.4.ebuild new file mode 100644 index 000000000000..ee89872bb971 --- /dev/null +++ b/net-misc/nextcloud-client/nextcloud-client-2.2.4.ebuild @@ -0,0 +1,113 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +inherit cmake-utils + +DESCRIPTION="Nextcloud themed desktop client" +HOMEPAGE="https://github.com/nextcloud/client_theming" +SRC_URI="http://download.owncloud.com/desktop/stable/owncloudclient-${PV}.tar.xz + https://github.com/nextcloud/client_theming/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +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 + !net-misc/owncloud-client" +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}/client_theming-${PV} + +src_unpack() { + default + + rmdir "${S}"/client || die + mv "${WORKDIR}"/owncloudclient-${PV} "${S}"/client \ + || die +} + +src_prepare() { + CMAKE_USE_DIR="${S}"/client + # Keep tests in ${T} + sed -i -e "s#\"/tmp#\"${T}#g" client/test/test*.cpp || die "sed failed" + + if ! use nautilus; then + pushd client/shell_integration > /dev/null || die + cmake_comment_add_subdirectory nautilus + popd > /dev/null || die + fi + + 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) + -DUNIT_TESTING=$(usex test) + -DOEM_THEME_DIR="${S}"/nextcloudtheme + ) + + cmake-utils_src_configure +} + +pkg_postinst() { + if ! use doc ; then + elog "Documentation and man pages not installed" + elog "Enable doc USE-flag to generate them" + fi +} |