From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 4288815806E for ; Fri, 26 May 2023 09:33:51 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 83603E086D; Fri, 26 May 2023 09:33:50 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 42450E086D for ; Fri, 26 May 2023 09:33:50 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 2E32C340EE4 for ; Fri, 26 May 2023 09:33:49 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7437DA67 for ; Fri, 26 May 2023 09:33:47 +0000 (UTC) From: "Florian Schmaus" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Florian Schmaus" Message-ID: <1685093506.d67443f3670672c937dccfbf9bfe43a9fa74c09b.flow@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/nextcloud-client/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-misc/nextcloud-client/Manifest net-misc/nextcloud-client/nextcloud-client-3.8.2.ebuild X-VCS-Directories: net-misc/nextcloud-client/ X-VCS-Committer: flow X-VCS-Committer-Name: Florian Schmaus X-VCS-Revision: d67443f3670672c937dccfbf9bfe43a9fa74c09b X-VCS-Branch: master Date: Fri, 26 May 2023 09:33:47 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 76e991de-d213-49f7-8c8f-9bf27a748a70 X-Archives-Hash: cf4e9d3f1cef4656c01fd3f24f835d0a commit: d67443f3670672c937dccfbf9bfe43a9fa74c09b Author: Florian Schmaus gentoo org> AuthorDate: Fri May 26 09:25:22 2023 +0000 Commit: Florian Schmaus gentoo org> CommitDate: Fri May 26 09:31:46 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d67443f3 net-misc/nextcloud-client: add 3.8.2 This also adds the USE=keyring requirement to the qtkeychain dependency (bug #907201). Thanks to asturm for wrangling the bug and pointing out the fix, and to Alexander Petermann for reporting the issue. Closes: https://bugs.gentoo.org/907201 Signed-off-by: Florian Schmaus gentoo.org> net-misc/nextcloud-client/Manifest | 1 + .../nextcloud-client/nextcloud-client-3.8.2.ebuild | 113 +++++++++++++++++++++ 2 files changed, 114 insertions(+) diff --git a/net-misc/nextcloud-client/Manifest b/net-misc/nextcloud-client/Manifest index 3467beaf3418..efa504a64667 100644 --- a/net-misc/nextcloud-client/Manifest +++ b/net-misc/nextcloud-client/Manifest @@ -1,3 +1,4 @@ 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 DIST nextcloud-client-3.8.1.tar.gz 15738143 BLAKE2B d40ba3991d22c7a33c4fd027020411b516f3252f88006bfc80d301608c16ce2f16f9da8c37aa206d60415cd0b59303c9d2dcfdccb4ca4e5a157130c487fcdea3 SHA512 ab7dad7809e103f7111b928abe1799e9ab7a6df31d1e5b437b473607739132df90b5b5a1e318af0c32863c48092ddbb07087b2d2aa3580e1aa1e44b8dc4109e8 +DIST nextcloud-client-3.8.2.tar.gz 15605319 BLAKE2B babd45d0a38d5206afd9c2b69e7ea580aeb90df2606932cbfc28f688b20bb026e566ca8a30112975ae38c8d9807339433c8b972230c6a8122cb93ffadd2eecab SHA512 231e074fd3dcc8f69d62616ff4aeec5e748891bf93fc783861008a4e04a12066e77e1449d94f599e5edfa9861bad684403aef80e909e095c16170d8607626a9d diff --git a/net-misc/nextcloud-client/nextcloud-client-3.8.2.ebuild b/net-misc/nextcloud-client/nextcloud-client-3.8.2.ebuild new file mode 100644 index 000000000000..36659819045f --- /dev/null +++ b/net-misc/nextcloud-client/nextcloud-client-3.8.2.ebuild @@ -0,0 +1,113 @@ +# 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 +" +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 +RDEPEND=" + >=dev-db/sqlite-3.34:3 + >=dev-libs/openssl-1.1.0:0= + dev-libs/qtkeychain:=[keyring,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=" + ${RDEPEND} + 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 +) + +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 +}