diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-09-14 11:10:11 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-09-14 11:10:11 +0100 |
commit | 81b8f20732954c4508baf2f77472b5435e3f851f (patch) | |
tree | 4180177cb7ba85eab50159ce96218c2419fb24a6 /net-misc/nextcloud-client | |
parent | 946859e0e36904cffb3e0ccbccb6b7b1347c1cc8 (diff) |
gentoo auto-resync : 14:09:2022 - 11:10:10
Diffstat (limited to 'net-misc/nextcloud-client')
-rw-r--r-- | net-misc/nextcloud-client/Manifest | 4 | ||||
-rw-r--r-- | net-misc/nextcloud-client/nextcloud-client-3.5.4.ebuild | 2 | ||||
-rw-r--r-- | net-misc/nextcloud-client/nextcloud-client-3.6.0.ebuild | 105 |
3 files changed, 109 insertions, 2 deletions
diff --git a/net-misc/nextcloud-client/Manifest b/net-misc/nextcloud-client/Manifest index 7c7466a17e01..01896531001f 100644 --- a/net-misc/nextcloud-client/Manifest +++ b/net-misc/nextcloud-client/Manifest @@ -1,5 +1,7 @@ DIST nextcloud-client-3.5.2.tar.gz 15433543 BLAKE2B 082031ac34a644f0db09679ef34237ee8fc9def88ff4659ad4a71e3ac611b3be3f9a0750deda25cd0ef34aca7e9d3c60fe7d3fc5a4d747eef46978e2fe84b742 SHA512 2892c277466869e3872a68049541c3d5afe94ca4dde1e97ea13ac615adedba198946763b5ff5dcb4694a9cec1946e35d1d6b6fd950d26b23cd6ddd94181f4b83 DIST nextcloud-client-3.5.4.tar.gz 15436558 BLAKE2B e95aac753e4fcc70093ba497022572d4ee2988ed943e09247a0ddec3b039d658e3f1f498c24f5b5a92c15bd50b14c7e5c71f420c35e8de4894c2f65d06563766 SHA512 7b8afe19acad7f7ca96184b0f925e0eb324605a11bc468ef5662e5a879cada16483b9185e12336471ca2a9debf2e00671d8245bdbae2f7be01af756b57225bae +DIST nextcloud-client-3.6.0.tar.gz 15763538 BLAKE2B b37392f05b1c3d80a9e36fee21a755d2eaa91906a8cefe8c2096bd0be306a6a38d8660449235db67c774707b9722b1ceac6f177f6482cb5e662cfbc6ed22f750 SHA512 efaca6669b2da039b20026cbdc9cf4d3f1023b3c33e03c0ef6f2d0e1f1c20fd65fab80155356ec27562f93e450915a32bc2af96c4ac3b47355ec738bcd71ff61 EBUILD nextcloud-client-3.5.2.ebuild 2325 BLAKE2B 210232aa19801f2eba06f956ebf725eaa7eef552167b6a4253354362f29f763d1633740683d7b05bc2fef46ed803688a77b896a7198c81724bdc23ea01132de7 SHA512 250fa76d1da6da6ba842c3e448747c8682bcc533ccb3063d659527900cbdd1d81ff184ee1e007c84cac6241a20d8e8e2ca84b4224cb4b0be02d79e1f25d7a6ea -EBUILD nextcloud-client-3.5.4.ebuild 2327 BLAKE2B fa7770b9c8249bbfff50766d4b83f8b39288844ff5ee174412334d834705f5c20e3dcbc47d79ddef4b25ad1394ed067ac299aa9c604c9300cf165e752566b213 SHA512 fea8427b376b4701248ceb960ca9e69aa0cb97b6406b97dfd62d58fb6ccd1eac6d3e14d92a167abd262ffedbe9acc3b3a7791cd9d4c6a0708ea11bb20312fec3 +EBUILD nextcloud-client-3.5.4.ebuild 2325 BLAKE2B 210232aa19801f2eba06f956ebf725eaa7eef552167b6a4253354362f29f763d1633740683d7b05bc2fef46ed803688a77b896a7198c81724bdc23ea01132de7 SHA512 250fa76d1da6da6ba842c3e448747c8682bcc533ccb3063d659527900cbdd1d81ff184ee1e007c84cac6241a20d8e8e2ca84b4224cb4b0be02d79e1f25d7a6ea +EBUILD nextcloud-client-3.6.0.ebuild 2327 BLAKE2B fa7770b9c8249bbfff50766d4b83f8b39288844ff5ee174412334d834705f5c20e3dcbc47d79ddef4b25ad1394ed067ac299aa9c604c9300cf165e752566b213 SHA512 fea8427b376b4701248ceb960ca9e69aa0cb97b6406b97dfd62d58fb6ccd1eac6d3e14d92a167abd262ffedbe9acc3b3a7791cd9d4c6a0708ea11bb20312fec3 MISC metadata.xml 712 BLAKE2B 423b16fa8879b0bc21d8ff1c692e5e592f571b5d69dcdd35fe79dae08b770c0d5beb2cbf71af2e7410d1dfd6917d15bac0482a84a40ce602ab03ab0f59940355 SHA512 2cfeff27549192c2aaa9c64369545e75b3a056c123d7647c96505dd410490230027401961e95ef88c93b0485393bd54aa11ddc922bcaf2782f9e68a2d8d17b32 diff --git a/net-misc/nextcloud-client/nextcloud-client-3.5.4.ebuild b/net-misc/nextcloud-client/nextcloud-client-3.5.4.ebuild index 5599ebda4bf3..d44483e6593b 100644 --- a/net-misc/nextcloud-client/nextcloud-client-3.5.4.ebuild +++ b/net-misc/nextcloud-client/nextcloud-client-3.5.4.ebuild @@ -12,7 +12,7 @@ S="${WORKDIR}/desktop-${PV/_/-}" LICENSE="CC-BY-3.0 GPL-2" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" +KEYWORDS="amd64 ~arm64 x86" IUSE="doc dolphin nautilus test webengine" RESTRICT="!test? ( test )" diff --git a/net-misc/nextcloud-client/nextcloud-client-3.6.0.ebuild b/net-misc/nextcloud-client/nextcloud-client-3.6.0.ebuild new file mode 100644 index 000000000000..5599ebda4bf3 --- /dev/null +++ b/net-misc/nextcloud-client/nextcloud-client-3.6.0.ebuild @@ -0,0 +1,105 @@ +# Copyright 1999-2022 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 )" + +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 + 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 ) +" + +src_prepare() { + # We do not package libcloudproviders + sed -e "s/pkg_check_modules.*cloudproviders/#&/" -i CMakeLists.txt || die + + # 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 +} |