summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernard Cafarelli <voyageur@gentoo.org>2021-12-14 11:12:54 +0100
committerBernard Cafarelli <voyageur@gentoo.org>2021-12-14 11:38:13 +0100
commit4b965883472cf20c4fbe27d778fb28675f3d3c1e (patch)
tree2ca8bd06f881c6990c6deb3b548e90c1ddd1f751 /net-misc
parentnet-misc/nextcloud-client: drop some old versions (diff)
downloadgentoo-4b965883472cf20c4fbe27d778fb28675f3d3c1e.tar.gz
gentoo-4b965883472cf20c4fbe27d778fb28675f3d3c1e.tar.bz2
gentoo-4b965883472cf20c4fbe27d778fb28675f3d3c1e.zip
net-misc/nextcloud-client: fix libcloudproviders disabling
Closes: https://bugs.gentoo.org/828822 Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Bernard Cafarelli <voyageur@gentoo.org>
Diffstat (limited to 'net-misc')
-rw-r--r--net-misc/nextcloud-client/nextcloud-client-3.3.6.ebuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/net-misc/nextcloud-client/nextcloud-client-3.3.6.ebuild b/net-misc/nextcloud-client/nextcloud-client-3.3.6.ebuild
index 35dda8ac61e3..51014054846c 100644
--- a/net-misc/nextcloud-client/nextcloud-client-3.3.6.ebuild
+++ b/net-misc/nextcloud-client/nextcloud-client-3.3.6.ebuild
@@ -59,6 +59,9 @@ PATCHES=( "${FILESDIR}"/${PN}-3.3.4-inkscape_to_rsvg.patch )
S="${WORKDIR}/desktop-${PV/_/-}"
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
@@ -70,7 +73,6 @@ src_configure() {
-DSYSCONF_INSTALL_DIR="${EPREFIX}"/etc
-DCMAKE_INSTALL_DOCDIR=/usr/share/doc/${PF}
-DBUILD_UPDATER=OFF
- -DCMAKE_DISABLE_FIND_PACKAGE_Libcloudproviders=ON
$(cmake_use_find_package doc Sphinx)
$(cmake_use_find_package doc PdfLatex)
$(cmake_use_find_package webengine Qt5WebEngine)