From 55c0309132a1d8529cc20716b1761b8874ba20aa Mon Sep 17 00:00:00 2001 From: rsadowski Date: Mon, 1 Aug 2022 04:58:33 +0000 Subject: [PATCH] Update nextcloudclient to 3.5.3 Notable port change: - Shared libs in /usr/local/lib should follow the same name pattern (libNAME.so.VERSION). Drop empty prefix. Update diff from Adriano Barbosa (maintainer) --- net/nextcloudclient/Makefile | 7 ++++--- net/nextcloudclient/distinfo | 4 ++-- .../patch-src_libsync_vfs_suffix_CMakeLists_txt | 12 ++++++++++++ net/nextcloudclient/pkg/PLIST | 2 +- 4 files changed, 19 insertions(+), 6 deletions(-) create mode 100644 net/nextcloudclient/patches/patch-src_libsync_vfs_suffix_CMakeLists_txt diff --git a/net/nextcloudclient/Makefile b/net/nextcloudclient/Makefile index bf9845b62d1..904ddfcbc05 100644 --- a/net/nextcloudclient/Makefile +++ b/net/nextcloudclient/Makefile @@ -2,7 +2,7 @@ USE_WXNEEDED = Yes COMMENT = desktop sync client for Nextcloud -V = 3.5.2 +V = 3.5.3 DISTNAME = nextcloudclient-${V} GH_ACCOUNT = nextcloud @@ -13,8 +13,9 @@ CATEGORIES = net HOMEPAGE = https://nextcloud.com -SHARED_LIBS += nextcloudsync 4.0 # 3.5.2 -SHARED_LIBS += nextcloud_csync 2.1 # 3.5.1 +SHARED_LIBS += nextcloudsync 4.0 # 3.5.2 +SHARED_LIBS += nextcloud_csync 2.1 # 3.5.1 +SHARED_LIBS += nextcloudsync_vfs_suffix 0.0 # 3.5.3 MAINTAINER = Adriano Barbosa diff --git a/net/nextcloudclient/distinfo b/net/nextcloudclient/distinfo index 3446e655cf0..c1d2831a130 100644 --- a/net/nextcloudclient/distinfo +++ b/net/nextcloudclient/distinfo @@ -1,2 +1,2 @@ -SHA256 (nextcloudclient-3.5.2.tar.gz) = DEZzEOGhsyWTRGWExqXXqTG34to9FyHayLCsU8xJMIg= -SIZE (nextcloudclient-3.5.2.tar.gz) = 15433543 +SHA256 (nextcloudclient-3.5.3.tar.gz) = xYExDYFMxaB1t3iQESuml3TJ7W2MQrTRKWNUgtLO5X4= +SIZE (nextcloudclient-3.5.3.tar.gz) = 15436522 diff --git a/net/nextcloudclient/patches/patch-src_libsync_vfs_suffix_CMakeLists_txt b/net/nextcloudclient/patches/patch-src_libsync_vfs_suffix_CMakeLists_txt new file mode 100644 index 00000000000..690b3909845 --- /dev/null +++ b/net/nextcloudclient/patches/patch-src_libsync_vfs_suffix_CMakeLists_txt @@ -0,0 +1,12 @@ +Index: src/libsync/vfs/suffix/CMakeLists.txt +--- src/libsync/vfs/suffix/CMakeLists.txt.orig ++++ src/libsync/vfs/suffix/CMakeLists.txt +@@ -11,8 +11,6 @@ set_target_properties(nextcloudsync_vfs_suffix + ${BIN_OUTPUT_DIRECTORY} + RUNTIME_OUTPUT_DIRECTORY + ${BIN_OUTPUT_DIRECTORY} +- PREFIX +- "" + AUTOMOC + TRUE + LIBRARY_OUTPUT_NAME diff --git a/net/nextcloudclient/pkg/PLIST b/net/nextcloudclient/pkg/PLIST index 889e012b084..39c04357072 100644 --- a/net/nextcloudclient/pkg/PLIST +++ b/net/nextcloudclient/pkg/PLIST @@ -14,7 +14,7 @@ include/nextcloudsync/mirall/syncfileitem.h include/nextcloudsync/mirall/syncresult.h @lib lib/libnextcloud_csync.so.${LIBnextcloud_csync_VERSION} @lib lib/libnextcloudsync.so.${LIBnextcloudsync_VERSION} -@so lib/nextcloudsync_vfs_suffix.so +@lib lib/libnextcloudsync_vfs_suffix.so.${LIBnextcloudsync_vfs_suffix_VERSION} share/applications/com.nextcloud.desktopclient.nextcloud.desktop share/examples/Nextcloud/ @sample ${SYSCONFDIR}/Nextcloud/