summaryrefslogtreecommitdiff
path: root/net-misc/nextcloud-client
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-04-13 11:43:14 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-04-13 11:43:14 +0100
commit128025db16ea525715d1f5170c635c4f42ce4881 (patch)
tree07a1048840d97aefa9778386f8a8abc27940c708 /net-misc/nextcloud-client
parent37cf2a8dbadd546a550aac7c8079c3f77427cb63 (diff)
gentoo auto-resync : 13:04:2023 - 11:43:14
Diffstat (limited to 'net-misc/nextcloud-client')
-rw-r--r--net-misc/nextcloud-client/Manifest3
-rw-r--r--net-misc/nextcloud-client/nextcloud-client-3.8.0.ebuild115
2 files changed, 118 insertions, 0 deletions
diff --git a/net-misc/nextcloud-client/Manifest b/net-misc/nextcloud-client/Manifest
index 3fdda0e845d5..616458a68026 100644
--- a/net-misc/nextcloud-client/Manifest
+++ b/net-misc/nextcloud-client/Manifest
@@ -2,7 +2,10 @@ AUX nextcloud-client-3.6.6-no-redefine-fortify-source.patch 1447 BLAKE2B 14a3a1a
DIST nextcloud-client-3.6.6.tar.gz 15497450 BLAKE2B 904f6f2a71a8c556fb4b9cb3710d09fff9888a7ea7c923d6dd7b42bd69bb2900a63525e5331bba893cb92663be7bdeaa228047a7af28bb3cdde7edb64f342c6c SHA512 b9fe96f9f8ac70c4c586b58f1b460e293d73e979d6b849d232112c7601463fd48608e8a093f3a8b0c2dc5a417e20e8aff3c2c3582eb7bce0fcb9f15e3d909327
DIST nextcloud-client-3.7.3.tar.gz 15681186 BLAKE2B 679e50026b0b3c5f97bdb85d402f9bde75eda741809300c9e5d4b293b0ae9567d571f05d66dee9b42508669dbdcffe32b579e9c011656f61a5a14f4c46d65539 SHA512 47fe079153673893f28f124b50761480715faba04913671b39d9c59ce32aa9cddc596295d3f2e76f1d47350676ef269deacd94e6df9a5132d9b800fa656fffad
DIST nextcloud-client-3.7.4.tar.gz 15701243 BLAKE2B 144c3da3d065d6ef85def2f36f9e12edf5e23c50972dd3e0bad7cf83a2f69087801a462bbd70cc129f8039824dbdbb4786b1d7c7328576a2ac86facbb0539a1c SHA512 913ebd97f5e35eb42270bb2b3329149f96c14419ba611990c0c7be8968ff464182b66db8ab34c25eeaf939fe28a14775875dd28837fcf5f166bfb714b4307a58
+DIST nextcloud-client-3.8.0-Fix-unit-tests-SecureFileDrop.patch 13834 BLAKE2B 636d57b5eb84d729b9d3c40e84e67f54a23b11d23f4b5ca7243a4315f20d29dfb1ef42cfc81cf916c5a7465cf6fe9d4a3b5cf9015c5717fce0858e1b6850c5d0 SHA512 bbcfeafe2fef0c593d4bc8e61606714e1444aecc4230f952276800d284c1ae7531bdf6d0793ccfba853731bdf27ced21ec16cce26c9dfb6faded47a7449dc440
+DIST nextcloud-client-3.8.0.tar.gz 15729588 BLAKE2B e88e9aa222baba3cde6c0c1096d207ee29f23f421ccd4637cada69bc7921b1273c6de4e0cbb632d32362efda748af7621923191fcac523292cf427f8c398187c SHA512 8d40c8f7c457ae6f839ea1a644bef79f1327b693b17ba6c4c59c0c8315c9fa26db717545a9b089be65cb55a3451e2f915c2bfd40b6e70a5c4f29fe03c15b6901
EBUILD nextcloud-client-3.6.6.ebuild 2448 BLAKE2B b7a6e52133b641e27967783f2ff9c0904c55e0eb351fd6d623d8b51307c88a0f2539b13293d721f6336ee8b3b1a4902470e7a6253264ec94e36874266532524d SHA512 b62f894bf1a7146cc668978cff338dcbe279336c3b59a2160b2e16216d36fbe8abb33b51fcf202ab6b2623e24f04990c9c3d7af7f9e65f298b8006060b4a8d41
EBUILD nextcloud-client-3.7.3.ebuild 2475 BLAKE2B 387be47ea4bc21a2a4c8a3185cc431b7df489e0fce2473b511341001fb1bbbe8b6f4ae2a46776a47ca236d7f29fe7f0360ea3a497ba37d439dc624b0fc845d2e SHA512 f280f6338026bed5cabfab1744a3f86f7ae3c8c675fd497e293a92fb1fae1f738104913f7609c17ea3aadb62b65f55570ed9cfafea6defbdbe8d66eabaa02b37
EBUILD nextcloud-client-3.7.4.ebuild 2476 BLAKE2B 334c25f35e9d648ba442f0cb492de26eabb6bb5225a933f83428eb7e3400b054de4d22a89c8facd108eeb6cff619aadb25df932a60dacdf0d8738e8dd815b960 SHA512 338518ed7f2fc43d32a7f5ad129dd8d38fb83713bd3beaed8c5ecfbbad73ddd99820fa27f48129cde0e0ae91a40d8725c2047b19ca56d9562cd9c310d3a9738d
+EBUILD nextcloud-client-3.8.0.ebuild 2684 BLAKE2B 9da6ae9c9f1bc63fca7acbeb0849e0e66ddb6aa9a820cbda59df7621637bc0c7e22a052b51a54d753c76a99e46505731e0e972832543506f3b548cf0b6150e12 SHA512 6ce0f927451af03036e6b24316a866b1fe22a233a24bcfabebabd63964419369d09c5368fd05920ca778c6436d57d6edc9a117a65f89af4ba91309c28c7484b0
MISC metadata.xml 712 BLAKE2B 423b16fa8879b0bc21d8ff1c692e5e592f571b5d69dcdd35fe79dae08b770c0d5beb2cbf71af2e7410d1dfd6917d15bac0482a84a40ce602ab03ab0f59940355 SHA512 2cfeff27549192c2aaa9c64369545e75b3a056c123d7647c96505dd410490230027401961e95ef88c93b0485393bd54aa11ddc922bcaf2782f9e68a2d8d17b32
diff --git a/net-misc/nextcloud-client/nextcloud-client-3.8.0.ebuild b/net-misc/nextcloud-client/nextcloud-client-3.8.0.ebuild
new file mode 100644
index 000000000000..2e258378c3b7
--- /dev/null
+++ b/net-misc/nextcloud-client/nextcloud-client-3.8.0.ebuild
@@ -0,0 +1,115 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake virtualx xdg
+
+DESCRIPTION="Desktop Syncing Client for Nextcloud"
+HOMEPAGE="https://github.com/nextcloud/desktop"
+SRC_URI="
+ https://github.com/nextcloud/desktop/archive/v${PV/_/-}.tar.gz -> ${P}.tar.gz
+ https://github.com/nextcloud/desktop/commit/31c3aee447bba3627a824cfa11bb318ab5fdf523.patch -> ${PN}-3.8.0-Fix-unit-tests-SecureFileDrop.patch
+"
+S="${WORKDIR}/desktop-${PV/_/-}"
+
+LICENSE="CC-BY-3.0 GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~x86"
+IUSE="doc dolphin nautilus test webengine"
+RESTRICT="!test? ( test )"
+
+# slot op for qtqui as this package uses private API parts of qtqui
+# src/gui/generalsettings.cpp:#include <private/qzipwriter_p.h>
+RDEPEND="
+ >=dev-db/sqlite-3.34:3
+ >=dev-libs/openssl-1.1.0:0=
+ dev-libs/qtkeychain:=[qt5(+)]
+ dev-qt/qtcore:5
+ dev-qt/qtdbus:5
+ dev-qt/qtdeclarative:5
+ dev-qt/qtgui:5=
+ dev-qt/qtnetwork:5[ssl]
+ dev-qt/qtquickcontrols2:5
+ dev-qt/qtsvg:5
+ dev-qt/qtwebsockets:5
+ dev-qt/qtwidgets:5
+ net-libs/libcloudproviders
+ kde-frameworks/karchive:5
+ sys-libs/zlib
+ dolphin? (
+ kde-frameworks/kcoreaddons:5
+ kde-frameworks/kio:5
+ )
+ nautilus? ( dev-python/nautilus-python )
+ webengine? ( dev-qt/qtwebengine:5[widgets] )
+"
+DEPEND="
+ ${R_DEPEND}
+ dev-qt/qtconcurrent:5
+ dev-qt/qtxml:5
+ || ( gnome-base/librsvg media-gfx/inkscape )
+ doc? (
+ dev-python/sphinx
+ dev-tex/latexmk
+ dev-texlive/texlive-latexextra
+ virtual/latex-base
+ )
+ test? (
+ dev-qt/qttest:5
+ dev-util/cmocka
+ )
+"
+BDEPEND="
+ dev-qt/linguist-tools:5
+ dolphin? ( kde-frameworks/extra-cmake-modules )
+"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-3.6.6-no-redefine-fortify-source.patch
+ "${DISTDIR}"/${PN}-3.8.0-Fix-unit-tests-SecureFileDrop.patch
+)
+
+src_prepare() {
+ # Keep tests in ${T}
+ sed -i -e "s#\"/tmp#\"${T}#g" test/test*.cpp || die
+
+ cmake_src_prepare
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DCMAKE_INSTALL_DOCDIR=/usr/share/doc/${PF}
+ -DBUILD_UPDATER=OFF
+ $(cmake_use_find_package doc Sphinx)
+ $(cmake_use_find_package doc PdfLatex)
+ $(cmake_use_find_package webengine Qt5WebEngine)
+ $(cmake_use_find_package webengine Qt5WebEngineWidgets)
+ -DBUILD_SHELL_INTEGRATION_DOLPHIN=$(usex dolphin)
+ -DBUILD_SHELL_INTEGRATION_NAUTILUS=$(usex nautilus)
+ -DBUILD_TESTING=$(usex test)
+ )
+
+ cmake_src_configure
+}
+
+src_test() {
+ virtx cmake_src_test
+}
+
+src_compile() {
+ local compile_targets=(all)
+ if use doc; then
+ compile_targets+=(doc doc-man)
+ fi
+ cmake_src_compile ${compile_targets[@]}
+}
+
+pkg_postinst() {
+ xdg_pkg_postinst
+
+ if ! use doc ; then
+ elog "Documentation and man pages not installed"
+ elog "Enable doc USE-flag to generate them"
+ fi
+}