aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Reifenberger <mr@FreeBSD.org>2024-10-26 21:08:14 +0000
committerMichael Reifenberger <mr@FreeBSD.org>2024-10-26 21:14:12 +0000
commit5a232f461b1598a8d0ed1554c0cfbbb7b283c801 (patch)
tree3b97bed64c1c1606f02783affcb60e53ab691dae
parentddbaebe2a89c1768a0ea27929971912d0b9ddd1b (diff)
deskutils/nextcloudclient: Update and add option
Update to 3.14.2 and add GUIADDONS option from PR PR: 281544
-rw-r--r--deskutils/nextcloudclient/Makefile14
-rw-r--r--deskutils/nextcloudclient/distinfo6
2 files changed, 14 insertions, 6 deletions
diff --git a/deskutils/nextcloudclient/Makefile b/deskutils/nextcloudclient/Makefile
index dcd74cb4a227..2beeb5e7d5ca 100644
--- a/deskutils/nextcloudclient/Makefile
+++ b/deskutils/nextcloudclient/Makefile
@@ -1,5 +1,5 @@
PORTNAME= nextcloudclient
-PORTVERSION= 3.14.1
+PORTVERSION= 3.14.2
DISTVERSIONPREFIX= v
CATEGORIES= deskutils
@@ -30,7 +30,7 @@ USE_GITHUB= yes
GH_ACCOUNT= nextcloud
GH_PROJECT= desktop
-OPTIONS_DEFINE= DOCS DEBUG GNOME KDE WEBENGINE
+OPTIONS_DEFINE= DOCS DEBUG GNOME GUIADDONS KDE WEBENGINE
OPTIONS_DEFAULT= GNOME
OPTIONS_DEFAULT_aarch64= WEBENGINE
OPTIONS_DEFAULT_amd64= WEBENGINE
@@ -38,6 +38,7 @@ OPTIONS_DEFAULT_i386= WEBENGINE
OPTIONS_SUB= yes
+GUIADDONS_DESC= Use KDE guiaddons (implies KDE)
KDE_DESC= KDE desktop environment support
WEBENGINE_DESC= Use Webengine to provide web login flow
@@ -51,10 +52,13 @@ DOCS_VARS= PORTDOCS=*
GNOME_CMAKE_BOOL= BUILD_SHELL_INTEGRATION_NAUTILUS
KDE_USES= xorg
-KDE_USE= KDE=completion,config,coreaddons,ecm:build,guiaddons,jobwidgets,kio,service,solid,widgetsaddons,windowsystem \
+KDE_USE= KDE=completion,config,coreaddons,ecm:build,jobwidgets,kio,service,solid,widgetsaddons,windowsystem \
XORG=x11
KDE_CMAKE_BOOL= BUILD_SHELL_INTEGRATION_DOLPHIN
+GUIADDONS_IMPLIES= KDE
+GUIADDONS_USE= KDE=guiaddons
+
WEBENGINE_USE= QT=location,webchannel,webengine
WEBENGINE_CMAKE_BOOL= BUILD_WITH_WEBENGINE
@@ -68,6 +72,10 @@ post-patch:
@${REINPLACE_CMD} -e \
's|.lst |.lst.sample |' ${WRKSRC}/CMakeLists.txt
+post-patch-GUIADDONS-off:
+ @${REINPLACE_CMD} -e '/^find_package.*KF6GuiAddons/d' \
+ ${WRKSRC}/src/gui/CMakeLists.txt
+
pre-configure:
@(cd ${WRKSRC} && ${CP} -f sync-exclude.lst sync-exclude.lst.sample)
diff --git a/deskutils/nextcloudclient/distinfo b/deskutils/nextcloudclient/distinfo
index 061b94cfcabe..c6431a712a9f 100644
--- a/deskutils/nextcloudclient/distinfo
+++ b/deskutils/nextcloudclient/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1727453525
-SHA256 (nextcloud-desktop-v3.14.1_GH0.tar.gz) = 83ddff511684c7b56a0a428c1a50630042a4c64d7b382d13b083509051cac8b9
-SIZE (nextcloud-desktop-v3.14.1_GH0.tar.gz) = 13956052
+TIMESTAMP = 1729694781
+SHA256 (nextcloud-desktop-v3.14.2_GH0.tar.gz) = 2b2209a47bc4011d7ddf50371138f4c7d8330079ab95d2859dd9b3df314520e4
+SIZE (nextcloud-desktop-v3.14.2_GH0.tar.gz) = 13957954