summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernard Cafarelli <voyageur@gentoo.org>2023-07-29 09:58:54 +0200
committerBernard Cafarelli <voyageur@gentoo.org>2023-07-29 10:02:19 +0200
commit737b817dc866d9e9a26c7f001382774f539a20eb (patch)
treeb1d8f292f71a79a4f951cd9c9f286d75cd095f78 /net-misc/nextcloud-client
parentnet-misc/nextcloud-client: drop 3.8.0, 3.8.1 (diff)
downloadgentoo-737b817dc866d9e9a26c7f001382774f539a20eb.tar.gz
gentoo-737b817dc866d9e9a26c7f001382774f539a20eb.tar.bz2
gentoo-737b817dc866d9e9a26c7f001382774f539a20eb.zip
net-misc/nextcloud-client: add 3.9.1
Signed-off-by: Bernard Cafarelli <voyageur@gentoo.org>
Diffstat (limited to 'net-misc/nextcloud-client')
-rw-r--r--net-misc/nextcloud-client/Manifest1
-rw-r--r--net-misc/nextcloud-client/nextcloud-client-3.9.1.ebuild113
2 files changed, 114 insertions, 0 deletions
diff --git a/net-misc/nextcloud-client/Manifest b/net-misc/nextcloud-client/Manifest
index fcb205e6cc82..68cef5032cc0 100644
--- a/net-misc/nextcloud-client/Manifest
+++ b/net-misc/nextcloud-client/Manifest
@@ -1,2 +1,3 @@
DIST nextcloud-client-3.8.2.tar.gz 15605319 BLAKE2B babd45d0a38d5206afd9c2b69e7ea580aeb90df2606932cbfc28f688b20bb026e566ca8a30112975ae38c8d9807339433c8b972230c6a8122cb93ffadd2eecab SHA512 231e074fd3dcc8f69d62616ff4aeec5e748891bf93fc783861008a4e04a12066e77e1449d94f599e5edfa9861bad684403aef80e909e095c16170d8607626a9d
DIST nextcloud-client-3.9.0.tar.gz 15648917 BLAKE2B 50d26c101143d0d3ca690f142d54f195fbdaea2b58e97f8c0199519300053e27cd87290425de396b6e236dd3629aaedd6220a53b03249fa4376e3007e31dba85 SHA512 be289d1714484bfa1b49f23f0db898b3c345df924cfb6cc7ab1db5715524bec7e80eedb8cfc19112778337f81424d498eb2a34d6b3fd05fc6daa161bbcceb480
+DIST nextcloud-client-3.9.1.tar.gz 15733029 BLAKE2B e7e792b2ea7985c02627661b4686bf568dfe8cfe722babbf5507293daec57b754566d259d3fd4bc0b224e1dc34ae0afa4c757e75910c4d6d4ded692f0d7c2b02 SHA512 b3c77243efed3b70a59c157ae6f45ebf8eb8c4926e23bd78b364e93cbc2612ec220db60ef6bd55e288a2eb5a454fea87fd348116057b052a15b5c6c69f0654d2
diff --git a/net-misc/nextcloud-client/nextcloud-client-3.9.1.ebuild b/net-misc/nextcloud-client/nextcloud-client-3.9.1.ebuild
new file mode 100644
index 000000000000..78bd99d7580a
--- /dev/null
+++ b/net-misc/nextcloud-client/nextcloud-client-3.9.1.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 <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="
+ ${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
+}