diff options
author | AstroFloyd <AstroFloyd@gmail.com> | 2017-11-24 17:21:49 +0100 |
---|---|---|
committer | AstroFloyd <AstroFloyd@gmail.com> | 2017-11-24 17:21:49 +0100 |
commit | 2e26425a74f61016c96bf0b81a194e672265f6cf (patch) | |
tree | cb6fbe9f48e2a93cb69585f04f0d655289fb47ea /net-misc | |
parent | sci-libs/levmar: Update to EAPI=5 (diff) | |
download | AstroFloyd-2e26425a74f61016c96bf0b81a194e672265f6cf.tar.gz AstroFloyd-2e26425a74f61016c96bf0b81a194e672265f6cf.tar.bz2 AstroFloyd-2e26425a74f61016c96bf0b81a194e672265f6cf.zip |
net-misc/owncloud-client: Keep v2.3.1 for use with SURFdrive
Package-Manager: Portage-2.3.13, Repoman-2.3.3
Diffstat (limited to 'net-misc')
-rw-r--r-- | net-misc/owncloud-client/ChangeLog | 5 | ||||
-rw-r--r-- | net-misc/owncloud-client/Manifest | 4 | ||||
-rw-r--r-- | net-misc/owncloud-client/metadata.xml | 13 | ||||
-rw-r--r-- | net-misc/owncloud-client/owncloud-client-2.3.1.ebuild | 89 |
4 files changed, 111 insertions, 0 deletions
diff --git a/net-misc/owncloud-client/ChangeLog b/net-misc/owncloud-client/ChangeLog new file mode 100644 index 0000000..7347606 --- /dev/null +++ b/net-misc/owncloud-client/ChangeLog @@ -0,0 +1,5 @@ +*owncloud-client-2.3.1 (24 Nov 2017) + + 24 Nov 2017; AstroFloyd <AstroFloyd@gmail.com> +metadata.xml, + +owncloud-client-2.3.1.ebuild: + net-misc/owncloud-client: Keep v2.3.1 for use with SURFdrive diff --git a/net-misc/owncloud-client/Manifest b/net-misc/owncloud-client/Manifest new file mode 100644 index 0000000..a55f84c --- /dev/null +++ b/net-misc/owncloud-client/Manifest @@ -0,0 +1,4 @@ +DIST owncloudclient-2.3.1.tar.xz 12260696 SHA256 93143752234a0bc4c9798b69d8239996d92130eecdc1d93b75e3d49b899f3914 SHA512 2dec3d4b452faca32e15c1a461d3fec97fc1c2e85bbfe2cb02035371a5426b8458be1382ed6b4a1102a4f38241580c3d49980ea388344365297a4a84f8dc9add WHIRLPOOL 49abeb9b9843a024338cd2d7c3a87625f7cd4f832db03513dc4d7b0d5d1908a5691d6f1e7b7437175084c30a5e3e18d837785afa5647971fdcb8e963db2d54b5 +EBUILD owncloud-client-2.3.1.ebuild 1974 SHA256 d1a250fa572d97a4c8ae4956255453bf395c9b6522887c2728a74cea947e9940 SHA512 7da968c1018e7cda21233f8cbca4accb5f0558745552bbbd31fb0a17500c4277c9b6422846ff10fdb0f870faa0528036771df4b68e4bb5c36d591b9a085049f2 WHIRLPOOL 2b5d4fb5969f7e02a194ece71fadac9ed8503164941058a41e70991ab862aed2cfda8f4a19d86ee531507b9355ed73289b2d62519b6f1c407f8ba701f4fb2505 +MISC ChangeLog 198 SHA256 f9b37fa19ff1b4ab6d38de943eb265b3e97bdda16ac84e2c8b0fcb2bb0319e67 SHA512 3723e511a0fe9cc4f8c8a1f102169e5a53960ca6ebe46242e03bc6e4713df3d4879cc2cbcf9ac813e5f4caca25449b03765eda20ac0e1b521aa800dbe779795e WHIRLPOOL 3828d7f701d954016319f12e23930dde1e7c219fc5ff82b31c100447b6885a534c12dc2db819669f85baa8f7adb7a8970e2faad82c6dad5d7933c2246a79db48 +MISC metadata.xml 518 SHA256 04460e80553f71035fa767b96f392c22333811bd6c124cbedbaf9d43aafeb05a SHA512 61be8923bc81bce0c8c053da319e974e488abe0515a12cab625ad51080b9c44fd3c1ea8d2867df58c4ca3efc1f81855927c3f2cd676785f114aebaa57b713e52 WHIRLPOOL ada30f0715fe5121fc3b28aa93a92ab9de9e334367ff79c6fdde7fe60e3b41443d03aabd70cb91dabefe6fbb6a9135f733dd48d790175d07ce5c71f562df7fba diff --git a/net-misc/owncloud-client/metadata.xml b/net-misc/owncloud-client/metadata.xml new file mode 100644 index 0000000..25d0eab --- /dev/null +++ b/net-misc/owncloud-client/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>voyageur@gentoo.org</email> + <name>Bernard Cafarelli</name> + </maintainer> + <use> + <flag name="dolphin">Install the <pkg>kde-apps/dolphin</pkg> extension</flag> + <flag name="nautilus">Install the <pkg>gnome-base/nautilus</pkg> extension</flag> + <flag name="sftp">Enable sftp transfer support via <pkg>net-libs/libssh</pkg></flag> + </use> +</pkgmetadata> diff --git a/net-misc/owncloud-client/owncloud-client-2.3.1.ebuild b/net-misc/owncloud-client/owncloud-client-2.3.1.ebuild new file mode 100644 index 0000000..dc30d73 --- /dev/null +++ b/net-misc/owncloud-client/owncloud-client-2.3.1.ebuild @@ -0,0 +1,89 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +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" + +COMMON_DEPEND=">=dev-db/sqlite-3.4:3 + dev-libs/qtkeychain[qt5(+)] + dev-qt/qtconcurrent:5 + dev-qt/qtcore:5 + dev-qt/qtdbus:5 + dev-qt/qtgui:5 + dev-qt/qtnetwork:5 + dev-qt/qtsql:5 + dev-qt/qtwebkit:5 + sys-fs/inotify-tools + virtual/libiconv + dolphin? ( + kde-frameworks/kcoreaddons:5 + kde-frameworks/kio:5 + ) + nautilus? ( dev-python/nautilus-python ) + samba? ( >=net-fs/samba-3.5 ) + sftp? ( >=net-libs/libssh-0.5 ) +" +RDEPEND="${COMMON_DEPEND} + !net-misc/ocsync + !net-misc/nextcloud-client +" +DEPEND="${COMMON_DEPEND} + dev-qt/linguist-tools:5 + doc? ( + dev-python/sphinx + dev-texlive/texlive-latexextra + virtual/latex-base + ) + dolphin? ( kde-frameworks/extra-cmake-modules ) + test? ( + dev-util/cmocka + 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" + + if ! use nautilus; then + pushd 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=OFF + -DCMAKE_DISABLE_FIND_PACKAGE_Libsmbclient=$(usex !samba) + -DCMAKE_DISABLE_FIND_PACKAGE_LibSSH=$(usex !sftp) + -DUNIT_TESTING=$(usex test) + ) + + 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 +} |