From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 5D98C1580EB for ; Fri, 30 May 2025 12:26:18 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 4C592343010 for ; Fri, 30 May 2025 12:26:18 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 1C299110480; Fri, 30 May 2025 12:26:11 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.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 bobolink.gentoo.org (Postfix) with ESMTPS id 13F63110480 for ; Fri, 30 May 2025 12:26:11 +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 C380F3430E8 for ; Fri, 30 May 2025 12:26:10 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 18C7C28EC for ; Fri, 30 May 2025 12:26:09 +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: <1748607881.ffca32f18e61130a5f303d1991782f3c1b316902.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.16.4.ebuild X-VCS-Directories: net-misc/nextcloud-client/ X-VCS-Committer: flow X-VCS-Committer-Name: Florian Schmaus X-VCS-Revision: ffca32f18e61130a5f303d1991782f3c1b316902 X-VCS-Branch: master Date: Fri, 30 May 2025 12:26:09 +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: 1a049289-4f57-4b0e-b074-122610e40d14 X-Archives-Hash: 258f8334f7b757f4dbe1283efc69749a commit: ffca32f18e61130a5f303d1991782f3c1b316902 Author: Florian Schmaus gentoo org> AuthorDate: Fri May 30 12:02:26 2025 +0000 Commit: Florian Schmaus gentoo org> CommitDate: Fri May 30 12:24:41 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ffca32f1 net-misc/nextcloud-client: add 3.16.4 Signed-off-by: Florian Schmaus gentoo.org> net-misc/nextcloud-client/Manifest | 1 + .../nextcloud-client-3.16.4.ebuild | 124 +++++++++++++++++++++ 2 files changed, 125 insertions(+) diff --git a/net-misc/nextcloud-client/Manifest b/net-misc/nextcloud-client/Manifest index 1064ba18b7b5..47f86d07740e 100644 --- a/net-misc/nextcloud-client/Manifest +++ b/net-misc/nextcloud-client/Manifest @@ -4,3 +4,4 @@ DIST nextcloud-client-3.15.2.tar.gz 15671238 BLAKE2B ea98587f4183d42d3e6ace54c0c DIST nextcloud-client-3.15.3.tar.gz 15683038 BLAKE2B 535b6f8fc70cbfb63c5c87f09f31da943df5e6dd9d218d2289beda51f6d10eec2e99a4bd1efe4f9b4b373c54414ec4c3b36a9e6968134733b7fe942ea2d26099 SHA512 bf451681c352c75290c92780a84c37456ec199890081f6e7f0f1b14e302c4e14a1998a0fa90e7b4702325a1f447a7538bec58e9021c2269bcf04f9275925b365 DIST nextcloud-client-3.16.2.tar.gz 15571309 BLAKE2B a1371e9884dbbdb905a4b41f010a8e600ddd5381d48af070847100b5a05f1d23e67954932d353ea1f7ffbafc678f170124aa2e34ed8f4d67617eadf2a1ff2a0b SHA512 b973a91115271044adcb393a4a8b3ea9b2883e4b77184437ecea4ba9dd9180d8c8ceca2e9488107db7f1f996f0dccf800855c9d4bede7be7bfcdf8af25e01610 DIST nextcloud-client-3.16.3.tar.gz 15594653 BLAKE2B b57c991428b819bd5cb76a84fb53c0f3162f2848153051a1fa70150b371227b53df2df32d409bd1b58fc71a21c3bcfff215ead0db63f4682613cc674f986732b SHA512 e01e24c68efaadb52a87632132c86b93898a7e22b3b5849abd1ac396c70a0a126e97176cc6a2958c24bfde162da44326676b1f40c13bcecfacc16892442abf9b +DIST nextcloud-client-3.16.4.tar.gz 15612642 BLAKE2B 2e70b106d7f2fdadf01947edaeadf3474fabacee28596a599631f43b4e568cbf46851f37855f1a51bb3a6cafe1107c5b97eaabed09549a7e0aa9cfe283f15d40 SHA512 86ed8c390cc2e616b6d3dfdcb6756f0fd72228b259c69d498ca12c29107bb71c817832eb72d3c48823a7ea5167a0f40d5e5aaa27f14d63ea9808ca476cf2fdb5 diff --git a/net-misc/nextcloud-client/nextcloud-client-3.16.4.ebuild b/net-misc/nextcloud-client/nextcloud-client-3.16.4.ebuild new file mode 100644 index 000000000000..64cb8c1cee3e --- /dev/null +++ b/net-misc/nextcloud-client/nextcloud-client-3.16.4.ebuild @@ -0,0 +1,124 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake flag-o-matic qmake-utils 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/49a7c8d7874643da2550793877115c7f3dbd2d05.patch + -> ${PN}-3.15.2-fix-macosvfs-file-sharing.png.patch +" +S="${WORKDIR}/desktop-${PV/_/-}" + +LICENSE="CC-BY-3.0 GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" +IUSE="doc dolphin nautilus test webengine" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-db/sqlite-3.34:3 + dev-libs/glib:2 + dev-libs/libp11 + >=dev-libs/openssl-1.1.0:0= + >=dev-libs/qtkeychain-0.14.2:=[qt6(+)] + dev-qt/qt5compat:6[qml] + >=dev-qt/qtbase-6.8:6[dbus,gui,network,sql,sqlite,ssl,widgets] + dev-qt/qtdeclarative:6[widgets] + dev-qt/qtsvg:6 + dev-qt/qtwebsockets:6 + kde-frameworks/karchive:6 + kde-frameworks/kguiaddons:6 + net-libs/libcloudproviders + sys-libs/zlib + dolphin? ( + kde-frameworks/kcoreaddons:6 + kde-frameworks/kio:6 + ) + nautilus? ( dev-python/nautilus-python ) + webengine? ( dev-qt/qtwebengine:6[widgets] ) +" +DEPEND=" + ${RDEPEND} + dev-qt/qtbase:6[concurrent,xml] + || ( + gnome-base/librsvg + media-gfx/inkscape + ) + doc? ( + dev-python/sphinx + dev-tex/latexmk + dev-texlive/texlive-latexextra + virtual/latex-base + ) + test? ( + dev-util/cmocka + ) +" +BDEPEND=" + dev-qt/qttools:6[linguist] + dolphin? ( >=kde-frameworks/extra-cmake-modules-5.106.0 ) +" + +PATCHES=( + "${FILESDIR}"/${PN}-3.6.6-no-redefine-fortify-source.patch + # https://github.com/nextcloud/desktop/pull/7691 + "${DISTDIR}"/${PN}-3.15.2-fix-macosvfs-file-sharing.png.patch +) + +src_prepare() { + # Keep tests in ${T} + sed -i -e "s#\"/tmp#\"${T}#g" test/test*.cpp || die + + cmake_src_prepare +} + +src_configure() { + # Temporary workaround for musl-1.2.4 + # upstream bug: https://github.com/nextcloud/desktop/issues/6536 + # gentoo bug #924503 + # XXX: This will stop working with future musl releases! + use elibc_musl && append-cppflags -D_LARGEFILE64_SOURCE + + local mycmakeargs=( + -DPLUGINDIR=$(qt6_get_plugindir) + -DCMAKE_INSTALL_DOCDIR=/usr/share/doc/${PF} + -DBUILD_UPDATER=OFF + $(cmake_use_find_package doc Sphinx) + $(cmake_use_find_package doc PdfLatex) + -DBUILD_WITH_WEBENGINE=$(usex webengine) + -DBUILD_SHELL_INTEGRATION_DOLPHIN=$(usex dolphin) + -DBUILD_SHELL_INTEGRATION_NAUTILUS=$(usex nautilus) + -DBUILD_TESTING=$(usex test) + ) + + cmake_src_configure +} + +src_test() { + TEST_VERBOSE=1 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 ! has_version -r "dev-libs/qtkeychain[keyring]"; then + elog "dev-libs/qtkeychain has not been build with the 'keyring' USE flag." + elog "Please consider enabling the 'keyring' USE flag. Otherwise you may" + elog "have to authenticate manually every time you start the nextlcoud client." + elog "See https://bugs.gentoo.org/912844 for more information." + fi +}