00f7a5fd4b
Changelog v3.6.4: https://github.com/nextcloud/desktop/releases/v3.6.4 * [stable-3.6] do not create GUI from a random thread and show error on real error Changelog v3.6.3: https://github.com/nextcloud/desktop/releases/v3.6.3 * [stable-3.6] Fix typo of connector * [stable-3.6] fix renaming of folders with a deep hierarchy inside them * [stable-3.6] Make user status selector modal, show user header * [stable-3.6] Prevent bad encrypting of folder if E2EE has not been correctly set up * [stable-3.6] Feature/edit file locally restart sync * Add forcefoldersync method to folder manager * [stable-3.6] Make use of plain text-enforcing qml labels * [stable-3.6] Lock file when editing locally * [stable-3.6] Format some QLabels as plain text From Adriano (maintainer)
83 lines
2.3 KiB
Makefile
83 lines
2.3 KiB
Makefile
USE_WXNEEDED = Yes
|
|
|
|
COMMENT = desktop sync client for Nextcloud
|
|
|
|
V = 3.6.4
|
|
DISTNAME = nextcloudclient-${V}
|
|
|
|
GH_ACCOUNT = nextcloud
|
|
GH_PROJECT = desktop
|
|
GH_TAGNAME = v${V}
|
|
|
|
CATEGORIES = net
|
|
|
|
HOMEPAGE = https://nextcloud.com
|
|
|
|
SHARED_LIBS += nextcloudsync 8.0 # 3.6.4
|
|
SHARED_LIBS += nextcloud_csync 2.2 # 3.6.0
|
|
SHARED_LIBS += nextcloudsync_vfs_suffix 0.0 # 3.5.3
|
|
|
|
MAINTAINER = Adriano Barbosa <barbosa.aob@gmail.com>
|
|
|
|
# GPLv2+
|
|
PERMIT_PACKAGE = Yes
|
|
|
|
WANTLIB += ${COMPILER_LIBCXX} lib/inotify/inotify
|
|
WANTLIB += Qt5Concurrent Qt5Core Qt5DBus Qt5Gui Qt5Network Qt5Positioning
|
|
WANTLIB += Qt5PrintSupport Qt5Qml Qt5QmlModels Qt5Quick Qt5QuickControls2
|
|
WANTLIB += Qt5Svg Qt5WebChannel Qt5WebEngineCore Qt5WebEngineWidgets
|
|
WANTLIB += Qt5WebSockets Qt5Widgets Qt5Xml c crypto m qt5keychain
|
|
WANTLIB += sqlite3 ssl z
|
|
|
|
MODULES = devel/cmake \
|
|
x11/qt5
|
|
|
|
BUILD_DEPENDS = devel/gettext,-tools \
|
|
x11/gnome/libcloudproviders
|
|
|
|
# for converting svg icons to png
|
|
BUILD_DEPENDS += x11/gnome/librsvg
|
|
|
|
# for tests, but detected during configure
|
|
BUILD_DEPENDS += devel/cmocka
|
|
|
|
RUN_DEPENDS = devel/desktop-file-utils \
|
|
misc/shared-mime-info \
|
|
x11/gnome/libcloudproviders \
|
|
x11/gtk+3,-guic \
|
|
x11/qt5/qtgraphicaleffects \
|
|
x11/qt5/qtquickcontrols
|
|
|
|
LIB_DEPENDS = databases/sqlite3 \
|
|
devel/libinotify \
|
|
security/qtkeychain \
|
|
x11/qt5/qtsvg \
|
|
x11/qt5/qtquickcontrols2 \
|
|
x11/qt5/qtwebengine \
|
|
x11/qt5/qtwebsockets
|
|
|
|
CONFIGURE_ARGS = -DBUILD_SHELL_INTEGRATION_NAUTILUS=OFF \
|
|
-DBUILD_SHELL_INTEGRATION_DOLPHIN=OFF \
|
|
-DBUILD_SHELL_INTEGRATION=OFF \
|
|
-DUNIT_TESTING=ON \
|
|
-DWITH_CRASHREPORTER=OFF
|
|
|
|
# Disable Doxygen
|
|
CONFIGURE_ARGS += -DCMAKE_DISABLE_FIND_PACKAGE_Doxygen=ON
|
|
|
|
# Disable SharedMime
|
|
CONFIGURE_ARGS += -DCMAKE_DISABLE_FIND_PACKAGE_SharedMimeInfo=ON
|
|
|
|
# Do not install under /etc/Nextcloud
|
|
CONFIGURE_ARGS += -DSYSCONF_INSTALL_DIR=${SYSCONFDIR}
|
|
|
|
CFLAGS += -I${LOCALBASE}/include -I${LOCALBASE}/include/inotify -I${LOCALBASE}/include/qtkeychain
|
|
CXXFLAGS += -I${LOCALBASE}/include -I${LOCALBASE}/include/inotify -I${LOCALBASE}/include/qtkeychain
|
|
MODCMAKE_LDFLAGS = -L${LOCALBASE}/lib -L${LOCALBASE}/lib/inotify -linotify -Wl,-rpath=${LOCALBASE}/lib/inotify
|
|
|
|
post-install:
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/Nextcloud/
|
|
mv ${WRKINST}/etc/Nextcloud ${PREFIX}/share/examples/
|
|
|
|
.include <bsd.port.mk>
|